ANN: pandoc 3.1.12

11 views
Skip to first unread message

John MacFarlane

unread,
Feb 15, 2024, 1:20:50 PMFeb 15
to 'John MacFarlane' via pandoc-announce
I'm pleased to announce the release of pandoc 3.1.12,
available in the usual places:

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

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

This release fixes a number of issues (especially in typst, EPUB, PDF,
and chunked HTML output) and adds some new features. It is recommended
that everyone upgrade.

Highlights of this release:

* Pandoc now supports djot as both an input and output format.
Djot is a light markup syntax (https://djot.net).

* --number-sections now uses the first digit for the number of
the top-level section, no matter what its level. So if the top-level
section of the document is level-2, numbers will be 1, 2, etc. rather than
0.1, 0.2, as in the past (#5071). For some backwards compatibility,
we revert to the old behavior when the --number-offset option is used.

* When `--section-divs` is used, or when output is EPUB or chunked HTML,
we no longer ensure that the sequence of heading levels is gapless.
So, an author who wants to leave a gap between level-2 and level-4
headings can do so, and this will be preserved.

* The empty_paragraphs extension now works with the LaTeX writer.

* Pandoc's EPUB now contain the accessibility metadata required by the
EU Accessibility Act.

* Pandoc's docx output now validates.

* The man writer now supports (limited) syntax highlighting (only
boldface, underline and italics make a difference).

* Font fallbacks are now support for LuaLaTeX and ConTeXt. This should
make it easier to support documents with unusual symbols and multilingual
documents.

API changes:

* New module Text.Pandoc.Readers.Djot [API change]. The function
readDjot is also exported by Text.Pandoc.Readers.

* New module Text.Pandoc.Writers.Djot [API change]. The function
writeDjot is also exported by Text.Pandoc.Writers.

* readMan is now exported from Text.Pandoc.Readers.

Thanks to everyone who contributed, particularly to Edwin Török for help with
docx validation and to new contributors George Stagg, Gokul Rajiv, Iacobus1983,
Lawrence Chonavel, Max Heller, Sam May, Tomas Dahlqvist, lawcho, and
mh4ckt3mh4ckt1c4s.

Reply all
Reply to author
Forward
0 new messages