You can typeset the LaTeX/PDF version of ‘Harry Potter and the Methods of Rationality’ with TeX in Termux on your Android tablet or smartphone as a 1985 page long PDF document! That is a lot of reading. An audiobook is available. Listen along with
termux-tts-speak. If you are a beginner, or advanced user of LaTeX ‘Material for UK-TUG’s LaTeX for Beginners Course’ is available here.
Install TexLive with
packages install texlive or
apt install texlive.
tlmgr install scheme-full to install ~2500MB of typsetting goodies! You will find you can typeset from a simple one page letter to books hundreds of pages long with TeX in Termux on a smartphone or tablet in various languages and formats.
Create a symbolic link:
ln -s /data/data/com.termux/files/usr/opt/texlive/2016/bin/custom/xetex /data/data/com.termux/files/usr/opt/texlive/2016/bin/custom/xelatex
Copy the source code of this book to your device:
$ git clone https://github.com/sdrausty/hpmor
$ cd hpmor/
make to build this pdf:
There are missing programs from Texlive, issue #966 in Termux. More about TeXlive in Termux 😀 😊😋⛵ is here. Can you help with enabling these programs on your tablet or smartphone? Then please contribute.
When you press the
volumeDown+power buttons simultaneously on a smartphone, it takes a screenshot like this one of the source code for this page in vim running in Termux on Android.
This animation was created with imagemagick in Termux on an Android smartphone.
If you’re confused by this page try this link, or you might want to try this one. Post your what you have found at the wiki for this website and donate to let sdrausty.github.io grow.
Up One Level
Up Two Levels