Closed quran2019 closed 6 months ago
I therefore tried to compile on the Bookdown server side with bookdown::publish_book(render = "server") but it still does not generate pdf but only html.
bookdown.org does not have the necessary tool to build book, especially PDF book. See about page: https://bookdown.org/home/about/ bookdown::publish_book(render = 'local')
is the way to go.
If you want to build PDF book, you need LaTeX distribution, and build locally your PDF.
But it cannot generate also pdf via bookdown::pdf_book build option. It keeps giving errors.
You need to deal with those errors. It is probably some missing LaTeX package, or something with your TeX distribution. Are you using TinyTeX with tinytex R package ?
Thanks for the information. I am sorry to hear that. Actually, there were many similar pdf related posts and answers and I think I tried all. Reinstalled many packages but still the same. As the last chance, since there was "server" side build option, I had thought the packages I might be missing would have been available in the server side.
Actually, there were many similar pdf related posts and answers and I think I tried all. Reinstalled many packages but still the same.
You can share on https://community.rstudio.com or here you problem to render locally.
Best thing to try is to render a demo pdf document to check your install is ok, and then try your more complex project.
Thanks for the suggestions. I will try a bit more.
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.
Hi, my Bookdown file can generate html via building bookdown::gitbookbuild locally. But it cannot generate also pdf via bookdown::pdf_book build option. It keeps giving errors. I therefore tried to compile on the Bookdown server side with bookdown::publish_book(render = "server") but it still does not generate pdf but only html. Because when I try to download via Bookdown.org page, it starts showing pfd document but than says "Failed to load PDF document." and cannot provide a pdf, which suggest the Bookdown server also could not generate the pdf of my book. Here is the book link: https://bookdown.org/gokmenaltay19/Quran19/
When I look at the logs from my account on https://bookdown.org/connect/... then I see a similar error that I come accross locally while generating the pdf file. Any idea? Let's say my system is not ok but why the serve side gives the similar error and cannot generate the pdf of my book?