In case you wonder how-to install Pandoc, the “universal document converter” on OS X Snow Leopard…
… the secret sauce: go for Haskell Platform installer instead of following your standard (assumption!) installation approach using MacPorts.
The steps:
- First install Haskell Platform.
cabal updatecabal install cabal-installcabal install pandoc- Update your ~/.profile file with
export PATH=/Users/[USERNAME]/.cabal/bin:$PATHand read in withsource ~/.profile.
What is Pandoc? Great you asked! ;)
Pandoc can read markdown and (subsets of) reStructuredText, HTML, and LaTeX, and it can write plain text, markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows. PDF output (via LaTeX) is also supported with the included markdown2pdf wrapper script.
– Source and more details: johnmacfarlane.net/pandoc














Comments