pandoc 3.3 #10034
Replies: 1 comment
-
I'm pleased to announce the release of pandoc 3.3, Binary packages & changelog: Source & API documentation: Some changes of particular note (inspect changelog for the full list):
API changes:
Thanks to all who contributed, and a special welcome to new contributors |
Beta Was this translation helpful? Give feedback.
-
Click to expand changelog
New cli option:
--link-images
. This causes images to be linked rather than embedded in ODT.Allow
--number-sections
to take an optionaltrue|false
argument.RTF reader:
\*\shppict
without dropping image (Pandoc file conversion RTF to PDF #10025).TWiki Reader:
Typst reader:
$1.$
.Docx writer:
BibTeX writer:
literal
author not written correctly (bibtex) #9987).Man writer:
header
(Man writer: use default middle header when calling .TH when metadata does not include one #9943). This change causes pandoc to omit the middle header parameter whenheader
is not set, rather than emitting""
. The parameter is optional and man will use a default based on the section if it is not specified.HTML templates: don’t load polyfill (Consider removing polyfill because MathJax should no longer need it #9918). This was added in a period when MathJaX required polyfill. MathJaX no longer recommends this and polyfill should no longer be necessary on any reasonably modern browser.
Translations:
ua.yaml
(Jens Oehlschlägel).tools/update-translations.py
) and Makefile target (update-translations
) to update translation data automatically from babel and polyglossia upstream (Stephen Huan).Fix some mistakes with Japanese language code (
--metadata lang=ja-JP
has been expected to work for docx output as same as other East-Asian languages such aszh-CN
#9938). In several places we were mistakenly assuming that the BCP 47 code for Japanese language wasjp
. It isja
.Text.Pandoc.Options:
writerLinkImages
[API change] (Option to Link Images Rather Than Embed Them For ODT #9815).Text.Pandoc.App.Opt:
optLinkImages
[API change] (Option to Link Images Rather Than Embed Them For ODT #9815).Lua subsystem:
Keep
lpeg
andre
as “loaded” modules (Albert Krewinkel). The moduleslpeg
andre
are now treated as if they had been loaded withrequire
. Previously the modules were only assigned to global values, but could be loaded again viarequire
, thereby allowing to use a system-wide installation. However, this proved to be confusing.The old behavior can be restored by adding the following lines to the top of Lua scripts, or to the
init.lua
in the data dir.pandoc-cli
: Include pandoc copyright in Lua version info (Albert Krewinkel).pandoc-cli
: Refer printing of version info to the Lua interpreter (Albert Krewinkel). The Lua interpreter no longer terminates when called with-v
or--version
arguments, thus improving compatibility with the defaultlua
interpreter program.Avoid partial functions in JATS reader, DocBook writer, Haddock reader.
Allow tls 2.1.x.
MANUAL.txt:
+citations
should be enabled in GFM and better documented #9060).lua-filters.md: Partially autogenerate docs for module
pandoc
(Albert Krewinkel). The documentation system isn’t powerful enough to generate the full documentation automatically.This discussion was created from the release pandoc 3.3.
Beta Was this translation helpful? Give feedback.
All reactions