-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
render
to pdf not including images (plots) on output
#86
Comments
I tracked this problem to the use of the fig.align chunk option (if you remove it then the plots appear in pdf output). @yihui I noted that this is documented to be the behavior of knitr:
For situations where Rmd is not targeting HTML could knitr just ignore fig.align? |
Yea, |
I'm saying ignore fig.align for PDF only (as opposed to omitting the images On Mon, Apr 28, 2014 at 3:06 PM, Leon Sasson [email protected]:
|
I think I have a better idea to solve this problem (i.e. use raw_tex for plots when the pandoc output is pdf). I'll experiment with it and let you know. |
@yihui Closing this issue here (assuming that you are tracking the possible raw_tex enhancement in the knitr issues database) |
FYI: This has been fixed in the development version of knitr, which I plan to release to CRAN in the next few days. |
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. |
So when trying to
render
an Rmd to pdf, the output goes through without inserting the figured in the pdf. When knitting to HTML, the plots do get included.See this gist: https://gist.github.com/leonsas/308ec0bfaaaaa2701017 for all the output files. I couldn't figure out what it is, but I suspect its something with the paths to the generated figures.
The text was updated successfully, but these errors were encountered: