pandoc 3.142026-11-12
pandoc3.14发布,包含大量bug修复与细节改进,完整清单见更新日志。重点有三:查找模板、过滤器、默认配置、元数据等数据文件时,新增环境变量PANDOCDATADIRS指定的搜索路径,仍优先读取用户数据目录,便于分发带定制数据文件的pandoc;LaTeX写入器对表格与定义列表中的脚注改用自定义宏,修复这两处脚注超链接
pandoc 3.132026-10-27
I'm pleased to announce the release of pandoc 3.13,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.13
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.13
This release fixes some regressions and makes many minor
improvements. See the changelog for full details.
Behavior changes:
- Locations of errors in default files are now reported.
- YAML is now parsed with the yamlet library, which implements
YAML 1.2. As a result, we'll get better error messages, and:
+ yes, no, on, off, y and n are strings, not booleans.
+ Duplicate keys in a mapping are an error. They were a warning.
+ .5, .inf and .nan are numbers.
The most likely way this change will bite you is if you use
no in a boolean field. This will be interpreted as a nonempty
value, which will be treated as truthy in a template.
API changes:
- Text.Pandoc.Sharde: export plainToPara and paraToPlain.
- Text.Pandoc.Writers.Shared: export new functions wrapColumns and
rendereWithTemplate.
- Text.Pandoc.Translations: readTranslations now takes the path
of the file as argument.
Thanks to all who contributed, especially new contributors
Andrzej Rybczak, Patrick Creighton, Wleeaf, and enieuwy.
<details>
<summary>Click to expand changelog</summary>
- Report the location of errors in defaults files (#8759, Andrzej Rybczak). An invalid value in a defaults file gave an error at the start of the file, with no indication of the field. The error now names the option and points at its value.
- Use yamlet for YAML parsing. Pandoc parsed YAML with the yaml package, which depends on the C library libyaml. It now uses yamlet, a pure Haskell YAML 1.2 parser. Values still go through the existing aeson instances. Note these behavior changes:
- yes, no, on, off, y and n are strings, not booleans, as in YAML 1.2.
- YAML errors now show the file, the line and the column, with the offending line. In metadata blocks the line is the line in the document.
- Duplicate keys in a mapping are an error. They were a warning.
- .5, .inf and .nan are numbers.
- Docx reader:
- Read w:fldSimple fields (#11944, Aslak Hellesøy).
- Keep grid columns that have no width (#11989, Patrick Creighton). w:w is optional on w:gridCol, but elemToTblGrid skipped the grid columns that had none. The table then had fewer columns than its rows had cells, and the extra cells were dropped. Every grid column is now kept. If any of them has no (readable) width, all columns get the default width.
- Fix namespaces in notes and comments (#11991, Patrick Creighton). The contents of footnotes, endnotes and comments were read with the namespace prefixes declared in word/document.xml rather than in their own parts.
- Records the indentation of each list level and track the open list levels; an unnumbered paragraph whose left indentation matches the text indentation of an open level is treated as a continuation of that level’s current item, rather than as a block quote (cf. #9197).
- Recover from fields with a missing instruction (#11943, enieuwy). This fixes a bug that could lead to content being omitted.
- Fix regression (from 3.11) in parsing column widths (#11969). The regression caused only the first column to get assigned its alignment; every other column received default alignment. In addition, in 3.11 alignment was taken from the header row if present; this changed behavior from earlier versions, which took it from the first body row. We revert to the earlier behavior, using the header row only if there are no body rows. It’s common for the header to have different alignment than the rest.
- Keep tracked paragraph marks inside notes (#11971, Aslak Hellesøy).
- RST reader:
- Allow inline markup and bare links after :, /, ', ", < (Wleeaf). Fixes a regression since 3.2.1; these characters could no longer precede an inline markup start-string or a bare URI or email address, although the reStructuredText spec allows them. Also implement the rule that a start-character between an opening character and its closing counterpart, as in () or "", does not trigger inline markup.
- RTF reader:
- Fix tokenization bug (#11981). We were consuming certain symbols after \uNNNN during tokenization. This led to an extra character being consumed as the “fallback,” so letters went missing after encoded unicode characters.
- LaTeX reader:
- Detect macro expansion loops across doMacros calls (#11088).
- ODT reader:
- Fix start numbers with text:continue-numbering (#9595).
- Markdown writer:
- Write wide tables as grid tables instead of falling back to HTML (#11945, Aslak Hellesøy).
- Don’t drop notes in notes.
- Fix regression with code block language (#11987). We try to identify which class is a language name and emit that as the gfm style info string. If none of the classes match a recognized language, before 3.10.1 we emitted the first class; fater 3.10.1, we emit nothing. This commit reverts to the pre-3.10.1 behavior.
- RST writer:
- Don’t drop notes in notes.
- Haddock writer:
- Don’t drop notes in notes.
- Docx writer:
- Fix multi-paragraph list items (#9197). Previously the docx writer gave the second and subsequent paragraphs of a list item numbering from a separate list with an invisible bullet. This looked right, but semantically these paragraphs were items of another list, which is what Word, screen readers, and pandoc’s own docx reader saw; the list was also split in three. The writer now gives these paragraphs no numbering, just an indentation that lines them up with the text of the list item (as Word’s “List Continue” styles do).
- LaTeX writer:
- Use braces around term containing = (#11954). This is needed for the new LaTeX list code, which is triggered by using pdfstandard.
- PowerPoint writer:
- Add clrMapOvr to notes slides (#11935, Gaurav Vijay Jadhav). This makes them importable by Keynote.
- Include lang in core document properties.
- DocBook, JATS, TEI writers:
- Apply writerIdentifierPrefix prefix consistently.
- Typst writer:
- Escape ... and -? ligatures (#11979).
- Use getLang to determine lang and region. Previously only the lang metadata field was consulted, so lang could not be set properly using a variable.
- Text.Pandoc.Translations:
- readTranslations now takes the path of the file, for error messages \[API change\].
- Text.Pandoc.Writers.Shared:
- Add wrapColumns, renderWithTemplate \[API change\]. These factor out code that was repeated in about 20 writers: computing the line length from writerWrapText/writerColumns, and rendering the body with or without the template.
- Text.Pandoc.Shared:
- Export plainToPara and paraToPlain. \[API change\]
- Text.Pandoc.PDF:
- Make --presentational-hints default for weasyprint. This is necessary to get list attributes (start, ordered list type, etc.) working properly (#11976).
- cabal.project:
- Use bundle C option for zlib by default. This allows pandoc to be built without first installing the C library zlib. Those who want to use the system zlib can still compile pandoc that way by overriding this setting in cabal.project.local, or just installing directly from Hackage.
- Default to +http on GHC \>= 9.14 (previously done only in CI), so local builds behave the same; -f-http still overrides it.
- Pass wasm link flags for pandoc-cli as ghc-options. cabal only passes ld-options along when it finds an ld program on the PATH. In an environment without one (e.g. nix shell with just the ghc-wasm-meta toolchain), the flags were silently dropped and linking pandoc.wasm failed with undefined setjmp and clock symbols. Use -optl- ghc-options instead, wh
pandoc 3.12.12026-10-08
pandoc3.12.1发布。新增fodt格式:ODT的扁平化表示,用单个XML文件代替zip包,可用选项与odt一致,API同步加入readFODT和writeFODT。
修复方面,--embed-resources因数据URI转义回归而失效(#11942),现已解决;--syntax-definition的关键词解析、Markdown中alert提示块的渲染错乱、ODT摘要渲染问题也一并修复。docx阅读器去除图注标签时会保留书签,指向图表的内部链接不再断;Word的双删除线此前被读成普通文本,现按删除线处理。commonmarkx在开启fancylists时任务列表失效的问题同样已修好。
行为变化需要注意:--citeproc不再从CSL JSON/YAML引用中拆分姓名小品词,family: de Gaulle会整体视为姓氏,可能影响部分参考文献处理。性能上,XML类写入器以及org、man、Textile、MediaWiki、docx阅读器都有明显提速。
pandoc 3.122026-09-29
pandoc3.12发布,这版主打性能,与3.10.2相比各格式转换耗时普遍下降,图片密集的文档受益更明显,ImageSize做了针对性优化。解析端也修了不少问题:Markdown读取器让alert关键词不再区分大小写,并修正源位置在块引用与列表项上的错乱;LaTeX读取器新增对LaTeX3(xparse)文档命令的支持,同时把分词与宏展开的开销降了下来;Typst读取器补上了highlight标记、显式#par段落等处理。命令行上,-t xml现在遵循--standalone,默认CSS也加入了暗色模式。API侧,ImageType新增Eq实例,Sources与Shared分别加入了takeWhileP、stringifyInlines等新函数,htmlAttrs签名追加了FromText约束。
pandoc 3.112026-08-29
Pandoc3.11发布。数学公式的输出方式整合为新的--math-method选项,统一替代原先的--mathml、--mathjax、--gladtex、--katex、--webtex五个参数(旧参数暂仍可用,但已标记弃用),默认值改为mathml,同时可显式指定plain样式;默认配置文件中html-math-method相应改名为math-method。另新增--completion={bash,zsh,fish},可一次生成三种shell的补全脚本。
格式支持方面,Markdown示例列表的计数器现在能用(1@)或(1@label)在章节开头重置;ODT与Docx对从右向左语言的处理更完善,文档级设置lang即可让整篇文档变为RTL,代码块则始终维持左向右。读写端还修了多处解析问题,如HTML中不含code的pre标签、Docx非表头行在前的表格、RTF嵌套表格等。
此外修复了3.8版本引入的语法高亮回归,以及模板抓取中可能以本地文件冒充远程内容的安全漏洞。API层面,HTMLMathMethod类型更名为MathMethod,WriterOptions的writerHTMLMathMethod字段随之改为writerMathMethod。
pandoc 3.10.22026-08-13
pandoc3.10.2发布,修复了若干bug,其中两处是上一版引入的回归:Typst输出中引号被错误转换,以及含\tag、\label或注释的公式解析失败,后者由新版texmath解决。另外修复了Markdown读取器对空元素hr的处理、LaTeX写入器为无编号表格输出空标题的问题,epub.css也加入了深色模式支持。
新功能只有一项:Div、Table、Figure或Header可设置typst-label属性,Typst写入器据此生成标签,并覆盖基于标识符的标签,版本号第三位递增正因这一行为变化。Typst模板同时把horizontalrule改名为horizontalRule以对齐polyfill。pandoc.wasm恢复了旧式异常处理,现在可以在wasmtime下运行。本次无API变更。
pandoc 3.10.12026-07-23
``
I'm pleased to announce the release of pandoc 3.10.1,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.10.1
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.10.1
This release contains many small improvements and bug fixes.
Some of the more notable ones are mentioned here (see the changelog
for details):
- t2t (Txt2Tags markup) is now an output format.
- It is now possible to use a defaults file without an
extension; pandoc will add the .yaml extension only if
no file exists with the name specified.
- The auto_identifiers extension may now be used with typst input.
(however, it is not enabled by default.)
- We now use '#divider()' (typst 0.15) for typst horizontal rules,
instead of defining our own horizontalRule function.
- It is now finally possible to force LaTeX to use a regular
floating table rather than a longtable, which is especially
important for two-column layouts (longtable does not
support them). One does this by adding the float class
to the table's attributes.
- starmath is now used instead of MathML for math in ODT.
This produces much better results and improves the editability
of equations.
- We now automatically enable auto_identifiers when a table of contents
is requested, since these require identifiers to link to.
- A new flake.nix allows use to use 'nix build' and 'nix run'
with pandoc.
API changes:
New module Text.Pandoc.Writers.Txt2Tags, exporting writeTxt2Tags,
also re-exported by Text.Pandoc.Writers.
Thanks to all who contributed, especially new contributors
Can H. Tartanoglu, Chirag Dhamange, Enrico Spinielli,
Robertas, Scott Talbert, Tobias Deiminger, luginf.
`
<details>
<summary>Click to expand changelog</summary>
- 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 .yaml extension in --defaults option (#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 --defaults with bash/zsh <(..) or =(..).
- RST reader:
- Fix nested placeholder resolution for inline elements (#11753, Tobias Deiminger). (Regression from pandoc 3.6.)
- Treat undefined substitution references as plain text (#11727). This mirrors rst2html behavior.
- Markdown reader:
- Ordered sublists must start with 1, er equivalent, e.g. i (#11735). This brings the markdown parser in line with commonmark, and avoids a lot of unintended list starts. Note that ordered lists that are not sublists may still start with numbers other than 1.
- ODT reader:
- Don’t create Emph just because of changed font (#11691).
- RTF reader:
- Support multi-paragraph list items.
- Support legacy \pn/\pntext paragraph numbering (#11686).
- Docx reader:
- Improve horizontal rule detection (#11689).
- Key list numbering off abstractNumId, fixing numbering for restarted lists (#8367).
- LaTeX reader:
- Handle \hypertarget with one braced parameter (#7418).
- DokuWiki reader:
- Skip non-cell content after table row (#11739).
- Typst reader:
- Support autoidentifiers extension (#11041). The extension is available for the typst reader but is off by default; enable it with -f typst+autoidentifiers. The related gfmautoidentifiers and ascii_identifiers extensions are also made available.
- Recognize divider() for horizontal rule (#11540).
- HTML reader:
- Fix unused variable warning in CI (#11704, Robertas).
- Strip language- from all classes, not just first (#11701). Also combine classes from both code and pre class if they are nested.
- Powerpoint writer:
- Keep tables and surrounding text on same slide (#11433, Chris Callison-Burch). Previously, when a slide contained bullet points before and after a table, content would be split across multiple slides or use a two-column layout that didn’t preserve the source order.
- Texinfo writer:
- Fix spacing bug around HorizontalRule (#11749).
- fix escaping in links (#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:
- Provide a way to use table instead of longtable (#1023). When the float class is attached to a table, a standard floating table will be generated instead of a longtable. Placement can be specified via the latex-placement attribute. This will help, especially, those who use two-column layouts, since longtable is incompatible with these.
- Fix footnotes in definition list headings (#8240).
- Markdown writer:
- Fix ordered list indentation bug (#11762).
- Improve identification of code language class by looking it up in the syntax map (#11701).
- In YAML metadata, put double quotes around strings that are numbers beginning with 0 or ending with 0 and having a decimal point (#11715). Otherwise they will read as YAML numbers and potentially be modified (e.g. 3.10 -\> 3.1).
- Docx writer:
- Use namespace URI instead of prefix in extractPageLayout (#11697, Robertas).
- ODT writer:
- Use starmath for math. This improves appearance and editability of equations. The main code changes are due to @jdpipe (#11470).
- Image anchoring, percent dimensions, text width resolution (#11746, Can H. Tartanoglu). Inline images now emit text:anchor-type=as-char on their draw: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:
- Emit real RTF lists with a list table. Lists were written as plain paragraphs with a literal marker and a hanging indent, carrying none of the \ls/\ilvl references or the \listtable/\listoverridetable that the RTF list model (and pandoc’s own reader) expect, so lists could not round-trip.
- Allow fontsize to be specified (#11750). The fontsize is specified in a variable or metadata field and passed through the renderer via a Reader monad.
- Typst writer:
- Fold lang into pickTypstAttributes (#11673). This ensures that lang attributes will be set for both Divs and Spans.
- Add support for tight terms in Typst writer (#11748, Amir Dekel). This just affects whether a blank line is emitted in the markup. Note that pandoc’s default template contains a show rule for terms that will make these blank lines irrelevant, but this change allows one to use tight lists with custom templates.
- Further tight term list improvements. For tight list items consisting of just one Plain block, we no longer create a #block for the definition; this allows it to remain on the same line as the term.
- Emit divider() as horizontal rule (#11540).
- LaTeX template:
- The caption package is included and a default spacing set between the caption and the table.
- Typst template:
- Remove custom show rule for terms. Instead, we use a set rule to set hanging-indent.
- Remove old horizontalRule definition from default template.
- Polyfill divider` for typst \< 0.15.
- Allow multiword keywords (#11730, Albert Krewinkel). Typst expects single words as keywords, so keywords consisting of multiple words must be quoted (and should not be wrapped).
- HTML template:
- Remove hard-coded font-size for print CSS. Print CSS now uses the inherited font-size.
- epub.css:
- Get rid of obsolete #TOC rules (#11747). We don’t gen
pandoc 3.102026-06-05
``
I'm pleased to announce the release of pandoc 3.10,
available in the usual places:
Binary packages & changelog:
https://github.com/jgm/pandoc/releases/tag/3.10
Source & API documentation:
http://hackage.haskell.org/package/pandoc-3.10
In addition to the usual basket of bug fixes and small improvements,
the following changes are worth mention:
- This release adds a --typst-input option, which allows passing
arbitrary sys.inputs parameters to the typst evaluator.
- groff is now the default pdf-engine for the ms format, replacing
pdfroff.
- The auto_identifiers extension (and related extensions) are
now available for the man reader.
- OpenDocument/ODT now uses predefined styles instead of emitting
automatic styles for every paragraph. This yields more idiomatic,
and more easily stylable, output, resolving a handful of longstanding
issues. If you use a custom reference.odt, it may need some updating.
API changes:
- Text.Pandoc.App.Opt: Opt has a new fieldi optTypstInputs.
- Text.Pandoc.Options: ReaderOptions has a new field readerTypstInputs.
Thanks to all who contributed, especially new contributors Dan Jacobson,
Johan Larsson, Keenan Brock, Meher Chaitanya, Sai Asish Y, and nibras shami.
`
<details>
<summary>Click to expand changelog</summary>
- Add --typst-input CLI option (#11588). This allows one to pass parameters to typst, which are available at sys.inputs, just as typst itself does with its --input option.
- Avoid trailing spaces in --help output (#11623).
- Make groff the default pdf-engine for ms output (#11558). Formerly it was pdfroff.
- Set default User-Agent request header to pandoc/VERSION. This can be overridden using the --request-header option.
- Markdown reader:
- Allow grid tables to be indented (#11671, Johan Larsson). Like the other table syntaxes (pipe, simple, and multiline tables) and block-level constructs generally, a grid table may now be indented by up to three spaces and still be recognized as a table. Previously the grid-table parser required the table to begin at the left margin, so an indented grid table was parsed as a paragraph.
- Fix calculation of column widths for default columns in grid tables (#11664). This fixes a bug which produced too-narrow columns in some cases.
- Don’t produce empty Raw element with --strip-comments (#11625).
- Fix quotes in inline notes (#11613, Andrew Dunning).
- Allow spaces inside attributes in super/sub (#11589).
- Simplify checkNotes, remove dead code
- Various small performance optimizations.
- HTML reader:
- Parse aside as a Div with class “aside” (instead of using raw HTML) (#11626).
- Add “header” class to Divs created from headers.
- Docx reader:
- Fix bug in bitmask checking (#8299). This led to some table rows being wrongly considered header rows.
- Improve treatment of tblHeader element (#8299). If tblHeader exists but has w:val="0", then don’t consider the element a header.
- With citations extension, prefer citation-key as the key for item data, if it is defined (#11581; cf. #10366, #11567). The id key used by Zotero is not exposed by their API and is generally not what is wanted when converting to biblatex.
- Don’t look to ext tags for image extent (#11580). This reverts a change from 7ff1b798c4e6681ef9050899442d80883116573a. The change was mistaken and could cause images to be parsed with the wrong sizes.
- Man reader:
- Support autoidentifiers, gfmautoidentifiers, and asciiidentifiers extensions (#8852, Meher Chaitanya). Section headings parsed from .SH and .SS macros now receive auto-generated id attributes when the extension is enabled (as it is by default). This enables --toc to produce working anchor links.
- Better handling of .TP macro (#11668). We parse these as DefinitionList items, but we previously sometimes stopped prematurely in including material in the definition. We should include everything until we hit a new indentation-changing macro.
- Roff reader:
- Handle \ line continuation in table cells (#11635).
- LaTeX reader:
- Evaluate theorem name when used rather than evaluating it when the \newtheorem command is encountered (#11608). It may include macros only defined later.
- Put identifier from label on table attributes rather than adding an enclosing Div (#11604).
- Typst reader:
- Fix issue parsing figure inside rotate or box (#11598).
- Implement “rotate” as pass-through (#11531). Information about the angle is encoded in an attribute of an enclosing span or div.
- RTF reader:
- Fix tables parsed as deeply nested tables (#11682).
- Docx writer:
- Fix display of paragraph with just inline math (#11674). Word displays a paragraph containing just one inline math element as if it were display math. We don’t want that, so we add a zero-width space to defeat this behavior.
- Fix FirstParagraph style lost after heading with footnote (#11573).
- Fix empty keywords in core document properties (#11666, Sai Asish Y).
- OpenDocument/ODT writer:
- Use predefined styles (#9316, #5086, #2747, #3426, #7336). Previously the OpenDocument writer emitted a fresh automatic style (L1..Ln, P1..Pn, T1..Tn) for nearly every list, list-item paragraph, block quote, preformatted block, and inline text style. This commit teaches the writer to reference the predefined styles that LibreOffice ships and that pandoc’s reference.odt now exports:
- Bullet lists use List201; ordered lists with default start and decimal format use Numbering201. Non-default ordered lists generate a single named override style (PandocNumberingN) memoised by (ListNumberStyle, ListNumberDelim); a non-default start value with the default format is expressed via text:start-value on the text:list element instead of a new style.
- List-item paragraphs use List20Bullet[Tight] and List20Number[Tight]. The Tight variants are pandoc-specific (zero top/bottom margin) and are injected into the user’s reference.odt if missing, just like the Skylighting token styles.
- Block quotes use the predefined Quotations paragraph style directly. Nested block quotes use a single automatic style that inherits from Quotations and only adds extra margin-left, so a list inside a block quote now inherits its container’s indent (#2747).
- Preformatted blocks use Preformatted20Text directly.
- Emphasis, Strong, Strikeout, Subscript, Superscript and Code spans use the predefined Emphasis, Strong20Emphasis, Strikeout, Subscript, Superscript and Source20Text text styles.
- paraStyle/paraStyleFromParent no longer emit a wrapper automatic style when its only attribute would be parent-style-name; the parent name is returned directly.
- EPUB writer:
- Support multiple EPUB versions for raw content (#11628, nibras shami). This change ensures that raw content marked epub2 will appear in (only) EPUBv2 output and content marked epub3 will appear in (only) EPUBv3 output.
- Typst writer:
- Add zero-width space before a Span label if otherwise the label doesn’t come after anything (#11568). (In this case typst will raise an error.)
- Add newline after #set text directive (#11583). This ensures that blocks such as lists are parsed correctly after a set text.
- LaTeX writer:
- Fix fr-CA babel language mapping (#11575, Christophe Dervieux). Map fr-CA to french instead of deprecated canadien. The babel-french package’s canadien.ldf is deprecated and broken: it never calls \ldf@finish, so \bbl@main@language is left undefined, causing babel to crash at \begin{document}. Since canadien was always just an unconditional alias for french, use french` directly.
- MediaWiki writer:
- Handle some technically malformed URLs (#11562).
- Fix escaping to avoid accide
pandoc 3.9.0.22026-03-19
pandoc 3.9.0.2发布,这是一个小修版本,专门修复3.9.0.1引入的Typst模板回归问题(#11538)。此前用Typst模板导出会受到该缺陷影响,升级后即可恢复正常。已在用3.9.0.1的用户建议尽快更新,其他用户若无Typst导出需求可不急于升级。二进制安装包与完整更新日志见GitHub Releases,源码及API文档发布在Hackage。
pandoc 3.9.0.12026-03-18
pandoc3.9.0.1发布,这是一个纯修复版本,没有重大新功能或API变更,但累积了一批细节改进。
读取方面,Docx读取器能识别文本框内的媒体,修复了Word在线版生成的/media这类绝对路径资源的处理,展开文本框时也不再丢掉框外内容;LaTeX支持\footnotemark与\footnotetext及supertabular环境;Typst读取器开始解析文献命令,会自动补上文献章节并把路径写入元数据,为后续使用--citeproc铺路;ODT、Textile、Markdown读取器也各有修补。
写入方面,Typst写入器处理data:URI图片时不再套一层带链接的SVG,直接生成bytes对象让Typst自行判断格式,同时修正了引号转义和硬换行的回车问题;EPUB3新增封面元数据,文件管理器也能显示缩略图了;ODT的内联源码样式改名为Source_Text以对齐LibreOffice,标题里代码字号过小的问题一并解决。
WASM界面在pandoc.wasm加载期间不再卡住整个应用,并修复了Unicode文件名的bug。