Skip to content

PDF book: chapters are falsely grouped within a "part" (hierarchy wise) #1075

@pat-s

Description

@pat-s

Checklist

When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:

  • formatted your issue so it is easier for us to read?

  • included a minimal, self-contained, and reproducible example?

  • documented the quarto version you're running, by providing the output produced by quarto check in a terminal in your issue?

  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?

  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.

  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Issue

References listed at the same hierarchy level as a part are getting grouped within the last "Part" instead of appearing at the same level (in the Toc).

image

Reprex

  1. quarto create-project mybook --type book
  2. Adjust _quarto.yml with content below
  3. quarto render --to pdf
project:
  type: book

book:
  title: "mybook"
  author: "Jane Doe"
  date: "6/6/2022"
  chapters:
    - index.qmd
    - part: intro.qmd
      chapters:
      - summary.qmd
    - references.qmd

bibliography: references.bib

format:
  pdf:
    documentclass: book

Metadata

quarto check

[✓] Checking Quarto installation......OK
      Version: 0.9.515
      Path: /Applications/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.13
      Path: /opt/homebrew/opt/python@3.9/bin/python3.9
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.2.0
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Users/pjs/Library/R/arm64/4.2/library
        - /opt/R/4.2.0-arm64/Resources/site-library
        - /opt/R/4.2.0-arm64/Resources/library
      rmarkdown: 2.14

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

verify-fixedAlready fixed, awaiting verification from the issue reporter to confirm.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions