Repository navigation
Commit 5b5c879
committed
latex/beamer: port Pandoc 3.13 caption setup, drop footnotehyper longtable hook
Pandoc's common.latex loads the caption package and sets
\captionsetup[table]{skip=6pt} under $if(tables)$ (since 3.10.1), and
removes the footnotehyper/footnote \makesavenoteenv{longtable} block
(3.12): the LaTeX writer now generates footnotes in longtable manually
like floating tables (jgm/pandoc#11857), which also resolves the
endfloat incompatibility that motivated Quarto's #14741 test.
Port both changes into the wired pdf and beamer tables.tex partials.
The beamer branch already loaded caption, and crossref's injected
\@ifpackageloaded guard makes the now-unconditional top-level load a
no-op when crossref runs first, so there is no option-clash risk.
Verified: pdf (scrartcl) and beamer docs with crossref tables compile;
smoke-all 14741/14741-knitr, caption-footnotes, issue-4748, 9593,
crossref tables/latex and render-latex-output tests pass.1 parent 0fc3275 commit 5b5c879
3 files changed
Lines changed: 5 additions & 7 deletions
File tree
- llm-docs
- src/resources/formats
- beamer/pandoc
- pdf/pandoc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
0 commit comments