Replies: 4 comments 15 replies
-
Please use the discussion board for help request. Converting this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
FYI, you can set the output-file name in your frontmatter and it will lead to the expected result:
As I'm pretty sure the current behaviour from the CLI is the expected behaviour.
|
Beta Was this translation helpful? Give feedback.
-
Could you elaborate on the exact use case? For reference: and |
Beta Was this translation helpful? Give feedback.
-
I want to have "draft" versions of reports--which use the I had spent some time looking at #2171 previously, and I'm aware of the necessity of using child filepaths in That said, I reported this as a bug (like #2375) because it does not seem intuitive to me that changing the output file name results in the file ending up in a different directory. If it's expected behavior, am I misunderstanding what |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have:
Bug description
I am trying to put the Quarto render of a .qmd file into a folder underneath "output", preserving the same file structure. I can accomplish this using a project file. However, using the
-o
option to assign the result a different name results in the output file going to the wrong place.Steps to reproduce
This circumstance requires a few folders, so you can access it at https://github.com/reavesjo/temp. The
ref-commands.txt
file demonstrates what I have run to test this bug. This bug at very least appears for pdf and html output.Actual behavior
quarto render stuff/file.qmd --to pdf -o test.pdf
producestest.pdf
under./output/
.Expected behavior
quarto render stuff/file.qmd --to pdf -o test.pdf
would ideally producetest.pdf
under./output/stuff/
, as withquarto render stuff/file.qmd --to pdf
.Your environment
I am on Windows 11, using Git Bash as the terminal, though the same behavior is exhibited using R's
quarto
library.Quarto check output
Beta Was this translation helpful? Give feedback.
All reactions