Repository navigation
pandoc 3.14 #12074
jgm
announced in
Announcements
pandoc 3.14
#12074
Replies: 3 comments 1 reply
|
Hi Jon, thanks as always!
There is a small typo in the change log, shouldn't it be |
1 reply
|
Unofficial Linux/RISC-V (64-bit, |
0 replies
|
congrats on reaching version π! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm pleased to announce the release of pandoc 3.14,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.14
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.14
This release includes a lot of bug fixes and small improvements,
including improvements in dependencies, which you can read about
in the changelog. Here are the changes of special note:
Pandoc now searches a path given in an enviornment variable
PANDOC_DATA_DIRS when looking up data files (including
templates, filters, defaults files, metadata files, etc.).
The user data directory is still tried first. This change
will make it easier to create distributions of pandoc with
special customized data files.
The LaTeX writer now uses custom macros for footnotes in
tables and definition lists, fixing a bug with hyperlinks
in the notes in these contexts. Those who use custom templates
will need to import the definitions of these macros from
the default LaTeX template.
API change:
getDataDirsand
getPandocDataDirs.Thanks to all who contributed, especially new contributors
Alain Lesage, Asuka, Caio Vinícius, Jeremy Levartovsky,
Nacho García, tyler000000.
Click to expand changelog
Support
PANDOC_DATA_DIRSfor data file lookup (Support $XDG_DATA_DIRS or equivalent for templates and lua filters #7922). IfPANDOC_DATA_DIRSis set, the (absolute) directories it lists are searched, in order, for data files not found in the user data directory, before falling back to the default data files. This covers templates, filters, defaults files, metadata files, CSL styles, and other data files. IfPANDOC_USER_DATA_DIRSis set, print its value in--versionoutput.Reset sourcepos when parsing footnotes and grid table cells (rebase_relative_paths: a footnote or grid table ending a file is rebased against the next file #12001, extends fix for rebase_relative_paths extension: image reference inside final block object of file is incorrectly pathed to next input file of pandoc command #11888). Otherwise, when one of these ends a file, relative paths in it can be rebased against the next file on the command line.
LaTeX reader:
\pandocfootnotemark{n}and\pandocfootnotetext{n}{..}) as produced by the LaTeX writer for notes in tables, captions, etc.\pandocbounded,\pandocfootnotemark, and\pandocfootnotetext(e.g. from pandoc’s template), which the reader handles directly. Previously these definitions were expanded, producing garbage and losing content.rawLaTeXParser(Raw LaTeX spanningch9.mdandch10.mdcrashes: their names sort out of order #12072). The raw LaTeX parser didn’t work properly when crossing from one source file to another.Typst reader:
columns: autoin grid (grid nested inside figure give an error with pandoc #12061).HTML reader:
<ol>s within the HTML representation of footnotes #11852). Previously an<ol>inside the body of a note was treated as the list of notes, and its items were lost. Similarly, an<hr>inside a note was dropped.RST reader:
ODT reader:
stylesextension (Styles extension for ODT in pandoc reader #12060).Docx reader:
docxanddocx+stylesreaders processSource Codestyle differently #9183, Caio Vinícius). Without+styles, consecutive “Source Code” paragraphs are combined into a single code block bycombineBlocks. With+styles, each paragraph is first wrapped in aDivcarrying itscustom-styleattribute, so theCodeBlockcase no longer matched and every line became its ownDiv [CodeBlock].single(double, thick, dotted, wave, words, …) #11988, Patrick Creighton).w:numStyleLinkin abstract numberings (Docx Reader: List not converted in specific document #9222, Caio Vinícius).Pptx reader:
notesdiv at the end of the slide’s blocks, the form the pptx writer turns into speaker notes, so pptx -> Markdown -> pptx keeps them.chartDiv whosetypeattribute holds the chart type. The chart’s title becomes the table captions. The chart code is in Text.Pandoc.Readers.OOXML.Charts.hiddenclass on the header (Nacho García, pptx and xlsx readers: speaker notes, charts, hidden slides, numbers and dates #12023).Xlsx reader:
Docx writer:
EPUB writer:
idclash with added title header (EPUB writer: fix id clash with added title header. #12003, Alain Lesage).Ipynb writer:
Vimwiki reader:
LaTeX writer:
\footnotemark{}and\footnotetextwith manual adjustments to the footnote counter. But hyperref anchors each\footnotetextat the destination of the most recent\footnotemark, so when there were several such notes, all of the texts got the last mark’s anchor and the links for the other marks were broken. We now emit\pandocfootnotemark{n}and\pandocfootnotetext{n}{..}, wherenis a unique id. These macros, defined in the default template when thedeferred-notesvariable is set, save the footnote mark and hyperref anchor at the mark and restore them at the text. This removes the need for counter arithmetic, works when the footnote counter is reset by chapter, and handles notes nested inside deferred notes (whose texts are now emitted after the text containing their marks). Note: Users of custom LaTeX templates, or of LaTeX fragments produced without--standalone, will need to include the definitions of\pandocfootnotemarkand\pandocfootnotetextfrom the default template.repeat-captionclass, captions will be repeated on each page of a longtable.HTML styles template:
@printrules to end (HTML default styles:@media printresets for links, blockquotes and code are overridden by later rules #12064), so they aren’t overridden.Text.Pandoc.PDF:
Text.Pandoc.Class:
getDataDirsandgetPandocDataDirs. [API change]Text.Pandoc.Citeproc:
removeFinalPeriodnow acts across Link boundary.pandoc-lua-engine: raise lower bound for pandoc to 3.13 (pandoc-lua-engine-0.5.4.2 requires pandoc-3.13 - but doesn't tell #12066).
Depend on texmath 0.13.3.5, commonmark 0.3.2, commonmark-extensions 0.2.8, citeproc 0.14.2, typst 0.12.1, emojis 0.1.6, skylighting 0.15.0.1.
New bounds for crypton in pandoc-lua-engine and pandoc.
Makefile:
make check-cabal: exit with error status on outdated deps.check-cabal; addcheck-sdisttarget we can run separately.cabal.project: specify
+httpflag for all ghc versions.Minimize the test docx, odt, pptx files. This reduces the size of the test files (and release tarball) by 1.79 MB.
This discussion was created from the release pandoc 3.14.
All reactions