-
Notifications
You must be signed in to change notification settings - Fork 392
Closed as not planned
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Bug description
Dear Quarto Team,
I encountered an annoying bug in Quarto.
To reproduce this bug:
- create a book with
quarto create project book - put an R chunk producing a figure in one of the chapters
- set fig-width: 3 and out-width: "85%" in pdf section of format in _quarto.yaml
- render project
Hope this reports helps to make the software even better :)
Quarto 1.2.269 on Windows 10 (command line)
issue persists after installing Version 1.3.11
project:
type: book
book:
title: "repex"
author: "Jane Doe"
date: "18/11/2022"
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprt
fig-width: 3
out-width: "85%"
# Introduction
This is a book created from markdown and executable code.
See @knuth84 for additional discussion of literate programming.
```{r}
#| label: fig-test
#| fig-cap: This is a test
#| echo: false
library(ggplot2)
ggplot(mtcars, aes(x = cyl, y = mpg)) +
geom_violin(aes(group = cyl, colour = factor(cyl)))
```
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.
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
