-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
out.height
seems not working
#501
Comments
Looks like the percent sign was parsed literally and caused pandoc to think that it is the beginning of a latex comment. The knitted file has the following:
Changing
So, in the case when EDIT: This seems to be a bug in |
Until the bug is fixed, you can do this:
|
Fixed in the dev version of knitr. Thanks! |
David Hugh-Jones (1): Make Roxygen sentence case (#1483) Jennifer (Jenny) Bryan (1): Structure of content returned by imgur has changed (#1496) Ruaridh Williamson (1): Update spin code block styling (#1492) Yihui Xie (27): use tinytex::latemk() to compile tikz to PDF install latex packages needed by tikzDevice use tinytex::latexmk() instead of tools::texi2pdf() to build .tex to .pdf in knit2pdf() and stitch() bump version try to cache texlive remove stringr::perl() since the next version of stringr will remove it bump version start using the sentence style fixes rstudio/bookdown#501: support percentage values in the out.height option roxygenize after #1483 point to the original source update the FAQ URL some typos no longer hide showtext behind close #1489: reticulate 1.4 has fixed the issue with include=FALSE, echo=FALSE, etc don't repeat the regex, and roxygenize after #1492 add @ruaridhw to contributors for #1492 and #1484 several utils functions have been moved to the xfun package, and I'll use xfun in the future caching is an optional feature of knitr, so move digest to Suggests to make the dependencies a little lighter bump version a news item for #1495 and add Jenny to contributors default to html4 in eng_block() add the --mathjax option since Pandoc 2.0 will warn against LaTeX math if no math options are specified for the HTML output remove spin() examples since they require writing to the current directory, and CRAN no longer allows it bump version https CRAN release 1.19
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
I am using the developed version of
bookdown
and RStudio 1.2.209. Whenever I tried to modify the plot height without.height
, I got the following error:I tried to change the compiling engine to
xelatex
, and it still produced the error.out.width
works pretty well, though.A minimal sample is attached:
miniSample.zip
The text was updated successfully, but these errors were encountered: