typst / typst/typst

Resumable enum numbering

Open
#325 12 comments 26 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request model
Dominant language
Rust
Stars
56.1k
Forks
1.7k
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Having a way to provide a counter for an enum to use would be great for one use case I have right now, which involves defining a custom numbered list, but it would also enable resuming the counting of one enum from another, like when you "suspend" the list with some text in between items.

Replicating this idea on other numbered entities would also easen customization, like defining separate numbering on front matter / main matter / back matter, or continuous numbering for Theorems, Lemmas, etc.

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.

Research direction

The issue names no files, tests, or entry points. First locate the implementation of enum numbering and the handling of other numbered entities, then define how a supplied counter should resume and how completion would be verified across custom and interrupted lists.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.