% Installing pandoc Installing from Source ====================== This method will work on all architectures, but requires that you first install the GHC compiler and some build tools: [GNU `make`], `sed`, `bash`, and `perl`. These are standard on unix systems (including MacOS X). If you're using Windows, you can install [Cygwin]. [Cygwin]: http://www.cygwin.com/ [GNU `make`]: http://www.gnu.org/software/make/ Installing GHC -------------- To compile Pandoc, you'll need [GHC] version 6.6 or greater. If you don't have GHC already, you can get it from the [GHC Download] page. If you're running MacOS X, you can also install GHC using [MacPorts] or [Fink]. [GHC]: http://www.haskell.org/ghc/ [GHC Download]: http://www.haskell.org/ghc/download.html [MacPorts]: http://macports.org [Fink]: http://finkproject.org Getting the source ------------------ Download the source tarball from pandoc's [pandoc's google code site]. Extract the contents into a subdirectory: tar xvzf pandoc-0.xy.tar.gz [pandoc's google code site]: http://pandoc.googlecode.com Installing Pandoc ----------------- 1. Change to the directory containing the Pandoc distribution. 2. Compile: make If you get "Unknown modifier" errors, it is probably because `make` on your system is not [GNU `make`]. Try using `gmake` instead. 3. See if it worked (optional, but recommended): make test Note: if you see errors like the following, they're due to differences between different versions of the xhtml library, and can safely be disregarded: 2c2 <