Why doesn't pdf title reflect title in _quarto.yml? I get "Quarto Basics" unless I use a partial template. #11969
-
DescriptionThis is the top of my _quarto.yml. When I export to html I get the title I expect, but when I render pdf it uses a title "Quarto Basics" that must come from some template somewhere. Why doesn't quarto use the same title for both? It uses this title for the title of the pdf, but not the title page of the book output in pdf. I had to add a partial template to get the title I wanted.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
Here is the full _quarto.yml. Without the partial template at the end I get "Quarto Basics" in the title field everytime.
|
Beta Was this translation helpful? Give feedback.
Actually "Quarto Basics" is not mentioned in any qmd file in that directory (recursively grep'd the whole thing) but IT IS mentioned in a file that I include as demonstration of the compilation of python code pulled from a completely separate file/directory outside the project hierarchy. Specifically, in one of the appendices of that project I include a file that has a yaml header with the title block set to Quarto Basics. Apparently in the rendering process that yaml block overrides (or resets or something) the title information in the _quarto.yml file. The only format block in that included file is html, but it still overrides the pdf title. I don't know if that is expected behavior or …