Basic TeX
Download and install Basic TeX package from here.
Set System Path
The package will be installed at /Library/TeX/texbin/
, so it
must be added to your PATH like so:
export PATH=$PATH:/Library/TeX/texbin
Run which latex
to ensure that the path has been set correctly.
Install Dependencies
You’re not ready yet. There are a few more packages that need to be installed in order to render the pdf from the tex file. Install them like so:
sudo tlmgr install wrapfig
sudo tlmgr install marvosym
sudo tlmgr install wasysym
You should now be able to export to pdf using C-c C-e l p
.