From 7fe9893e88e85c026cfb83126356be0e5ef9dbba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Mon, 8 Dec 2025 10:28:41 +0100 Subject: [PATCH 1/2] docs(lua-api): Add Typst path function to lua-api documentation Related to: - quarto-dev/quarto-cli#13762 --- docs/extensions/lua-api.qmd | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/extensions/lua-api.qmd b/docs/extensions/lua-api.qmd index e4f4a940c..77a7473be 100644 --- a/docs/extensions/lua-api.qmd +++ b/docs/extensions/lua-api.qmd @@ -257,6 +257,7 @@ Quarto exposes paths to utilities that are likely to be useful to Lua extension |------------------------------------|------------------------------------| | `quarto.paths.rscript()` | Returns the path to `Rscript` that Quarto uses in the `knitr` engine and R files for `quarto run` scripts | | `quarto.paths.tinytex_bin_dir()` | Returns the path to `TinyTeX` binaries directory (where `tlmgr`, `pdlatex` and others are). If Quarto did not install `TinyTeX` and does not found it, it will return `nil`. This means that PDF rendering by Quarto probably used tools found in PATH. | +| `quarto.paths.typst()` | Returns the path to Typst used by Quarto. | ### Shortcodes From 302a93d935b94f412bb8ae10b9323c1c43e7a28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Mon, 8 Dec 2025 10:30:17 +0100 Subject: [PATCH 2/2] refactor: use binary name --- docs/extensions/lua-api.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/lua-api.qmd b/docs/extensions/lua-api.qmd index 77a7473be..ca25710df 100644 --- a/docs/extensions/lua-api.qmd +++ b/docs/extensions/lua-api.qmd @@ -257,7 +257,7 @@ Quarto exposes paths to utilities that are likely to be useful to Lua extension |------------------------------------|------------------------------------| | `quarto.paths.rscript()` | Returns the path to `Rscript` that Quarto uses in the `knitr` engine and R files for `quarto run` scripts | | `quarto.paths.tinytex_bin_dir()` | Returns the path to `TinyTeX` binaries directory (where `tlmgr`, `pdlatex` and others are). If Quarto did not install `TinyTeX` and does not found it, it will return `nil`. This means that PDF rendering by Quarto probably used tools found in PATH. | -| `quarto.paths.typst()` | Returns the path to Typst used by Quarto. | +| `quarto.paths.typst()` | Returns the path to `typst` used by Quarto. | ### Shortcodes