[Haskell-cafe] ANN: pandoc

John MacFarlane jgm at berkeley.edu
Sat Sep 13 21:29:10 EDT 2008

I'm pleased to announce the release of pandoc version

Pandoc aspires to be the swiss army knife of text markup formats: it
can read markdown and (with some limitations) HTML, LaTeX, and
reStructuredText, and it can write markdown, reStructuredText, HTML,
DocBook XML, OpenDocument XML, ODT, RTF, groff man, MediaWiki markup,
GNU Texinfo, LaTeX, ConTeXt, and S5.  Pandoc's markdown syntax includes
extensions for LaTeX math, tables, definition lists, footnotes, and more.

HackageDB:        http://hackage.haskell.org/cgi-bin/hackage-scripts/package/pandoc
User's guide:     http://johnmacfarlane.net/pandoc/README.html
Examples:         http://johnmacfarlane.net/pandoc/examples.html
Interactive demo: http://johnmacfarlane.net/pandoc/trypandoc/
Haddock docs:     http://johnmacfarlane.net/pandoc/doc/pandoc/
Repository:       http://pandoc.googlecode.com/
Bug tracker:      http://code.google.com/p/pandoc/issues/list
Mailing list:     http://groups.google.com/group/pandoc-discuss

Some highlights of this release:

+ New GNU Texinfo writer (contributed by Peter Wang)
+ New OpenDocument XML writer (contributed by Andrea Rossato)
+ New ODT (OpenOffice document) writer
+ New MediaWiki markup writer
+ New delimited code block syntax
+ Handy generic functions for querying and transforming documents without
  lots of boilerplate (thanks to Andrea Rossato)
+ Cleaner build system:  pandoc can now be built as a regular Cabal package
+ New dependencies:  utf8-string and zip-archive
+ Code is -Wall clean
+ New Windows installer
+ Better support for math, including display math
+ Better HTML sanitizing for use in web applications
+ Many minor improvements and bug fixes (see changelog for details)

Pandoc can optionally be compiled with support for

+ syntax highlighting of delimited code blocks, using the
  highlighting-kate library (over 50 languages are supported)
  (specify -fhighlighting)
+ automatically generated citations and bibliography, using
  Andrea Rossato's hs-citeproc library (specify -fciteproc)

I am particularly excited about Rossato's experimental citation support.
It's basically a BibTeX-like system that one can use in any of pandoc's
output formats. So you can have automatically generated citations in a
blog post, a wiki page, or even a man page! It's not yet complete, but
it's far enough along for those with an adventurous spirit to use.

I am very grateful to everyone who contributed bug reports and code,
and especially to Andrea Rossato and Peter Wang for their major

More information about the Haskell-Cafe mailing list