Can I control the output directory for intermediate files (e.g. produced with keep-tex: true)?
#13609
Replies: 2 comments
-
|
Short answer is no you can't. |
Beta Was this translation helpful? Give feedback.
-
Considering how quarto works there is a trick you can do
After render I get > fs::dir_tree("_output/")
_output/
├── index.pdf
└── index.texThis is not ideal though because you need to add that to all your file, and also use the same name as the input. You could also target both PDF and LaTeX file as output. Doing it this way: However Or you need to change the latex file name for example format:
pdf: default
latex:
output-file: submission.texThose are workaround and not ideal as they do render twice the document to a .tex file and not reusing the same intermediate (as they are considered two renders). After all I think the real problem is tracked in this old issue It was sum up this way by JJ at the time
We haven't yet work on that. Hope the tricks help you get unblock for now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I know it is possible to specify the output directory for rendered outputs in a quarto project with:
However, intermediate files from
keep-appear to be left in the execution directoryThese files are often required as part of submission requirements for variable conference and journals.
Is it possible to specify where these files go?
If not, is there an environment variable that lists these intermediate files that can be called in a post-render script to move these files?
I've read through #2171, but that appears to deal with rendered outputs only, not these intermediate files.
Beta Was this translation helpful? Give feedback.
All reactions