Quarto projects can be configured using a _quarto.yml file. A sample configuration is shown below:
project:
type: book
book:
title: "mybook"
author: "Ziang Liu"
date: "2/15/2026"
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd
bibliography: references.bib
format:
html:
theme: cosmo
pdf:
documentclass: scrreprtfreeze
With the increasing content of the book, it may take a long time to render the entire book. To save time, setting freeze: auto will only render the changed files, which can significantly speed up the rendering process.
execute:
freeze: autoThe following configuration can be used to generate a PDF version of the book using LuaLaTeX and the ltjbook document class, which is suitable for books with Japanese content.
use-rsvg-convert: true is required to render SVG images in the PDF output.
format:
pdf:
pdf-engine: lualatex
documentclass: ltjbook
toc: true
toc-depth: 1
use-rsvg-convert: truepseudocode
filters:
- pseudocode