Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions news/changelog-1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## In this release

- ([#15143](https://github.com/quarto-dev/quarto-cli/issues/15143)): Fix PDF rendering with `pdf-standard` failing with `\DocumentMetadata not supported!` after updating to KOMA-Script 3.49.3, which provides the default document classes.

## In previous releases

- ([#14920](https://github.com/quarto-dev/quarto-cli/issues/14920)): Correct the Windows ARM diagnostic for x64 R crashes with stable native ARM64 R installation guidance, including reinstalling packages and configuring `QUARTO_R`.
Expand Down
8 changes: 8 additions & 0 deletions src/resources/formats/pdf/pandoc/template.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
$document-metadata.latex()$
$if(pdfstandard)$
$-- KOMA-Script 3.49.3 aborts on \DocumentMetadata unless \komascript_documentmetadata_test: exists;
$-- a no-op keeps the 3.49.2 behaviour (#15143). The guard keeps a definition made earlier.
\ExplSyntaxOn
\cs_if_exist:NF \komascript_documentmetadata_test:
{ \cs_new:Npn \komascript_documentmetadata_test: { } }
\ExplSyntaxOff
$endif$
% Options for packages loaded elsewhere
$passoptions.latex()$
%
Expand Down
Loading