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
4 changes: 4 additions & 0 deletions news/changelog-1.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ All changes included in 1.8:

- ([#12775](https://github.com/quarto-dev/quarto-cli/issues/12775)): Convert Quarto-native layouts (divs with `layout` syntax) to Beamer columns, equivalent to using the Pandoc-native syntax of div with `columns` and `column` classes.

### `pdf`

- ([#12732](https://github.com/quarto-dev/quarto-cli/issues/12732)): Correctly detect missing definition files in multiline babel error for search package to auto-install.

### `hugo-md`

- ([#12676](https://github.com/quarto-dev/quarto-cli/issues/12676)): Add support for rendering layout panels that are not floats.
Expand Down
2 changes: 1 addition & 1 deletion src/command/render/latexmk/parse-error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const packageMatchers = [
{ regex: /.* Loading '([^']+)' aborted!.*/g },
{ regex: /.*! LaTeX Error: File `([^']+)' not found.*/g },
{ regex: /.* file ['`]?([^' ]+)'? not found.*/g },
{ regex: /.*the language definition file ([^ ]+) .*/g },
{ regex: /.*the language definition file ([^\s]*).*/g },
{ regex: /.* \\(file ([^)]+)\\): cannot open .*/g },
{ regex: /.*file `([^']+)' .*is missing.*/g },
{ regex: /.*! CTeX fontset `([^']+)' is unavailable.*/g },
Expand Down
6 changes: 6 additions & 0 deletions tests/unit/latexmk/parse-error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ unitTest("Detect missing files with `findMissingFontsAndPackages`", async () =>
assertFound("! LaTeX Error: File `framed.sty' not found.", "framed.sty");
assertFound("/usr/local/bin/mktexpk: line 123: mf: command not found", "mf");
assertFound("or the language definition file ngerman.ldf was not found", "ngerman.ldf");
assertFound(`Package babel Error: Unknown option 'ngerman'. Either you misspelled it
(babel) or the language definition file ngerman.ldf
(babel) was not found.
(babel) There is a locale ini file for this language.
(babel) If it’s the main language, try adding \`provide=*'
(babel) to the babel package options.`, "ngerman.ldf")
assertFound("!pdfTeX error: pdflatex (file 8r.enc): cannot open encoding file for reading", "8r.enc");
assertFound("! CTeX fontset `fandol' is unavailable in current mode", "fandol");
assertFound('Package widetext error: Install the flushend package which is a part of sttools', "flushend.sty");
Expand Down
Loading