PDF rendering ?
sylvaticus opened this issue · comments
Ok, I may look a dinosaur, but sometimes a PDF is useful :-)
Is it possible to render the book as a single PDF ?
Never tried, but you should be able to render to PDF with quarto render --to pdf
as explained in the Quarto docs:
Can you give it a try?
I believe it is possible as explained in the link above. Closing the issue.
hmmm... not straightforward.... running it I got the following error in the final step latex -> PDF conversion, apparently concerning the sole gif image of the book :
Rendering PDF
running xelatex - 1
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2022/dev/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
updating tlmgr
updating existing packages
ERROR:
compilation failed- error
LaTeX Error: Cannot determine size of graphic in images/juliahearts.gif (no B
oundingBox).
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.536 ...ght=\textheight]{images/juliahearts.gif}}
A PDF of a few pages is actually produced, but most figures are half out of page... perhapas one needs to adjust some quarto configuration....
Thanks for trying it.
PRs are welcome to fix the PDF output. It seems like a Quarto + Julia limitation, plus issues with image formats.