quarto-dev / quarto-dev/quarto-cli
Feature request: Custom start for arabic cross reference numbering scheme
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
It would be great to add the ability to set the starting point for the arabic cross reference numbering scheme: https://quarto.org/docs/authoring/cross-reference-options.html#numbering
This is already possible for all of the other cross reference numbering schemes.
The two use cases for this would be to start a new document with zero-based numbering and to continue the numbers from an existing document in a subsequent document:
---
title: "New document with zero-based numbering"
crossref:
labels: arabic 0
---
---
title: " Continuation to a document with X figures, Y tables, and Z code listings"
crossref:
fig-labels: arabic X
tbl-labels: arabic Y
lst-labels: arabic Z
---
I can volunteer to work on a pull request if someone could direct me to the place where the cross reference numbering logic lives.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the cross-reference numbering documentation linked in the issue and trace the implementation of the existing non-Arabic starting values. Verify the YAML examples for crossref.labels, fig-labels, tbl-labels, and lst-labels, including zero-based and continuation cases; done means Arabic numbering accepts the requested start values consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100