Thursday, January 22, 2015

Install latex on Mac Part 2

Do not install latex using
sudo port install texlive-latex-extra
sudo port install texlive +full

Download MacTex.pkg and install it.

But download it from here: http://www.ctan.org/tex-archive/systems/mac/mactex/
Not here: http://www.tug.org/mactex/
Because it is fast for the first link.


After install it, the pdflatex is installed under /usr/texbin/pdflatex

While the port install the latex under /opt/local/bin/pdflatex
libararies /opt/local/share/texmf-texlive/

If we install both, just delete the pdflatex command from /opt/local/bin, then the system will use the pdflatex under /usr/textbin/