[NTG-context] ConTeXt features in pandoc 3
albert+context at zeitkraut.de
Fri Jan 20 22:00:31 CET 2023
a new version of pandoc, the universal document converter, was
released two days ago; pandoc 3 comes with new ConTeXt-related
features on which we've spend a good bit of time:
- *Syntax highlighting*: Pandoc makes use of the syntax
definitions and styles created by the KDE project to highlight
source code. This already worked with HTML, LaTeX, and formats
like docx, and is now also supported for ConTeXt.
- *Inline code*: older versions of pandoc had some weird behavior
wrt inline code in ConTeXt, switching between `\type` and
`\mono`, which made it difficult to customize the output. This
has been fixed.
- *Tagging-focused output*: Calling pandoc with
`--to=context+tagging` creates markup that is geared towards the
creation of tagged PDFs. This can be combined with `-V pdfa=3a`
to produce accessible PDFs from various input sources.
- *Unlisted/unnumbered headings*: Headings with class "unnumbered"
are not numbered; those with class "unlisted" get omitted from
- *Figures*: We have improved support for figures considerably,
and now also support subfigures. This is currently most
noticeable when converting from HTML to ConTeXt.
Downloads and full changelog:
I'm grateful for any and all feedback, including tips on how to
improve pandoc further.
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
More information about the ntg-context