[Tex/LaTex] Installing Latex on Android

androidtexlive

I am trying to install latex on my Android device (no root). I didn't find an application to compile tex documents offline.
By following instructions from this website (https://williewong.wordpress.com/2017/06/30/texlive-on-android/) I installed termux from play store and installed texlive using the command;

pkg install texlive

Process was successful. But I don't know if I am able to compile my documents now. Please help me. What should I do to compile tex documents offline?

(I know that there are many questions on this l topic. But they are seriously outdated and solutions provided don't work for me. That is why I open this question)

Another link
https://wiki.termux.com/wiki/TeX_Live

Best Answer

I never thought I would be able to answer this question (Created by my self). It is simple to compile your LaTex documents offline with your Android phone/Tablet. I created two videos of what I did to work with LaTex on my Android device. You may check them

Part 1 https://youtu.be/kGz1MGwwcE0

Part 2 https://youtu.be/tMb_XcinN8U

This includes following steps

  • Install Termux from Google Play Store
  • Give Termux the permission to access your storage from settings
  • Run ’pkg install texlive-full’
  • Run ’pkg install ’texlive-tlmgr’
  • Create .tex file using editor like VerbTex (Download it from Play Store) if you don't have .tex file in your storage
  • Run ’pdflatex’
  • After double asterisks input your storage location
  • Once the pdf is created you can open it by ’termux-open file.tex --view’

If you are interested you can check these answers too

https://tex.stackexchange.com/a/522898/193507

https://tex.stackexchange.com/a/522823/193507