Arabic indic numbering is incorrect

オープン
#190 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
tooling

調査の方向性

Start by locating the page-numbering implementation and its tests, then reproduce the issue with the provided A4 page configuration and Arabic-Indic numbering. The issue does not name files or tests, so first trace where page numbering is implemented. Done means multi-digit numbering proceeds ١٢, ١٣, ١٤ rather than ١٢, ٢٢, ٣٢.

索引モデルが issue の本文から書いたものです。

説明

bug
Description

#set page(paper: "a4", margin: 2cm, numbering: "١") causes numbering to work correctly for single digit numbers:
١, ٢, ٣, ٤, ٥, ٦, ٧, ٨, ٩
but once you get more than one digit it incorrectly increments the digit to the left most
١٢ then ٢٢ then ٣٢

it should be ١٢ then ١٣ then ١٤ and so on

Operating system

archlinux

Typst version

typst 0.15.1 (9dfd3a08)

主要言語
Rust
スター
53
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

typst/codex のほかの issue

typst/codex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。