Skip to content

PDF book output numbers front matter chapters despite number: false setting #13833

@AliDadgar

Description

@AliDadgar

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

No response

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

No response

Quarto check output

In Quarto book projects, items listed in chapters: before the first part: declaration should be unnumbered front matter according to the documentation. However, in PDF output, these items are numbered as chapters.

Expected Behavior:

  • index.qmd (Preface) listed before part: "Part I..." should be unnumbered
  • First chapter inside Part I should be "Chapter 1"

Actual Behavior:

  • Preface is rendered as "Chapter 1"
  • First chapter inside Part I is rendered as "Chapter 2"

Reproduction:

_quarto.yml

book:
chapters:
- index.qmd # Should be unnumbered
- part: "Part I: ..."
chapters:
- chapters/ch01/index.qmd # Should be Chapter 1

index.qmd


title: "Preface"
number: false

Attempted Workarounds (none worked):

  • number: false in file YAML
  • classes: [unnumbered]
  • LaTeX \frontmatter / \mainmatter via include-before-body
  • number-offset: [-1]
  • Empty part: "" wrapper

Environment:

  • Quarto version: (run quarto --version)
  • OS: macOS
  • Output format: PDF with documentclass: book

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-reproIssues that are blocked until reporter provides an adequate reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions