Skip to content

Commit 930573f

Browse files
committed
Account for Pandoc 3.2.1 new method for ensuring images don’t overflow
There is now a `\pandocbounded` macro used
1 parent 7235121 commit 930573f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

dev-docs/feature-format-matrix/qmd-files/layout/fig-align/toplevel-id-caption.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ format:
1313
pptx:
1414
quality: -1
1515
keep-typ: true
16+
keep-tex: true
1617
_quarto:
1718
tests:
18-
latex:
19-
ensureFileRegexMatches:
19+
pdf:
20+
ensureLatexFileRegexMatches:
2021
-
21-
- '\\hfill\\includegraphics\{100.png\}'
22+
- '\\hfill\\pandocbounded\{\\includegraphics\[keepaspectratio\]\{100.png\}'
2223
- []
2324
typst:
2425
ensureTypstFileRegexMatches:

dev-docs/feature-format-matrix/qmd-files/layout/fig-align/toplevel-id-nocaption.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ format:
1313
pptx:
1414
quality: -1
1515
keep-typ: true
16+
keep-tex: true
1617
_quarto:
1718
tests:
18-
latex:
19-
ensureFileRegexMatches:
19+
pdf:
20+
ensureLatexFileRegexMatches:
2021
-
21-
- '\\hfill\\includegraphics\{100.png\}'
22+
- '\\hfill\\pandocbounded\{\\includegraphics\[keepaspectratio\]\{100.png\}'
2223
- []
2324
typst:
2425
ensureTypstFileRegexMatches:

0 commit comments

Comments
 (0)