-
-
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
Unable to build PDF book from inst/examples/index.Rmd #440
Comments
Upgrading R to 3.4.1-2xenial0 does not help. |
I installed all needed fonts with
|
I should have provided instructions on how to build this particular book since it is not very straightforward. You need to install the webshot package in R and also PhantomJS: https://bookdown.org/yihui/bookdown/html-widgets.html You should not add |
Thank you, Yihui! |
Is this a general fix-it for this message, for books patterned on your book? It also worked for me. (I am converting a book with many collaborators, and had not been aware of html output.) |
@Kenkleinman Yes, it is a general fix. |
HI @yihui As mentioned here https://bookdown.org/yihui/bookdown/html-widgets.html I installed But still I am facing the same issue "Error: Functions that produce HTML output found in document targeting latex output." This is what my YAML loooks like df_print: paged Any clues, what I am missing ? |
I get an error;
This is the YAML header:
|
Yes, got it working using webshot and PhantomJS |
Hi Unfortunately, I still have the With Adding Note that building the Thanks a lot for help!
|
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 have installed Preview Release 1.1.331 of RStudio IDE on Ubuntu 16.04.3 LTS.
Installed devtools and bookdown as decribed on getting-started page.
I have installed texlive-xetex package on my system.
I can produce HTML, PDF and EPUB from rstudio/bookdown-demo.git.
Then I cloned rstudio/bookdown.git to build PDF of your great book.
I opened inst/examples/index.Rmd from RStudio.
I ran this file with <Ctrl+Alt+R> and clicked Knit. It compiled HTML version, but buttons PDF, EPUB and MOBI open empty white windows (there are no such files in _book directory).
So I tried to build PDF and EPUB with _render.R script as described in Makefile - I opened _render.R and clicked Source in the editor.
Here I got error message:
If I run
make
from terminal in the inst/examples/ folder I get another error:I have pandoc 1.16.0.2 installed in my system (from official repository).
Removing bookdown.Rmd does not help.
Debug and version info:
I got this bug with stable versions of RStudio 1.0.153 and bookdown 0.4 too.
How to compile PDF of your book? Is it a bug? What am I doing wrong?
The text was updated successfully, but these errors were encountered: