You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
output-file parameter follows file location, not project (_quarto.yml) location. #2375
But achieved output is the following, with TUTORIAL.md original location being used as reference, meaning it is created inside the quarto_files directory:
The only way to achieve the desired output is by setting example.qmd header such that output-file: ../TUTORIAL. I understand how this isn't necessarily wrong, but since I have set execute-dir: project, this seems inconsistent.
VERSIONS
Quarto: 1.1.149
OS: Ubuntu 20.04.3 LTS
Checklist
Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
Please format your issue so it is easier for us to read the bug report.
Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
Please document the operating system you're running. If on Linux, please provide the specific distribution.
It's not clear to me this is a bug: it makes sense (to me?) that paths should be relative to the location of the document they are written in. And, IIUC, when doing quarto render path/to/file.qmd the working directory of the resulting job is path/to, which is consistent with this.
Activity
[-]`output-file` paramter follows file location not project (`_quarto.yml`) location.[/-][+]`output-file` parameter follows file location not project (`_quarto.yml`) location.[/+][-]`output-file` parameter follows file location not project (`_quarto.yml`) location.[/-][+]`output-file` parameter follows file location, not project (`_quarto.yml`) location.[/+]petrelharp commentedon Apr 13, 2023
It's not clear to me this is a bug: it makes sense (to me?) that paths should be relative to the location of the document they are written in. And, IIUC, when doing
quarto render path/to/file.qmdthe working directory of the resulting job ispath/to, which is consistent with this.mcanouil commentedon Mar 29, 2025
Here a complete depiction: https://github.com/mcanouil/quarto-issues-experiments/tree/main/quarto-cli-2171#readme
Originally from: