Open matthew-brett opened 1 year ago
Thank you for the report.
I can reproduce, but it seems to be because it is a book.
Try to remove/rename _quarto.yml
and you'll see the command works as intended.
Thanks - yes - if I remove _quarto.yml
, the command works.
However, if I add even:
project:
title: "foo"
as _quarto.yml
- the problem returns.
Thanks, so the issue more general than books, it is when rendering multiple formats in a "project". @matthew-brett Could you rename the issue to make it clear it is within a "Quarto project"?
I get the same result rendering from RStudio. The yaml header in the qmd document will only render the first format in the list, regardless of the order.
format:
html: default
docx: default
pdf:
documentclass: article
papersize: letter
Does RStudio not have the render all
which was added few months ago?
Regarding Quarto CLI, when in a Quarto project (defined by the presence of _quarto.yml
):
quarto render --to all
Does RStudio not have the render all which was added few months ago?
I think it is still a feature request to have a Render All button for document : https://github.com/rstudio/rstudio/issues/13332
Maybe, as in the RStudio feature request, the "render" button in. SCode should not be called "render" as it actually "renders and preview" and uses quarto preview
command.
@mcanouil Should be an issue for https://github.com/quarto-dev/quarto if you want to discuss this.
Just some notes as there was another report in https://github.com/quarto-dev/quarto-cli/discussions/8394#discussioncomment-8224825 and I was to open a new issue.
quarto render index.qmd --to html,pdf
pandoc pdf
to: html
output-file: index.html
standalone: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
metadata document-css: false link-citations: true date-format: long lang: en title: test
pandoc: pdf: withBinaryFile: does not exist (No such file or directory)
* Quarto 1.4 is working for single document (1.3 issue fixed), but non working within project with the issue from OP
Bug description
quarto render index.qmd --to pdf,html
fails withERROR: Unknown format pdf,html
- but it seems that should work.Steps to reproduce
I suppose you could reproduce with any document, but try:
Expected behavior
Quarto should render the given document or directory to both PDF and HTML formats.
Actual behavior
Your environment
Macos Ventura 13.4 Latest
quarto-cli
commit 1f3581304Quarto check output