quarto-dev / quarto-dev/quarto-cli

Book PDF section numbering format

Open
#1,889 3 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Nov 15, 2022.

books crossref enhancement
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/1888

Originally posted by jpmorr August 15, 2022
Typically when I use latex for creating documents like books/reports I would set a different page number format for frontmatter and the main contents (e.g. Preface would be on page (i), List of Figures on page (ii), etc, while Chapter 1 would start on page 1).

How do you achieve this affect when using quarto to render to pdf? In latex it's simply a case of adding \pagenumbering{roman}or \pagenumbering{arabic} before each section begins? Is this a pandoc limitation?

I've noticed the ToC, ToF are already using roman numerals (but don't start at (i) as the cover page and cover back are numbered) but the preface then starts at 1.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.