Why is a home page (i.e., index.qmd) required for PDF books? #4024
Replies: 1 comment 14 replies
-
Following #2941 we added some explanation to our doc about the why of
So the file is not required per-se for PDF only, but is for HTML book. Quarto is designed as multiformat first and In your case, I guess you have nothing to put before the content numbered content of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Without getting too much into the weeds of my specific use case, I previously wrote an R package to provide an R Markdown format conforming to my university's thesis format. I am now trying to port this over to Quarto. This has mostly gone smoothly.
The issue I'm running into is that I apparently HAVE to have an
index.qmd
home page. My_quarto.yml
currently looks like:The
index.qmd
file is entirely empty, but still shows up in the rendered PDF as a new chapter. If I removeindex.qmd
from thechapers
, the build fails with the following error:What am I missing here? I am being forced to include this file, but the inclusion adds a blank chapter to my final document. What can I do?
I could, of course, copy the contents of the actual first chapter (
01-Introduction.qmd
) intoindex.qmd
, but I feel like this is kind of hacky - I want to be able to name my chapters as shown above.Beta Was this translation helpful? Give feedback.
All reactions