Skip to content

Instantly share code, notes, and snippets.

@schmurfy
Created July 29, 2012 14:33
Show Gist options
  • Star 75 You must be signed in to star a gist
  • Fork 19 You must be signed in to fork a gist
  • Save schmurfy/3199254 to your computer and use it in GitHub Desktop.
Save schmurfy/3199254 to your computer and use it in GitHub Desktop.
Install pandoc Mac OS X 10.8
# Install MacTex: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg
$ sudo chown -R `whoami` /usr/local/texlive
$ tlmgr update --self
$ tlmgr install ucs
$ tlmgr install etoolbox
# Install pandoc view homebrew
$ brew install haskell-platform
$ cabal install pandoc
# add to your path "~/.cabal/bin"
# Now to convert a document
$ pandoc doc.pandoc doc.pdf
@dresselm
Copy link

dresselm commented Jun 6, 2013

Worked well. Thanks.

@repeatedly
Copy link

Good gist :)

@dansomething
Copy link

I had to run cabal update before running cabal install pandoc

@sensi
Copy link

sensi commented Sep 13, 2013

+1, yes me to. Had also to run cabal update before.

@rodrigore
Copy link

hahaha me too.

Thanks for the gist :D

@clonn
Copy link

clonn commented Jan 27, 2014

before cabal install pandoc, should run "cabal update" first. Thanks for your gist

@csouls
Copy link

csouls commented Apr 30, 2014

Worked well on Mac OS X 10.9.2. Thanks for the gist :)

@bdangit
Copy link

bdangit commented May 7, 2014

Had an issue install brew install haskell-platform

Needed to run brew install ghc --build-from-source --cc=gcc-4.8 before installing haskell-platform.

Refer to Homebrew/legacy-homebrew#22847.

@adunning
Copy link

adunning commented May 8, 2014

Homebrew now has pandoc and pandoc-citeproc formulae, which makes the whole thing much less complicated.

@kenorb
Copy link

kenorb commented May 8, 2014

Try:

brew update
brew install pandoc

@billwing
Copy link

I had an issue as follows.And I should do for that?

BilltekiMacBook-Air:~ bill$ tlmgr install etoolbox
TeX Live 2013 is frozen forever and will no
longer be updated.  This happens in preparation for a new release.

If you're interested in helping to pretest the new release (when
pretests are available), please read http://tug.org/texlive/pretest.html.
Otherwise, just wait, and the new release will be ready in due time.
tlmgr: package repository http://mirrors.hustunique.com/CTAN/systems/texlive/tlnet

@benbonnet
Copy link

brew install pandoc
worked when brew update

@Enrico68
Copy link

What's the need to install haskell ?? ...
Just do brew update and brew install pandoc.

@arvindraghavan
Copy link

I was starting from scratch (no LaTeX), so I had to do the following:

$ brew tap phinze/cask
$ brew install brew-cask
$ brew cask install mactex
  • In this version, pdflatex is broken, so I had to go to my Applications/TeX folder and run FixMaxTeX2013.pkg. Or see this stack exchange link
  • Now I'm ready to install pandoc as above
$ brew update
$ brew install pandoc

@rpietro
Copy link

rpietro commented Sep 8, 2014

@arvindraghavan, this is an awesome routine. just wanted to add that after I followed your steps texbin wasn't on my path, which I then fixed with:

ln -s /usr/local/texlive/2014/bin/x86_64-darwin /usr/bin/texbin

@jnkather
Copy link

This line not work anymore:

~$ brew install haskell-platform
Error: No available formula for haskell-platform
We no longer package haskell-platform. Consider installing ghc
and cabal-install instead:
brew install ghc cabal-install
A binary installer is available:
https://www.haskell.org/platform/mac.html

@yunqing83
Copy link

if you have installed port, simply type this
(works quickly on my OS X Yosemite)

$ sudo port install pandoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment