ANN: pandoc 3.2.1

14 views
Skip to first unread message

John MacFarlane

unread,
Jun 24, 2024, 5:36:38 PMJun 24
to 'John MacFarlane' via pandoc-announce
I'm pleased to announce the release of pandoc 3.2.1,
available in the usual places:

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

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

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

* Improve caption, table, and task list handling in docx reader.
* Major improvements in texinfo output.
* OpenXML templates may now be used to customize the contentsn of
docx output in ways that are not possible with --reference-doc.
For example, the order in which metadata and the table of contents
can be changed, and boilerplate text can be added. See the
default openxml template for a sample.
* --include-before-body and --include-after-body now work with
docx output. The included files must be OpenXML fragments
suitable to be included in the document body.
* HTML tables produced by pandoc no longer include 'header', 'even'
or 'odd' classes on tr elements. Compatibility warning:
those who relied on these classes to style tables may need to
adjust their CSS, using standard selectors like
'tbody tr:nth-child(2n)'.
* We use a new method to ensure that images don't overflow text
bounds in LaTeX output. The old approach was brittle and caused
problems with SVGs. The new approach uses a new macro,
\pandocunbounded, defined in the default LaTeX template.
Those who use custom templates will need to include this
definition in their templates. In addition, note that
if explicit dimensions are specified for images, these images
may now overflow the page.
* The Typst writer has additional support for fine-grained properties,
allowing the user to control whether a figure is produced for a table,
and what kind of figure is produced for a figure. See
doc/typst-property-output.md for details.
* With --embed-resources, SVGs are no longer inlined unless the image has
the class 'inline-svg'. By default data URIs are used.

API changes:

* Text.Pandoc.Writers.Shared exports toTaskListItem.

Thanks to all who contributed, and a special welcome to new contributors
Mickaël Canouil and Thomas Soeiro.

Reply all
Reply to author
Forward
0 new messages