Add Thai numbering

Aperta
#191 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
53
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di typst/codex

Tutte le issue di typst/codex

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.