Repository navigation
Commit 2c69df5
authored
docs: Pandoc 3.13 changes for Quarto 1.12 (#2355)
* 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.1 parent 1c59075 commit 2c69df5
5 files changed
Lines changed: 59 additions & 3 deletions
File tree
- .claude/rules
- docs
- output-formats
- prerelease/1.12
- presentations
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
235 | 267 | | |
236 | 268 | | |
237 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments