Skip to content

Commit

Permalink
Add QUARTO_TEXLIVE_BINPATH to env var doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Nov 15, 2024
1 parent fa67525 commit b5c8797
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions docs/advanced/environment-vars.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,23 @@ quarto render

You can read about other ways to set environment variables in Quarto Projects in [Environment Variables](/docs/projects/environment.qmd).

+------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| Variable | Description |
+==============================+================================================================================================================================================+
| `QUARTO_R` | Explicit path to the version of `Rscript` to be used by the `knitr` engine and `quarto run *.R` command. |
+------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_PYTHON` | Explicit path to the version of `python` to be used by the `jupyter` engine and `quarto run *.py` command. |
+------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_VERSION_REQUIREMENT` | A [`semver`](https://semver.org/) string describing the Quarto version requested by the environment. If this check fails, Quarto will not run. |
+------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
| QUARTO_KNITR_RSCRIPT_ARGS | Comma separated list of command line argument to pass to `Rscript` started by Quarto when rendering with `knitr` engine, e.g. |
| | |
| | ``` |
| | QUARTO_KNITR_RSCRIPT_ARGS="--no-init-file,--max-connections=258" |
| | ``` |
+------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Variable | Description |
+==============================+==================================================================================================================================================================================================+
| `QUARTO_R` | Explicit path to the version of `Rscript` to be used by the `knitr` engine and `quarto run *.R` command. |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_PYTHON` | Explicit path to the version of `python` to be used by the `jupyter` engine and `quarto run *.py` command. |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_VERSION_REQUIREMENT` | A [`semver`](https://semver.org/) string describing the Quarto version requested by the environment. If this check fails, Quarto will not run. |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_KNITR_RSCRIPT_ARGS` | Comma separated list of command line argument to pass to `Rscript` started by Quarto when rendering with `knitr` engine, e.g. |
| | |
| | ``` |
| | QUARTO_KNITR_RSCRIPT_ARGS="--no-init-file,--max-connections=258" |
| | ``` |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| `QUARTO_TEXLIVE_BINPATH` | Explicit path to the TeX Live binaries to be passed to `tlmgr option sys_bin` used when setting `tlmgr` and related to `PATH` using `tlmgr add path` . By default, Quarto looks in known places. |
+------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

## Variables Quarto sets

Expand Down

0 comments on commit b5c8797

Please sign in to comment.