TaX is a TeX distribution for macOS, following the minimalism of the excellent TinyTex.
It focuses on a few main points:
-
TaX installs the texlive distribution currently in use by arXiv. This guaranties that if your
.tex
files compile with TaX, they should compile without problems on the arXiv servers. -
TaX never assumes you can type a password. It can thus be installed on guest sessions of computers you do not own.
-
Allow easy installation of extra packages with
texliveonfly
.
Open a (Rosetta) Terminal and run
curl -sL https://raw.githubusercontent.com/dlejay/tax/trunk/install-macos.sh | sh
This will install TaX in ~/Library/Application Support
.
If you are using zsh
as your default shell,
this can be done with:
echo '
# Add the Tiny arXiv TeX binaries to the PATH
export PATH=$PATH:$HOME/Library/"Application Support"/TaX/bin/x86_64-darwin' >> ${ZDOTDIR:-$HOME}/.zprofile
source ${ZDOTDIR:-$HOME}/.zprofile
If some packages are missing, you can either:
-
Use
texliveonfly
as follows:texliveonly proof-of-reimann-hypothesis.tex
and relax.
-
Or, if
texliveonfly
fails, usetlmgr
to search for the name of the missing package as in the example:tlmgr search --global --file putr8a.pfb
and install the missing package as in:
tlmgr install utopia
Simply remove the TaX folder
rm -rf ~/Library/"Application Support"/TaX
and clean your PATH
.