-
DescriptionHello - I am trying to build my book in both HTML and PDF format. The HTML version of the book works just fine (An Introduction to NFL Analytics with R). However, when I attempt to render the book as PDF, it creates the files and then places them throughout my directory. This is an issue as when I go to push my HTML files, the 'index.pdf' file - for example - is much too large and the push fails. My
I was hoping that using All this to say: I am very confused about how to handle building and rendering the book in two separate formats and how the structure of the Any help/advice is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I am not sure what's the issue you have about the PDF version of the book. ˋoutput-file` is the file name not the directory. You could use project profile to define an output directory for html and another for PDF, see https://quarto.org/docs/projects/profiles.html. |
Beta Was this translation helpful? Give feedback.
-
A quarto book project does two separate things:
Quarto doesn't currently support splitting up the book into separate chapters; you'll need to do this step manually yourself. If the PDF file is too large, you can consider creating low-resolution versions of the images, and using those instead (this should be relatively painless with conditional blocks based on format: https://quarto.org/docs/authoring/conditional.html) |
Beta Was this translation helpful? Give feedback.
A quarto book project does two separate things:
Quarto doesn't currently support splitting up the book into separate chapters; you'll need to do this step manually yourself. If the PDF file is too large, you can consider creating low-resolution versions of the images, and using those instead (this should be relatively painless with conditional blocks based on format: https://quarto.org/docs/authoring/conditional.html)