27 March 2014
pandoc and bibliographyNext post Previous post
Pandoc is a great file conversion tool, but the feature I’m most excited about is it’s simple method for dealing with citations.
Unfortunately, getting this feature to work isn’t easy 1. First, you need a newish version of pandoc.
Installing the newest version (v1.12.3) was a pain in the ass and there was no clear guide online. Posted this answer on AskUbuntu.
Due to my frustration and lack of a clear reference online, posted
sudo apt-get install cabal-install
Make sure that path to cabal is at start of PATH (tip from here)
Update cabal package database
Use cabal to install alex and happy
cabal install alex happy
Use cabal to install pandoc (and pandoc-citeproc if wanted)
cabal install pandoc pandoc-citeproc
Check pandoc version to confirm installed
PATH=$HOME/.cabal/bin:$PATH command to ~/.bashrc so
pandoc available on next restart.
At least, couldn’t get it to work on my Ubuntu 13.10 desktop, though I could get it to work on a Mac running an older version of Pandoc.↩
This work is licensed under a Creative Commons Attribution 4.0 International License.