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.
pandoc
on UbuntuDue to my frustration and lack of a clear reference online, posted
Install cabal
sudo apt-get install cabal-install
Make sure that path to cabal is at start of PATH (tip from here)
PATH=$HOME/.cabal/bin:$PATH
Update cabal package database
cabal update
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
pandoc --version
Add the 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.