-
-
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
Graphs/Charts are not showing up in the epub format #481
Comments
Duplicate of rstudio/bookdown-demo#21. I'll take a look this week. Thanks for the report! BTW, when you cross-post a question, please mention it: https://stackoverflow.com/q/47173705/559676 |
This might be a bug of Pandoc: jgm/pandoc#4055 but I have provided a fix in bookdown anyway. Please test the devel version of bookdown here. Thanks! |
Re-open this issue just to remind myself of keeping an eye on the next Pandoc release that will fix jgm/pandoc#4055: https://github.com/jgm/pandoc/releases |
Thanks Yihui, I tested the devel version and this issue has been resolved. I was able to generate the epub correctly with pandoc 2 and devel version of bookdown. |
I am sorry, I shouldn't have closed this. I just read the note in the pandoc#4055. Reopening as you have mentioned that the fix will need to be revisited when pandoc fixes. |
No worries. |
Pandc 2.0.2 has fixed the root issue and been released. |
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. |
Generated epub using the sample here https://github.com/rstudio/bookdown-demo.
I opened the epub using iBooks and I could not see the images. I extracted the generated files from the epub and noticed that the generated code expects the media folder to be within the EPUB folder but it is at the same level as the EPUB folder.
Changing
to
resolves the issue.
The text was updated successfully, but these errors were encountered: