Skip to content

How to manage languages in a PDF Quarto book that has chapters with different languages? #13013

Answered by cderv
KleinWurm asked this question in Q&A
Discussion options

You must be logged in to vote

This is a bit tricky but I think I know what happens.

Quarto Book are project - you can write your book in several .qmd files, and Quarto will handle it, including for single file book like PDF output.

What happens internally is that a single .md file is created to be rendered to LaTeX and then PDF.
So when you add a YAML configuration block inside a chapter, some options could override the global one, because in Quarto (and Pandoc) multiple YAML configuration block in a single file are merged;

In the pdf version of the book, the lang argument seems ignored. The titles of TOC, LOF and the references, for example, remain in English. None of the mentionned language specific rules were appl…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@KleinWurm
Comment options

@cderv
Comment options

cderv Jul 1, 2025
Maintainer

@KleinWurm
Comment options

@cderv
Comment options

cderv Jul 1, 2025
Maintainer

@cderv
Comment options

cderv Jul 1, 2025
Maintainer

Answer selected by KleinWurm
Comment options

You must be logged in to vote
1 reply
@KleinWurm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
books latex LaTeX engines related libraries and technologies
3 participants