You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Section name should be after section number in reference in Chinese #5102
changed the title [-]Section name should put after the section number in reference in Chinese[/-][+]Section name should be after section number in reference in Chinese[/+]on Oct 8, 2024
I would like to add that this is also an issue in Hungarian. I have started creating a package for Hungarian support in Typst and it is full of rewriting these rules:
images
tables
raw
equations
Beside figure rules You have to rewrite ref, outline etc. show rules as well. While I fix these God knows how many issues I create because not using the standard rules means one have to keep these packages updated while the ecosystem changes.
For example outline.entry has the prefix() method, but that also returns numbering and supplement, which means these languages have to re-implement everything.
I think this should be global setting if You want to use the noun-number or the number-noun style.
Chinese, Japanese, Korean, Turkish, Hungarian and probably a couple more languages would all benefit from this.
Activity
[-]Section name should put after the section number in reference in Chinese[/-][+]Section name should be after section number in reference in Chinese[/+]YDX-2147483647 commentedon Jun 20, 2025
Relates-to: #2485 — A similar issue on Figures/Tables, and some other recommended
第1节.See also w3c/i18n-issues#10 and clreq-gap for typst.
YDX-2147483647 commentedon Jul 30, 2025
Workaround (for typst v0.13.1)
Here's a real dark magic that solves #5778 together.
Features:
show ref: ….voroskoi commentedon Oct 23, 2025
Hi,
I would like to add that this is also an issue in Hungarian. I have started creating a package for Hungarian support in Typst and it is full of rewriting these rules:
Beside
figurerules You have to rewriteref,outlineetc. show rules as well. While I fix these God knows how many issues I create because not using the standard rules means one have to keep these packages updated while the ecosystem changes.For example outline.entry has the prefix() method, but that also returns numbering and supplement, which means these languages have to re-implement everything.
I think this should be global setting if You want to use the
noun-numberor thenumber-nounstyle.Chinese, Japanese, Korean, Turkish, Hungarian and probably a couple more languages would all benefit from this.
Thanks,
Shuenhoy commentedon Dec 1, 2025
It seems that the feature request described by #2990 can be a solution for this