Skip to content

Add missing Pandoc 3.13 changes to the 1.12 changelog - #15356

Merged
cderv merged 2 commits into
mainfrom
chore/pandoc-3.13-changelog-followup
Nov 13, 2026
Merged

cderv merged 2 commits into
mainfrom
chore/pandoc-3.13-changelog-followup

Conversation

@cderv

@cderv cderv commented Nov 13, 2026

Copy link
Copy Markdown
Member

Description

Follow-up to #15351. Two Pandoc 3.13 changes that alter existing documents were missing from the update line under Dependencies in news/changelog-1.12.md, and the duplicated-key entry covered only bibliography files. Each was checked by rendering the same document with Quarto 1.11.9 (Pandoc 3.10) and a dev build on Pandoc 3.13:

Only Pandoc changes that close a Quarto issue, or that make a working document fail or change visibly without an error, are listed. Pandoc improvements that break nothing are left to Pandoc's release notes.

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR
AI-assisted PR
  • AI tool used: Claude Code
  • Codebase grounding: local clone, renders with Quarto 1.11.9 and a dev build
  • Human review: I have reviewed, tested, and verified the AI-generated content before submitting.

Note: autonomous AI agents submitting PRs without human oversight are not permitted — see the Code of Conduct.

The Pandoc 3.13 entry from #15351 missed four changes users will hit,
each checked by rendering the same document with Quarto 1.11.9
(Pandoc 3.10) and the dev build (Pandoc 3.13):

- Nested ordered lists must start at 1 (Pandoc 3.10.1): an indented
  `3. sub3` under `1. one` was an <ol start="3"> and is now a paragraph.
- A duplicated key in a YAML block after the front matter now fails the
  render; 1.11.9 printed a YAML warning and kept the last value. The
  existing bullet covered bibliography files only.
- pdf-engine: weasyprint now gets --presentational-hints
  (jgm/pandoc#11976), so `a.`/`i.` list markers survive in the PDF
  instead of printing as 1., 2.
- #14987: on Pandoc 3.10 `$[x]^T \in A$` became `^Tin` in the .typ and
  Typst compilation failed with "unknown variable: Tin"; texmath's fix
  in Pandoc 3.13 restores the space.
…uments

Decided 2026-11-13: a Pandoc change gets a sub-bullet under the update
line only if it closes a Quarto issue, or if a document that rendered on
1.11 now fails or changes visibly without an error in a pattern users
plausibly write. Pandoc improvements that break nothing stay in Pandoc's
own release notes.

The weasyprint marker entry is an improvement for a rarely used engine,
so it is dropped. The duplicate-key case for later YAML blocks is rare
and shares its outcome with the bibliography case, so the two are one
bullet.
@posit-snyk-bot

posit-snyk-bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv
cderv merged commit 8779794 into main Nov 13, 2026
9 of 49 checks passed
@cderv
cderv deleted the chore/pandoc-3.13-changelog-followup branch November 13, 2026 11:33
cderv added a commit to quarto-dev/quarto-web that referenced this pull request Nov 13, 2026
Pandoc 3.13 also errors on a duplicated key in a YAML metadata block
after the front matter, not only in a bibliography file. The quarto-cli
1.12 changelog covers both cases since quarto-dev/quarto-cli#15356.
cderv added a commit to quarto-dev/quarto-web that referenced this pull request Nov 13, 2026
* Drop tables from the Content with Caption layout description

Pandoc 3.13, bundled with Quarto 1.12, puts a non-two-column slide that
contains a table on the Title and Content layout, so text followed by a
table no longer selects Content with Caption as it did with Pandoc 3.10.
Text followed by an image still does. Two-column slides are unchanged:
a column with text followed by a table still selects Comparison.

* Document typst-label and lang on spans for Typst output

Quarto 1.12 bundles Pandoc 3.13, which reads two attributes in Typst
output that Pandoc 3.10, bundled with Quarto 1.11, ignored. A div with a
typst-label attribute gets that Typst label, replacing the label Pandoc
already derived from the div's identifier; the attribute was added in
Pandoc 3.10.2. A span with lang now renders as #text(lang: ...)[...],
where Pandoc 3.10 dropped the attribute; lang on a div already worked.

The labels section says that typst-label is for raw Typst code, and that
cross-references keep using Quarto identifiers: Quarto's crossref filters
write their own labels, and typst-label has no consistent effect on them
(no label on a figure, an extra label on a theorem).

* Add Pandoc 3.13 notes to the 1.12 pre-release highlights

Quarto 1.12 bundles Pandoc 3.13. The highlights list the changes that
can break an existing document under "When upgrading", following the
1.11 page: bibliography files with duplicate keys, particle sorting,
Word bookmark names and percent image widths, MathML in HTML without
Bootstrap, divs that wrap a heading, and Typst horizontal rules with the
Typst 0.15 requirement for QUARTO_TYPST. Smaller changes stay in the
changelog.

The LaTeX Equations section of the HTML page said MathJax is the
default. That is true for Bootstrap HTML only; minimal: true, theme: none
and theme: pandoc now render math as MathML, where Pandoc 3.10 left it
as plain text.

* Trim the Pandoc 3.13 notes in the 1.12 highlights

Earlier highlights mention a Pandoc update in one line and keep the
"When upgrading" list to changes users must act on. The list now keeps
the changes that stop a render or visibly change output: duplicate
bibliography keys, Word bookmark names, MathML in HTML without Bootstrap
and the Typst 0.15 requirement for QUARTO_TYPST. Particle sorting, Word
percent widths, Typst horizontal rules and divs wrapping a heading stay
in the changelog, which the download page shows in full.

* Add a rule for writing release highlights

The 1.12 draft listed every Pandoc 3.13 change and described the
div-around-heading change from the Pandoc release notes, missing the
finalizer quarto-cli added for it. Earlier releases keep highlights
short and leave details to the changelog shown on the download page.

* Mention later YAML metadata blocks in the duplicate-key highlight

Pandoc 3.13 also errors on a duplicated key in a YAML metadata block
after the front matter, not only in a bibliography file. The quarto-cli
1.12 changelog covers both cases since quarto-dev/quarto-cli#15356.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants