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
Currently, this setting takes precedence over the main text font you specified, forcing you to re-declare the Chinese font by `#show raw: set text(font: …)`.
186
191
],
187
192
zh: [
188
-
在正文之外,typst对`raw`代码块预设了另一字体,同样不含汉字。该设置目前优先于你指定的正文字体,导致必须用`#show raw: set text(font: …)`再次指定中文字体。
193
+
在正文之外,typst 对`raw`代码块预设了另一字体,同样不含汉字。该设置目前优先于你指定的正文字体,导致必须用`#show raw: set text(font: …)`再次指定中文字体。
Most languages are now supported by Unicode, but there are still occasional issues. In particular, there may be issues related to ordering of characters, or competing encodings (as in Myanmar), or standardisation of variation selectors or the encoding model (as in Mongolian). Are there any character repertoire issues preventing use of this script in typst? Do variation selectors need attention? Are there any other encoding-related issues?
386
+
#babel(
387
+
en: [Most languages are now supported by Unicode, but there are still occasional issues. In particular, there may be issues related to ordering of characters, or competing encodings (as in Myanmar), or standardisation of variation selectors or the encoding model (as in Mongolian). Are there any character repertoire issues preventing use of this script in typst? Do variation selectors need attention? Are there any other encoding-related issues?],
Relevant here are formats related to number, currency, dates, personal names, addresses, and so forth. If the script has its own set of number digits, are there any issues in how they are used? Does the script or language use special format patterns that are problematic (eg. 12,34,000 in India)? What about date/time formats and selection - and are non-Gregorian calendars needed? Do percent signs and other symbols associated with number work correctly, and do numbers need special decorations, (like in Ethiopic or Syriac)? How about the management of personal names, addresses, etc. in typst: are there issues?
611
+
#babel(
612
+
en: [
613
+
Relevant here are formats related to number, currency, dates, personal names, addresses, and so forth. If the script has its own set of number digits, are there any issues in how they are used? Does the script or language use special format patterns that are problematic (eg. 12,34,000 in India)? What about date/time formats and selection - and are non-Gregorian calendars needed? Do percent signs and other symbols associated with number work correctly, and do numbers need special decorations, (like in Ethiopic or Syriac)? How about the management of personal names, addresses, etc. in typst: are there issues?],
=== #bbl(en: [Numbers in Simplified Chinese], zh: [简体中文数字])
@@ -1093,7 +1105,7 @@ $ integral f dif x $
1093
1105
Does typst support requirements for baseline alignment between mixed scripts and in general? Are there issues related to line height or inter-line spacing, etc.? Are the requirements for baseline or line height in vertical text covered?
1094
1106
],
1095
1107
zh: [
1096
-
typst能否对齐多文种的基线?行高、行距等方面有无问题?直排时的基线、行高能否满足要求?
1108
+
typst 能否对齐多文种的基线?行高、行距等方面有无问题?直排时的基线、行高能否满足要求?
1097
1109
],
1098
1110
)
1099
1111
]
@@ -1129,6 +1141,35 @@ $ integral f dif x $
1129
1141
>>> #box[Typst 国王]
1130
1142
```
1131
1143
1144
+
=== #bbl(
1145
+
en: [`box` is not aligned if `text.bottom-edge` is not baseline],
1146
+
zh: [`text.bottom-edge`不是基线时,`box`未对齐],
1147
+
)
1148
+
1149
+
#level.advanced
1150
+
#issue("tianyi-smile/itemize#8")
1151
+
1152
+
#babel(en: [This issue continues the above issue.], zh: [这一问题接续上一问题。])
1153
+
1154
+
#babel(
1155
+
en: [At present, #link("https://typst.app/docs/reference/layout/box/", `box`) is always put on the baseline, even if `text.bottom-edge` is not `"baseline"`, leading to misalignment.],
en: [This affects Chinese particularly. All Chinese characters have a square-shaped frame, so the natural definition of bottom edge is the bottom edge of the squares, and most Chinese fonts will mark it as the descender line. As a result, some people prefer `bottom-edge: "descender"` to the default `bottom-edge: "baseline"` for their Chinese documents.],
en: [The compiler does not support the CSL-M standard yet, nor is it compatible with some extensions of citeproc-js.],
1751
1794
zh: [编译器暂不支持 CSL-M 标准,也不兼容 citeproc-js 的一些扩展。],
1752
1795
)
1753
1796
1797
+
#babel(
1798
+
en: [As of October 2025, 222 of 302 (74%) #link("https://zotero-chinese.com/styles/")[Chinese CSL styles] are considered malformed by hayagriva. Unfortunately, hayagriva hardly provides clear error messages, making it very difficult to debug.],
=== #bbl(en: [A Chinese name for the Typst project], zh: [Typst 项目的中文名])
1909
+
1910
+
#level.advanced
1911
+
1912
+
#babel(
1913
+
en: [The Typst project does not have an official Chinese name, which prevents its mention in certain academic or teaching scenarios where mixing languages is discouraged. In addition, the Chinese language does not have consonants like -pst, so it is difficult to pronounce _Typst_. Therefore, some people suggested that there should be a Chinese name.],
en: [However, there are more reasons not to localize the name _Typst_. #link("https://forum.typst.app/t/chinese-name-for-the-typst-project/6024/13")[A naive vote in September 2025] indicated that the vast majority of people believed that there is no need for localization at present: just use _Typst_.],
0 commit comments