diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-01-23 09:48:03 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2022-01-23 09:48:03 +0000 |
commit | 79c6fb310aa1f744dff51c41ef51e751797a567f (patch) | |
tree | 49e5d3e0318420bb8b3d03c7758d94cd647cec68 /Build/source/texk/web2c/uptexdir/tests | |
parent | 28046e42fccf4d75794ab2396be26c9e813b2b3c (diff) |
upTeX v1.28
git-svn-id: svn://tug.org/texlive/trunk@61706 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/tests')
-rw-r--r-- | Build/source/texk/web2c/uptexdir/tests/kcat.tex | 67 | ||||
-rw-r--r-- | Build/source/texk/web2c/uptexdir/tests/upkcat.txt | 38 |
2 files changed, 105 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/tests/kcat.tex b/Build/source/texk/web2c/uptexdir/tests/kcat.tex new file mode 100644 index 00000000000..b130832d069 --- /dev/null +++ b/Build/source/texk/web2c/uptexdir/tests/kcat.tex @@ -0,0 +1,67 @@ +% for INITEX +\catcode`\{=1 +\catcode`\}=2 +\def\space{ } +\edef\NAME{Engine \ifx\eTeXversion\undefined\else e-\fi + \ifx\enablecjktoken\undefined\else u\fi + pTeX p\the\ptexversion.\the\ptexminorversion\ptexrevision + \ifx\enablecjktoken\undefined\else -u\the\uptexversion\uptexrevision\fi + \ifx\epTeXversion\undefined\else -\the\epTeXversion + -\the\eTeXversion\eTeXrevision\fi + \space (dummy)} +\write16{\NAME} +% not_cjk=15 {is not cjk characters} +% kanji=16 {kanji} +% kana=17 {hiragana, katakana} +% other_kchar=18 {cjk symbol codes} +% hangul=19 {hangul codes} + +% separate in blocks +\write16{0x00C0::\the\kcatcode"00C0}% U+00C0 "Latin-1 Letters" in Latin-1 Supplement +\write16{§::\the\kcatcode"00A7}% U+00A7 Latin-1 Supplement +\write16{!::\the\kcatcode"FF01}% U+FF01 Halfwidth and Fullwidth Forms +\write16{0::\the\kcatcode"FF10}% U+FF10 "Fullwidth ASCII variants" in Halfwidth and Fullwidth Forms +\write16{ヲ::\the\kcatcode"FF66}% U+FF66 "Halfwidth Katakana variants" in Halfwidth and Fullwidth Forms + +% not_cjk=15 {is not cjk characters} +\write16{A::\the\kcatcode"0041}% U+0041 Basic Latin +\write16{0x0100::\the\kcatcode"0100}% U+0100 Latin Extended-A +\write16{0x0180::\the\kcatcode"0180}% U+0180 Latin Extended-B +\write16{0x1E00::\the\kcatcode"1E00}% U+1E00 Latin Extended Additional + +% kanji=16 {kanji} +\write16{⺀::\the\kcatcode"2E80}% U+2E80 CJK Radicals Supplement +\write16{⼀::\the\kcatcode"2F00}% U+2F00 Kangxi Radicals +\write16{⿰::\the\kcatcode"2FF0}% U+2FF0 Ideographic Description Characters +\write16{ㄅ::\the\kcatcode"3105}% U+3105 Bopomofo +\write16{㆐::\the\kcatcode"3190}% U+3190 Kanbun +\write16{ㆠ::\the\kcatcode"31A0}% U+31A0 Bopomofo Extended +\write16{㇀::\the\kcatcode"31C0}% U+31C0 CJK Strokes +\write16{㐀::\the\kcatcode"3400}% U+3400 CJK Unified Ideographs Extension A +\write16{一::\the\kcatcode"4E00}% U+4E00 CJK Unified Ideographs +\write16{豈::\the\kcatcode"F900}% U+F900 CJK Compatibility Ideographs +\write16{𠀀::\the\kcatcode"20000}% U+20000 CJK Unified Ideographs Extension B +\write16{𪜀::\the\kcatcode"2A700}% U+2A700 CJK Unified Ideographs Extension C +\write16{𫝀::\the\kcatcode"2B740}% U+2B740 CJK Unified Ideographs Extension D +\write16{𫠠::\the\kcatcode"2B820}% U+2B820 CJK Unified Ideographs Extension E +\write16{𬺰::\the\kcatcode"2CEB0}% U+2CEB0 CJK Unified Ideographs Extension F +\write16{丽::\the\kcatcode"2F800}% U+2F800 CJK Compatibility Ideographs Supplement +\write16{𰀀::\the\kcatcode"30000}% U+30000 CJK Unified Ideographs Extension G + +% kana=17 {hiragana, katakana} +\write16{あ::\the\kcatcode"3042}% U+3042 Hiragana +\write16{ア::\the\kcatcode"30A2}% U+30A2 Katakana +\write16{ㇰ::\the\kcatcode"31F0}% U+31F0 Katakana Phonetic Extensions +\write16{𚿰::\the\kcatcode"1AFF0}% U+1AFF0 Kana Extended-B +\write16{𛀀::\the\kcatcode"1B000}% U+1B000 Kana Supplement +\write16{𛄀::\the\kcatcode"1B100}% U+1B100 Kana Extended-A +\write16{𛅐::\the\kcatcode"1B150}% U+1B150 Small Kana Extension + +% hangul=19 {hangul codes} +\write16{ᄀ::\the\kcatcode"1100}% U+1100 Hangul Jamo +\write16{ㄱ::\the\kcatcode"3131}% U+3131 Hangul Compatibility Jamo +\write16{ꥠ::\the\kcatcode"A960}% U+A960 Hangul Jamo Extended-A +\write16{가::\the\kcatcode"AC00}% U+AC00 Hangul Syllables +\write16{ힰ::\the\kcatcode"D7B0}% U+D7B0 Hangul Jamo Extended-B + +\relax\end diff --git a/Build/source/texk/web2c/uptexdir/tests/upkcat.txt b/Build/source/texk/web2c/uptexdir/tests/upkcat.txt new file mode 100644 index 00000000000..4a4e0e21b79 --- /dev/null +++ b/Build/source/texk/web2c/uptexdir/tests/upkcat.txt @@ -0,0 +1,38 @@ +0x00C0::15 +§::18 +!::18 +0::17 +ヲ::17 +A::15 +0x0100::15 +0x0180::15 +0x1E00::15 +⺀::16 +⼀::16 +⿰::16 +ㄅ::16 +㆐::16 +ㆠ::16 +㇀::16 +㐀::16 +一::16 +豈::16 +𠀀::16 +𪜀::16 +𫝀::16 +𫠠::16 +𬺰::16 +丽::16 +𰀀::16 +あ::17 +ア::17 +ㇰ::17 +𚿰::17 +𛀀::17 +𛄀::17 +𛅐::17 +ᄀ::19 +ㄱ::19 +ꥠ::19 +가::19 +ힰ::19 |