-
-
Save adunning/c670ab28c16f031f4777 to your computer and use it in GitHub Desktop.
Install pandoc on Mac OS X 10.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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