Add Thai numbering

Offen
#191 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

Start by reading the project’s existing numbering support and how it handles optional character sets; the issue does not name relevant files or tests. Decide which Thai character sequence and numeral behavior to support, including whether alternative sequences should be configurable. Done means the chosen behavior is implemented and covered by tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Sometimes Thai alphabets can be used to number the initial pages in a document like a, b, c (or ก, ข, ค for the actual Thai characters) for the introduction, abstract, and index and then 1, 2, 3 for content, or it can also be used to number the sub-lists. I would like to discuss if these Thai characters can be included? I can also contribute.

Edit: Along with this, Thai numerals (๐ ๑ ๒ ๓ ๔ ๕ ๖ ๗ ๘ ๙) perhaps can also be included. Also note that there isn't one specific standard on how Thai characters are used in numbering, it is always seen starting with "ก ข ค ง" (skipping ฃ ฅ ฆ) and may be continued with the regular set of alphabets (จ ฉ ช ซ ฌ ญ ...) or skip similar sounding alphabets (จ ฉ ช ซ ด ต ...) as it can be interpreted that the first four character set skips those 3 alphabets because they sound too similar, however, most people do not analyze it that deep and simply continues with the regular set of characters.

So it should be discussed which character set, if and how (since both character sets will still begin with ก) the alternative set of characters should be added as an optional feature, should anyone ever need it. But of course, The most common set can simply be added and a workaround could be used for anyone that have to deviate from the said set.

Vorherrschende Sprache
Rust
Sterne
54
Forks
23
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus typst/codex

Alle Issues in typst/codex

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.