-
DescriptionIs there a way for a Lua filter to execute commands from Quarto's own tinytex distribution? The use case I have in mind is this: the Imagify filter converts LaTeX/TikZ elements into images when targeting non-PDF formats using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think there is a slight misunderstanding here. Additionally, all the logic to find available LaTeX distribution is done via TypeScript so you won't have access to that install LUA. |
Beta Was this translation helpful? Give feedback.
quarto.paths.tinytex_bin_dir()
is now exposed in Quarto Lua API to know where Quarto found TinyTeX if installed. Otherwise, it means that Quarto has found latex tools in PATH.See https://prerelease.quarto.org/docs/extensions/lua-api.html#paths