Skip to content

Commit 73b3a69

Browse files
Merge pull request typst-doc-cn#30 from YDX-2147483647/main
docs: variants of traditional Chinese numbers
2 parents 4dd7805 + ab6be20 commit 73b3a69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main.typ

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ $ f(x) = y "(定义8)" $
608608

609609
#level.advanced
610610
#issue("typst#6484")
611+
#workaround("https://typst.app/universe/package/conjak")
611612

612613
#babel(
613614
en: [The characters used for numbers are not identical between traditional and simplified Chinese, but there is no mechanism to distinguish them yet.],
@@ -623,6 +624,11 @@ $ f(x) = y "(定义8)" $
623624
>>> 貳億
624625
```
625626

627+
#babel(
628+
en: [The expected output may vary with regions and personal preferences. For example, `#numbering("壹", 3)` can be written in multiple ways such as #"叁參叄".clusters().map(unichar).intersperse(", ").join().],
629+
zh: [具体期望结果可能还有地区变体和个人偏好变体,例如`#numbering("壹", 3)`会有 #"叁參叄".clusters().map(unichar).intersperse("").join() 多种写法。],
630+
)
631+
626632
= #bbl(en: [Line and paragraph layout], zh: [行与段落版式])
627633

628634
== #bbl(en: [Line breaking & hyphenation], zh: [换行与断词连字]) <line-breaking>

0 commit comments

Comments
 (0)