-
Referring to #2861 (which I can't reopen), I think pdf figures in knitr are always cropped, quarto-cli/src/resources/rmd/execute.R Line 272 in 574396e The following MRE illustrates the problem:
As a workaround I can set but one would expect |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Do you mean like in the screenshot below (using Quarto v1.2.210)? (See https://quarto.org/docs/computations/r.html#knitr-options for details on how to set knitr options) See Quarto document content
EDIT: I can't reproduce what you are seeing, even when setting crop to true. PS: can you change the category from "general" to "Q&A"? (from the desktop version of GitHub website) |
Beta Was this translation helpful? Give feedback.
-
Hmm, strange, I'm getting this so I guess it's fixed in a different version of Quarto/Rstudio. I have Rstudio 2022.07.1 Build 554 and Quarto 1.1.251, on a Mac. |
Beta Was this translation helpful? Give feedback.
-
... actually, I just installed the pre-release Quarto 1.2.226, and I get the same cropped output (plus an glitch with lua filters for the author field) |
Beta Was this translation helpful? Give feedback.
-
I can fully reproduce the issue (using Ubuntu 22.04 and Quarto 1.3.361). If the I've tried to disable cropping without success by
The only way that actually disabled PDF figure cropping was running Note that I'm a bit confused about the correct name of the cropping chunk option on the knitr side of things: While the R Markdown Cookbook mentions a |
Beta Was this translation helpful? Give feedback.
See #5981