Skip to content

Instantly share code, notes, and snippets.

@adunning
Forked from schmurfy/gist:3199254
Last active January 7, 2020 16:06
Show Gist options
  • Save adunning/c670ab28c16f031f4777 to your computer and use it in GitHub Desktop.
Save adunning/c670ab28c16f031f4777 to your computer and use it in GitHub Desktop.
Install pandoc on Mac OS X 10.9
#!/bin/bash
# First install BasicTeX: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg
# Allows you to run tlmgr without sudo.
$ sudo chown -R `whoami` /usr/local/texlive
# Update everything.
$ tlmgr update --self --all
# Install extra packages used by the default pandoc template.
# Only ec and eurosym actually need to be added by default, but installing the full font collection makes life easier.
$ tlmgr install collection-fontsrecommended upquote ulem biblatex
# Install pandoc and citeproc via homebrew
$ brew install pandoc-citeproc
# Or install pandoc without citeproc
# $ brew install pandoc
# 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