Hi, I'm Daniel Roy Greenfeld, and welcome to my blog. I write about Python, Django, and much more.

Setting up LaTeX on Mac OS X

Sunday, February 22, 2015 (permalink)

These are my notes for getting LaTeX running on Mac OS X with the components and fonts I want. Which is handy when you want to generate PDFs from Sphinx. At some point I want to replace this with a Docker container similar https://github.com/blang/latex-docker, albeit with the components in parts 3 and 4 below.

  1. Get mactex-basic.pkg from http://www.ctan.org/pkg/mactex-basic

  2. Click mactex-basic.pkg to install LaTeX.

  3. Update tlmgr:

    sudo tlmgr update --self
    
  1. Install the following tools via tlmgr:

    sudo tlmgr install titlesec
    sudo tlmgr install framed
    sudo tlmgr install threeparttable
    sudo tlmgr install wrapfig
    sudo tlmgr install multirow
    sudo tlmgr install enumitem
    sudo tlmgr install bbding
    sudo tlmgr install titling
    sudo tlmgr install tabu
    sudo tlmgr install mdframed
    sudo tlmgr install tcolorbox
    sudo tlmgr install textpos
    sudo tlmgr install import
    sudo tlmgr install varwidth
    sudo tlmgr install needspace
    sudo tlmgr install tocloft
    sudo tlmgr install ntheorem
    sudo tlmgr install environ
    sudo tlmgr install trimspaces
    
  2. Install fonts via tlmgr:

    sudo tlmgr install collection-fontsrecommended
    

note: Yes, I know I can install the basic LaTeX package using Homebrew, but sometimes I like doing things manually.

http://upload.wikimedia.org/wikipedia/commons/9/9c/Latex_example.png

Comments