pandoc 3.10.1 #11771
jgm
announced in
Announcements
pandoc 3.10.1
#11771
Replies: 1 comment
|
Unofficial Linux/RISC-V (64-bit, |
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.
Click to expand changelog
New output format
t2t(Txt2Tags markup, https://txt2tags.org)) (luginf).New module Text.Pandoc.Writers.Txt2Tags, exporting
writeTxt2Tags(loginf) [API change]. Also exported from Text.Pandoc.Writers.Change adding of
.yamlextension in--defaultsoption (--defaults filepath handling breaks bash/zsh process substitution #11717). Previously it was always added if the specified filename lacked an extension. Now it is only added if there is no file with the original name. This facilitates using--defaultswith bash/zsh<(..)or=(..).RST reader:
Markdown reader:
ODT reader:
RTF reader:
\pn/\pntextparagraph numbering (Having issue with RTF bulleted and numbered list conversion #11686).Docx reader:
abstractNumId, fixing numbering for restarted lists (Restart numbering in Word numbered list isn't correctly processed #8367).LaTeX reader:
\hypertargetwith one braced parameter (Latex command \hypertarget{} not preserved in conversion even with raw_tex enabled #7418).DokuWiki reader:
Typst reader:
auto_identifiersextension (Supportauto_identifiersextension for Typst #11041). The extension is available for the typst reader but is off by default; enable it with-f typst+auto_identifiers. The relatedgfm_auto_identifiersandascii_identifiersextensions are also made available.divider()for horizontal rule (typst: read and writedividerelement for horizontal rules #11540).HTML reader:
language-from all classes, not just first (HTML reader discards nested <code> attributes when <pre> has attributes #11701). Also combine classes from both code and pre class if they are nested.Powerpoint writer:
Texinfo writer:
infooutput) #11749).@uref(link) labels. #11758). Previously we dropped periods, commas, etc. This was a regression from 2024. All we really need to do is escape the comma.LaTeX writer:
floatclass is attached to a table, a standard floatingtablewill be generated instead of alongtable. Placement can be specified via thelatex-placementattribute. This will help, especially, those who use two-column layouts, sincelongtableis incompatible with these.Markdown writer:
Docx writer:
ODT writer:
text:anchor-type=as-charon theirdraw:frame, anchoring the frame as a character so it flows with the surrounding text. When both width and height are given and the width is a percentage, the width is now resolved against the reference document text area width, mirroring how the docx writer derives its print width from the reference docx section properties. The height follows the aspect ratio.RTF writer:
\ls/\ilvlreferences or the\listtable/\listoverridetablethat the RTF list model (and pandoc’s own reader) expect, so lists could not round-trip.Typst writer:
langintopickTypstAttributes(Typst writer: propagatelangattribute on Span elements #11673). This ensures thatlangattributes will be set for both Divs and Spans.#blockfor the definition; this allows it to remain on the same line as the term.divider()as horizontal rule (typst: read and writedividerelement for horizontal rules #11540).LaTeX template:
captionpackage is included and a default spacing set between the caption and the table.Typst template:
horizontalRuledefinition from default template.dividerfor typst < 0.15.HTML template:
epub.css:
nav#tocand we have rules for that.Text.Pandoc.Shared:
makeSections(Allow to set--section-divs=falsefor EPUB #11745). Previously it would sometimes create doubled section divs. By leaving the inner heading’s id on the heading itself, and then consolidating the inner and outer section divs, we can avoid this undesirable result.taskListItemToAscii: handle empty task list case.taskListItemFromAscii: handle empty task list case (Clarify "native numbering" on man page #11599, Chirag Dhamange).Text.Pandoc.App.CommandLineOptions:
optCSLandoptBibliographyfrom Opt (defaults-file csl cannot be overridden by later --csl or --metadata-file #11741). Previously we setoptMetadatadirectly, but that had some unintended effects, especially in interacting with defaults files. With this change, a--cslon the command line can override one set in a prior defaults file.Text.Pandoc.App:
auto_identifierswhen a table of contents is requested (Supportauto_identifiersextension for Typst #11041). Table-of-contents entries link to heading identifiers, so when--toc/--table-of-contentsis given, force theauto_identifiersextension on for the input format even when it is off by default (as it now is for typst). This makes typst-to-markdown--tocproduce working links.Text.Pandoc.Writers.Shared:
htmlAttrs- don’t adddata-prefix formarkdown(Markdown inside HTML blocks is broken #11685). This is necessary for themarkdown_attributeextension to work properly.Ensure that IO error messages go to stderr (Some warnings got to STDOUT #11710).
Use emojis 0.1.5, texmath 0.13.2,typst 0.11, typst-symbols 0.3, pandoc-types 1.23.1.2, djot 0.1.4.1, commonmark-extensions 0.2.7.1, skylighting-format-blaze-html 0.1.2.1.
Add Makefile rule to update all-cabal-hashes in flake.lock.
MANUAL.txt:
wkhtmltopdf. This incorporates the suggestions made in Security notes update #11262 and also benefits from a report by Kai Aizen.native_numberingextension (Clarify "native numbering" on man page #11599).Fix typo in lua-filters.md (Typo: remove duplicate 'using' #11724, Enrico Spinielli).
Revamp
flake.nixto usehaskell.nix(Revamp flake.nix to use haskell-flake (nix build / nix run) #11707). This allows the project to be built usingnix buildand run usingnix run. @srid deserves credit for most of this. stack.yaml is used as a source of truth for the versions to use, including for git repositories.Change symlink to regular file for COPYING.md in pandoc-cli, pandoc-lua-engine, pandoc-server.
This discussion was created from the release pandoc 3.10.1.
All reactions