Skip to content

Instantly share code, notes, and snippets.

@jamesramsay
Forked from schmurfy/gist:3199254
Last active June 4, 2018 00:37
Show Gist options
  • Save jamesramsay/11199203 to your computer and use it in GitHub Desktop.
Save jamesramsay/11199203 to your computer and use it in GitHub Desktop.
Pandoc install for converting Pandoc to TeX to PDF
# Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg
$ sudo chown -R `whoami` /usr/local/texlive
$ tlmgr update --self
# Install tufte-latex and dependencies
$ tlmgr install tufte-latex
$ tlmgr install changepage
$ tlmgr install paralist
$ tlmgr install titlesec
$ tlmgr install ec
$ tlmgr install units
$ tlmgr install lipsum
$ tlmgr install palatino
$ tlmgr install mathpazo
$ tlmgr install fpl
$ tlmgr install ucs
$ tlmgr install etoolbox
# Install pandoc view homebrew
$ brew install haskell-platform
$ cabal update
$ cabal install pandoc pandoc-citeproc
# add to your path "~/.cabal/bin"
# Now to convert a document
$ pandoc doc.pandoc doc.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment