% Installing pandoc The following instructions are for installing pandoc from source. Binary packages are also available for Windows, MacOS X, Linux (Debian and derivatives), and FreeBSD. See the [pandoc home page] for more details. [pandoc home page]: http://sophos.berkeley.edu/macfarlane/pandoc/ # 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 You'll also need standard 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 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 <