ANN: pandoc 1.8.2

62 views
Skip to first unread message

John MacFarlane

unread,
Jul 31, 2011, 2:07:26 AM7/31/11
to pandoc-...@googlegroups.com, pandoc-...@googlegroups.com
I'm pleased to announce the release of pandoc 1.8.2. Thanks to
everyone who participated by reporting bugs, suggesting improvements,
or sending patches.

GoogleCode: http://code.google.com/p/pandoc/downloads/list
HackageDB: http://hackage.haskell.org/package/pandoc-1.8.2
Release notes: http://johnmacfarlane.net/pandoc/releases.html

This is mostly a polish and bug-fix release, but there are a few
changes to notice:

* There is now a binary installer for OSX, so Mac users no longer
need to install the Haskell Platform to use pandoc.

* The default template naming scheme has changed: latex.template is
now default.latex, and so on. If you shadow the default templates
with files in your user data directory (~/.pandoc/templates on
*nix), you'll need to rename them.

* The HTML and LaTeX templates have been changed. If you use
customized versions of these, you'll want to update them.
To make it easier to keep up with changes in the default templates
in the future, I've put the templates in their own repository,
https://github.com/jgm/pandoc-templates. You can clone this
and merge in changes.

* Standalone HTML files now display the author and date after the
title (in addition to including them in meta tags). They can
be suppressed, if desired, using CSS. It is also now possible to
style the table of contents and add a header.

* If you specify a template on the command line using the --template
option, and pandoc does not find the template, it will now search for
it in your user data directory (~/.pandoc/templates on *nix).
And if you leave off an extension, it will supply one based on the
writer. So, for example, 'pandoc -t latex --template=report' will
use templates/report.latex in the user data directory, if it doesn't
find report.latex in the working directory.

* The LaTeX template no longer uses the ucs package by default, as
it is no longer maintained and interacts badly with some other packages.
This means that fewer non-ascii characters are supported; instead
of using ucs, it is better to switch to xelatex or lualatex.

* The --xetex option to pandoc has been deprecated. Pandoc now defaults
to producing a latex file that can be compiled by pdflatex, lualatex,
or xelatex.

* markdown2pdf can now use pdflatex (the default), lualatex (--luatex option),
or xelatex (--xetex option).

* If your LaTeX template uses the 'csquotes' package, pandoc will
detect this and use '\enquote' instead of literal quotation marks,
giving better support for localized quotation styles.

* The URL argument of --mathjax is now optional. If it is not provided,
pandoc will link directly to the MathJax CDN (as is now recommended).

John MacFarlane

unread,
Jul 31, 2011, 12:02:01 PM7/31/11
to pandoc-...@googlegroups.com, pandoc-...@googlegroups.com
**Important note for those who track the development version of pandoc**

From now on, after doing 'git pull', you'll need to do
'git submodule update --init' to bring in changes to
the templates.

Or you can automate this by creating a file post-merge in
.git/hooks/post-merge, with the following contents:

#!/bin/sh
git submodule update --init

Make it executable ('chmod +x .git/hooks/post-merge') and the
submodule update will be done automatically whenever you do
'git pull'.

John

+++ John MacFarlane [Jul 30 11 23:07 ]:

Reply all
Reply to author
Forward
0 new messages