Inside the Head of PyDanny

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

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
    
  4. 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
    
  5. 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.

image

Published: 2015-02-22 14:00

Tags: book LaTeX howto python


Subscribe!

If you read this far, you might want to follow me on twitter or github and subscribe via email below (I'll email you new articles when I publish them).

Email

Comments

Content Copyright © 2012-2018 Daniel Greenfeld. Proudly harnessed by Mountain, powered by Flask, and rendered by Frozen Flask, all of which take great advantage of Python.