### Bug description

I have organization-internal document classes that I'd like to use with Quarto. I can render to a `latex` output, and then build the PDF myself, but I'd ideally like to render `.qmd` files to PDFs all in one step.

Specifying a path to `documentclass` causes Quarto to search for the path on TeXLive if `latex-auto-install` is enabled. If `latex-auto-install` is disabled, then a corrupted PDF file is generated (the file cannot be opened). 

I have a global `TEXINPUTS` variable set, which works with `latexmk`, but Quarto does not seem to use that variable.

Is there any way to specify local LaTeX packages and classes?

dragonstyle
2022-10-04T03:10:31Z
jcarpi
bug
closed
Specifying Local TeX packages and classes
https://github.com/quarto-dev/quarto-cli/issues/2718