ANN: pandoc 3.5

9 views
Skip to first unread message

John G Macfarlane

unread,
Oct 5, 2024, 5:13:59 PMOct 5
to pandoc-...@googlegroups.com
I'm pleased to announce the release of pandoc 3.5,
available in the usual places:

Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.5

Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.5

Some changes of particular note (inspect changelog for the full list):

* The default LaTeX template has been refactored using partials. There
is now a separate template for beamer (previously, the same
conditional-ridden template was used for both). This should make
customizing the templates more straightforward. Note: old custom
templates should still work, but if you are relying on a
version of `default.latex` in `$DATADIR/templates` in creating
beamer files, you will need to create a symlink or duplicate in
the same directory called `default.beamer`.
* The new Beamer template supports a number of new variables,
allowing further customization.
* New command-line options `--list-of-figures/--lof` and
`--list-of-tables/--lot`, affecting docx, latex, context.
* Defaults files: interpolation of environment variables now
works for `to` and `from` fields of defaults files, which is
useful when these contain paths of custom readers and writers.
* In Lua filters, you can now use an 'at' method to access indices,
and you can construct a list using an iterator,
e.g., "pandoc.List(text:gmatch '%S+')".

API changes:

* Text.Pandoc.Class: export extractURIData.
* Text.Pandoc.Options: add writerListOfFigures and writerListOfTables fields
to WriterOptions.
* Text.Pandoc.App: add optListOfFigures and optListOfTables to Opt.

Thanks to all who contributed, and a special welcome to new contributors
Akash Patel, Martin Michlmayr, and Yehuda Katz.

Reply all
Reply to author
Forward
0 new messages