summaryrefslogtreecommitdiff
path: root/tests/typ/meta
diff options
context:
space:
mode:
authorSung Jeon <basix@basix.tech>2023-05-31 01:42:24 +0900
committerGitHub <noreply@github.com>2023-05-30 18:42:24 +0200
commit08b49291bc876d948bfd2c90cb05796efc1254a6 (patch)
treed165347722106c62bd0905f3d87b974a6f802d8e /tests/typ/meta
parentb805c5f10080912cbfb1fd2fd2733c48a92ce4f9 (diff)
Add NumberingKind variants for Korean (#1360)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests/typ/meta')
-rw-r--r--tests/typ/meta/numbering.typ24
1 files changed, 23 insertions, 1 deletions
diff --git a/tests/typ/meta/numbering.typ b/tests/typ/meta/numbering.typ
index e243e035..9bb3c5d9 100644
--- a/tests/typ/meta/numbering.typ
+++ b/tests/typ/meta/numbering.typ
@@ -32,7 +32,7 @@
}
---
-#set text(lang: "zh")
+#set text(lang: "zh", font: ("Linux Libertine", "Noto Serif CJK SC"))
#for i in range(9,21, step: 2){
numbering("一", i)
[ and ]
@@ -41,6 +41,7 @@
}
---
+#set text(lang: "jp", font: ("Linux Libertine", "Noto Serif CJK JP"))
#for i in range(0, 4) {
numbering("イ", i)
[ (or ]
@@ -61,5 +62,26 @@
}
---
+#set text(lang: "ko", font: ("Linux Libertine", "Noto Serif CJK KR"))
+#for i in range(0, 4) {
+ numbering("가", i)
+ [ (or ]
+ numbering("ㄱ", i)
+ [) for #i \ ]
+}
+... \
+#for i in range(47, 51) {
+ numbering("가", i)
+ [ (or ]
+ numbering("ㄱ", i)
+ [) for #i \ ]
+}
+... \
+#for i in range(2256, 2260) {
+ numbering("ㄱ", i)
+ [ for #i \ ]
+}
+
+---
// Error: 17-19 number must be at least zero
#numbering("1", -1)