Skip to content

Cross reference labels always start with 0 (e.g., 0.1, 0.2, and so on). #443

Description

@giik

I am not able to force the labels for listings, equations, etc. to just follow a 1, 2, 3,... scheme or [preferably] be prefixed with the chapter number, e.g., 1.1, 1.2, ... within chapter 1, then 2.1, 2.2, ... within chapter 2, and so on.

Minimal example in https://github.com/giik/eisvogel-book (which I process with pandoc -d pandoc.yaml).

I tried reading the documentation of pandoc, pandoc-latex-template, and pandoc-crossref and I thought I got the critical settings right (see below) but apparently not. What are the correct settings and are they documented somewhere?

top-level-division: chapter
number-sections: true 
metadata:
  chapters: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions