Skip to content

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Dec 12, 2024

This is useful for a filter to call tlmgr or other tools while they are not put on PATH by quarto install tinytex

Idea coming from this discussion:

We are exposing the bin dir and not the tool path like Rscript because Quarto is not looking to a path like rBinaryPath() - we are building the path only for tinytex installed version, and otherwise we call Deno.run and rely on tool being on PATH. Also the tool used depends on the configuration.

But bin dir is enough here to be useful

This is useful for a filter to call `tlmgr` or other tools while they are not put on PATH by `quarto install tinytex`
@cscheid
Copy link
Collaborator

cscheid commented Dec 12, 2024

Can you add the function declaration to src/resources/lua-types/quarto/paths.lua as well?

@cderv cderv merged commit f366f92 into main Dec 13, 2024
47 checks passed
@cderv cderv deleted the lua/expose-tinytex-path branch December 13, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants