-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Installing the development version of pandoc
If you want to live dangerously, you can install the still-in-progress pandoc from github. You'll need git the Haskell Platform.
First, you'll need to install the new pandoc-types from the github repository:
git clone git://github.com/jgm/pandoc-types
cd pandoc-types
cabal update
cabal install --force
cd ..
Now install the development version of citeproc-hs:
git clone git://github.com/jgm/citeproc-hs
# Note, this is a copy of the darcs repo; if you have darcs you can instead:
# darcs get --lazy http://gorgias.mine.nu/repos/citeproc-hs
cd citeproc-hs
cabal install --force
cd ..
Finally, get the pandoc source:
git clone git://github.com/jgm/pandoc
cd pandoc
git submodule update --init
cabal install --enable-tests
Here is one route that successfully sets up an environment to develop pandoc on.
For all these commands, after several attempts, I ended up putting them into a script and saving the output, as several earlier attempts, with different combinations of version, gave errors.
-
Set up an Ubuntu 12.10 environment (you'll have problems if you go for 13.04)
-
Run the following commands:
sudo apt-get update sudo apt-get install git sudo apt-get install haskell-platform
The update command is needed. Without this, there are errors about incorrect versions. (I didn't record the messages)
-
Run the commands in the main section of this page.