typst / typst/codex

Russian numbering (Cyrillic)

Open
#162 10 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
53
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Description

I thought, that adding #set enum(numbering: "а)" | "А)" | "а." |"А.") numbering patterns would be perfect. But it's only for Cyrillic (which is my main issue). Maybe adding custom numbering — string (where each char is indexed enum label) or list of strings — would be a more flexible and universal solution.

Note: in Cyrillic enum list, next letters are de facto excluded: ё, й, ъ, ы, ь (source).

Use Case

Everyone would be able to easily create new numbering styles (emoji, Cyrillic, Japanese 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 clarify the intended custom-numbering API and the excluded Cyrillic letters, then locate the existing enum numbering implementation. Done means supporting reusable numbering styles such as Cyrillic while preserving the stated emoji and Japanese use cases.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.