pandoc 3.2 #9750
jgm
announced in
Announcements
pandoc 3.2
#9750
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm pleased to announce the release of pandoc 3.2,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.2
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.2
This release includes a number of bug fixes; inspect the changelog
for details. Some changes of particular note:
more sensible.
filename.
through specially marked attributes that can be added in filters.
API changes:
or eastAsianLineBreakFilter; these have been moved to Text.Pandoc.Transforms.
constructors for LogMessage. DocxParserWarning is now a WARNING, not INFO.
Thanks to all who contributed, and a special welcome to new contributors
Gordon Woodhall, James P. Ascher, Leo Heitmann Ruiz, guqicun, and mbracke.
Click to expand changelog
Change to
--file-scope
behavior (--file-scope is broken for epub #8741): previously a Div with an identifier derived from the filename would be added around the contents of each file. This caused problems for “chunking” files into chapters, e.g. in EPUB. We no longer add the surrounding Div. This cooperates better with chunking. Note, however, that if you have relied on the old behavior to link to the beginning of the contents of a file using its filename as identifier, that will no longer work.Markdown reader:
normalCite
so it doesn’t consume past a closing]
boundary (Exponential runtime for [link](url) #9710). This was causing an exponential performance bug on long lists of links containing potential emphasis characters.inlinesInBalancedBrackets
toinBalancedBrackets
, with a parameter for the inner parser.RST reader:
figclass
andalign
annotations for figures (rst figure options are applied to image only #7473, Gokul Rajiv).LaTeX writer:
polytonicgreek
instead ofpolutonikogreek
with babel (LaTeX writer sets wrong/outdated locale name for polytonic Greek #9698).polutonikogreek
is outdated. Also recognize both in the LaTeX reader.ul
,hl
,st
) are very fragile and the math must be handled specially.LaTeX reader:
\ifstrequal
clauses #9676).flalign
,flalign*
math environments (Latex math environment flalign not converted to markdown math #9679). We parse these as Math elements with analigned
environment. Semantically it’s not exactly the same, but better than falling back to raw LaTeX.LaTeX template: add
titlegraphicoptions
variable (LaTeX template: add titlegraphicoptions #9207, Guilhem Saurel).Docx reader:
RTF reader:
OpenDocument writer:
Typst writer:
doc/typst-property-output.md
) has been added that provides extensive documentation and examples of the use of this feature.Markdown writer:
raw_attribute
syntax for raw blocks, unless there is no other option (see Enable latex_macros for output writers #9677). Macros in araw_attribute
block don’t get interpreted when it is read again by pandoc’s markdown reader.ConTeXt writer:
\sc
with\setsmallcaps
(DOCX reader should handle table caption created in non-English Microsoft Word #9518, James P. Ascher).Docx writer:
reference.docx
:DefaultParagraphFont
instyles.xml
.New module Text.Pandoc.Transforms [API change] (Albert Krewinkel). This module exports the following functions which were formerly exported from Tetx.Pnadoc.Shared:
headerShift
,filterIpynbOutput
,eastAsianLineBreakFilter
, as well as some functions that were previously not exported.Text.Pandoc.Shared:
headerShift
,filterIpynbOutput
, andeastAsianLineBreakFilter
are no longer exported from this module; they are now exported from Text.Pandoc.Transforms (Albert Krewinkel).Text.Pandoc.Error:
Text.Pandoc.App:
--shift-heading-level-by
affects a heading added byreference-section-title
.Text.Pandoc.App.CommandLineOptions:
OptVersion
. Omit the information about versions of dependencies. We no longer emit version info at this level anyway;pandoc-cli
intercepts and handles--version
. This code would only be called if someone used the pandoc library functionhandleWithOptInfo
in their own program.Text.Pandoc.ImageSize:
ImageSize
datatype.Text.Pandoc.SelfContained:
--embed-resources
drops the classes of embedded image when embedding element has classes of their own #9652, Carlos Scheidegger).Text.Pandoc.Logging:
ScriptingInfo
constructor forLogMessage
[API change] (Albert Krewinkel).DocxParserWarning
a WARNING, not INFO. [API change].UnsupportedCodePage
constructor toLogMessage
[API change].UnclosedDiv
constructor forLogMessage
[API change].Lua subsystem (Albert Krewinkel:
pandoc.log
module.content
property on BulletList and OrderedList items. Unmarshalling of that field now matches the behavior of the constructor.symlink
function to Entry objects, allowing to check if an entry represents a symbolic link.pandoc.json.decode
docs.pandoc.types.Version
andpandoc.utils.type
.pandoc.image
The module provides basic querying functions for image properties.Use latest KaTeX CDN asset (Use latest KaTeX CDN asset #9707, Salim B).
pandoc-cli
: ensure UTF8 when emitting version info.tools/update-lua-module-docs.lua: improve script-internal docs, cleanup (Albert Krewinkel).
Allow network 3.2.
Use latest versions of texmath, djot, skylighting-core, skylighting.
Fix command test for
--embed-resources
drops the classes of embedded image when embedding element has classes of their own #9652.Fix some typos in code comments (chore: fix some typos #9638, guqicun).
Command tests: include regular PATH after directory with the test executable (ensures that DLLs will be found on Windows).
MANUAL.txt:
handout
variable for beamer (Documenthandout
variable #9742).--slide-level
(Document additional formats affected by--slide-level
#9745).toc-title
indocx
,pptx
(--toc-title no effect in docx #9645).custom-style
works with ODT (Ian Max Andolina).---
with no space.INSTALL.md: Minor tweaks (INSTALL.md: Minor tweaks. #9705, Leo Heitmann Ruiz).
This discussion was created from the release pandoc 3.2.
Beta Was this translation helpful? Give feedback.
All reactions