lang-cnt.lua /size: 10 Kb    last modification: 2020-07-01 14:35
1if not modules then modules = { } end modules ['lang-cnt'] = {
2    version   = 1.001,
3    comment   = "companion to lang-ini.mkiv",
4    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
5    copyright = "PRAGMA ADE / ConTeXt Development Team",
6    license   = "see context related readme files"
7}
8
9-- This is generated with help from ctx-checkedcombined.lua (an ugly local
10-- helper script).
11
12-- We don't really need this as we compose and decompose already. The only
13-- exception are the ae etc but these can best be entered in their unicode
14-- form anyway. So, even if we can support hjcodes with counts is is not
15-- needed in practice. It's anyway debatable if æ should be seen as one
16-- character or two. And ffi and ij and such are not used in patterns anyway.
17
18languages = languages or { }
19
20languages.hjcounts = { -- used: used in registered unicode characters
21    --
22    [0x000C6] = { category = "letter",    count = 2 }, -- Æ
23    [0x000E6] = { category = "letter",    count = 2 }, -- æ
24    --
25    [0x01E9E] = { category = "letter",    count = 2 }, -- ẞ
26    [0x000DF] = { category = "letter",    count = 2 }, -- ß
27    --
28    [0x00132] = { category = "dubious",   count = 2 }, -- IJ
29    [0x00133] = { category = "dubious",   count = 2 }, -- ij
30    --
31    [0x00152] = { category = "dubious",   count = 2 }, -- Œ
32    [0x00153] = { category = "dubious",   count = 2 }, -- œ
33    --
34    [0x001C7] = { category = "letter",    count = 2 }, -- LJ
35    [0x001C8] = { category = "letter",    count = 2 }, -- Lj
36    [0x001C9] = { category = "letter",    count = 2 }, -- lj
37    --
38    [0x001CA] = { category = "letter",    count = 2 }, -- NJ
39    [0x001CC] = { category = "letter",    count = 2 }, -- nj
40    -- not in patterns
41    [0x0FB01] = { category = "ligature",  count = 2 }, -- fi
42    [0x0FB02] = { category = "ligature",  count = 2 }, -- fl
43    [0x0FB03] = { category = "ligature",  count = 3 }, -- ffi
44    [0x0FB04] = { category = "ligature",  count = 3 }, -- ffl
45    [0x0FB06] = { category = "ligature",  count = 2 }, -- st
46    --
47    [0x00300] = { category = "combining", count = 0, used = true  }, -- ̀
48    [0x00301] = { category = "combining", count = 0, used = true  }, -- ́
49    [0x00302] = { category = "combining", count = 0, used = true  }, -- ̂
50    [0x00303] = { category = "combining", count = 0, used = true  }, -- ̃
51    [0x00304] = { category = "combining", count = 0, used = true  }, -- ̄
52    [0x00305] = { category = "combining", count = 0, used = false }, -- ̅
53    [0x00306] = { category = "combining", count = 0, used = true  }, -- ̆
54    [0x00307] = { category = "combining", count = 0, used = true  }, -- ̇
55    [0x00308] = { category = "combining", count = 0, used = true  }, -- ̈
56    [0x00309] = { category = "combining", count = 0, used = true  }, -- ̉
57    [0x0030A] = { category = "combining", count = 0, used = true  }, -- ̊
58    [0x0030B] = { category = "combining", count = 0, used = true  }, -- ̋
59    [0x0030C] = { category = "combining", count = 0, used = true  }, -- ̌
60    [0x0030D] = { category = "combining", count = 0, used = false }, -- ̍
61    [0x0030E] = { category = "combining", count = 0, used = false }, -- ̎
62    [0x0030F] = { category = "combining", count = 0, used = true  }, -- ̏
63    [0x00310] = { category = "combining", count = 0, used = false }, -- ̐
64    [0x00311] = { category = "combining", count = 0, used = true  }, -- ̑
65    [0x00312] = { category = "combining", count = 0, used = false }, -- ̒
66    [0x00313] = { category = "combining", count = 0, used = true  }, -- ̓
67    [0x00314] = { category = "combining", count = 0, used = true  }, -- ̔
68    [0x00315] = { category = "combining", count = 0, used = false }, -- ̕
69    [0x00316] = { category = "combining", count = 0, used = false }, -- ̖
70    [0x00317] = { category = "combining", count = 0, used = false }, -- ̗
71    [0x00318] = { category = "combining", count = 0, used = false }, -- ̘
72    [0x00319] = { category = "combining", count = 0, used = false }, -- ̙
73    [0x0031A] = { category = "combining", count = 0, used = false }, -- ̚
74    [0x0031B] = { category = "combining", count = 0, used = true  }, -- ̛
75    [0x0031C] = { category = "combining", count = 0, used = false }, -- ̜
76    [0x0031D] = { category = "combining", count = 0, used = false }, -- ̝
77    [0x0031E] = { category = "combining", count = 0, used = false }, -- ̞
78    [0x0031F] = { category = "combining", count = 0, used = false }, -- ̟
79    [0x00320] = { category = "combining", count = 0, used = false }, -- ̠
80    [0x00321] = { category = "combining", count = 0, used = false }, -- ̡
81    [0x00322] = { category = "combining", count = 0, used = false }, -- ̢
82    [0x00323] = { category = "combining", count = 0, used = true  }, -- ̣
83    [0x00324] = { category = "combining", count = 0, used = true  }, -- ̤
84    [0x00325] = { category = "combining", count = 0, used = true  }, -- ̥
85    [0x00326] = { category = "combining", count = 0, used = true  }, -- ̦
86    [0x00327] = { category = "combining", count = 0, used = true  }, -- ̧
87    [0x00328] = { category = "combining", count = 0, used = true  }, -- ̨
88    [0x00329] = { category = "combining", count = 0, used = false }, -- ̩
89    [0x0032A] = { category = "combining", count = 0, used = false }, -- ̪
90    [0x0032B] = { category = "combining", count = 0, used = false }, -- ̫
91    [0x0032C] = { category = "combining", count = 0, used = false }, -- ̬
92    [0x0032D] = { category = "combining", count = 0, used = true  }, -- ̭
93    [0x0032E] = { category = "combining", count = 0, used = true  }, -- ̮
94    [0x0032F] = { category = "combining", count = 0, used = false }, -- ̯
95    [0x00330] = { category = "combining", count = 0, used = true  }, -- ̰
96    [0x00331] = { category = "combining", count = 0, used = true  }, -- ̱
97    [0x00332] = { category = "combining", count = 0, used = false }, -- ̲
98    [0x00333] = { category = "combining", count = 0, used = false }, -- ̳
99    [0x00334] = { category = "combining", count = 0, used = false }, -- ̴
100    [0x00335] = { category = "combining", count = 0, used = false }, -- ̵
101    [0x00336] = { category = "combining", count = 0, used = false }, -- ̶
102    [0x00337] = { category = "combining", count = 0, used = false }, -- ̷
103    [0x00338] = { category = "combining", count = 0, used = false }, -- ̸
104    [0x00339] = { category = "combining", count = 0, used = false }, -- ̹
105    [0x0033A] = { category = "combining", count = 0, used = false }, -- ̺
106    [0x0033B] = { category = "combining", count = 0, used = false }, -- ̻
107    [0x0033C] = { category = "combining", count = 0, used = false }, -- ̼
108    [0x0033D] = { category = "combining", count = 0, used = false }, -- ̽
109    [0x0033E] = { category = "combining", count = 0, used = false }, -- ̾
110    [0x0033F] = { category = "combining", count = 0, used = false }, -- ̿
111    [0x00340] = { category = "combining", count = 0, used = false }, -- ̀
112    [0x00341] = { category = "combining", count = 0, used = false }, -- ́
113    [0x00342] = { category = "combining", count = 0, used = true  }, -- ͂
114    [0x00343] = { category = "combining", count = 0, used = false }, -- ̓
115    [0x00344] = { category = "combining", count = 0, used = false }, -- ̈́
116    [0x00345] = { category = "combining", count = 0, used = true  }, -- ͅ
117    [0x00346] = { category = "combining", count = 0, used = false }, -- ͆
118    [0x00347] = { category = "combining", count = 0, used = false }, -- ͇
119    [0x00348] = { category = "combining", count = 0, used = false }, -- ͈
120    [0x00349] = { category = "combining", count = 0, used = false }, -- ͉
121    [0x0034A] = { category = "combining", count = 0, used = false }, -- ͊
122    [0x0034B] = { category = "combining", count = 0, used = false }, -- ͋
123    [0x0034C] = { category = "combining", count = 0, used = false }, -- ͌
124    [0x0034D] = { category = "combining", count = 0, used = false }, -- ͍
125    [0x0034E] = { category = "combining", count = 0, used = false }, -- ͎
126    [0x0034F] = { category = "combining", count = 0, used = false }, -- ͏
127    [0x00350] = { category = "combining", count = 0, used = false }, -- ͐
128    [0x00351] = { category = "combining", count = 0, used = false }, -- ͑
129    [0x00352] = { category = "combining", count = 0, used = false }, -- ͒
130    [0x00353] = { category = "combining", count = 0, used = false }, -- ͓
131    [0x00354] = { category = "combining", count = 0, used = false }, -- ͔
132    [0x00355] = { category = "combining", count = 0, used = false }, -- ͕
133    [0x00356] = { category = "combining", count = 0, used = false }, -- ͖
134    [0x00357] = { category = "combining", count = 0, used = false }, -- ͗
135    [0x00358] = { category = "combining", count = 0, used = false }, -- ͘
136    [0x00359] = { category = "combining", count = 0, used = false }, -- ͙
137    [0x0035A] = { category = "combining", count = 0, used = false }, -- ͚
138    [0x0035B] = { category = "combining", count = 0, used = false }, -- ͛
139    [0x0035C] = { category = "combining", count = 0, used = false }, -- ͜
140    [0x0035D] = { category = "combining", count = 0, used = false }, -- ͝
141    [0x0035E] = { category = "combining", count = 0, used = false }, -- ͞
142    [0x0035F] = { category = "combining", count = 0, used = false }, -- ͟
143    [0x00360] = { category = "combining", count = 0, used = false }, -- ͠
144    [0x00361] = { category = "combining", count = 0, used = false }, -- ͡
145    [0x00362] = { category = "combining", count = 0, used = false }, -- ͢
146    [0x00363] = { category = "combining", count = 0, used = false }, -- ͣ
147    [0x00364] = { category = "combining", count = 0, used = false }, -- ͤ
148    [0x00365] = { category = "combining", count = 0, used = false }, -- ͥ
149    [0x00366] = { category = "combining", count = 0, used = false }, -- ͦ
150    [0x00367] = { category = "combining", count = 0, used = false }, -- ͧ
151    [0x00368] = { category = "combining", count = 0, used = false }, -- ͨ
152    [0x00369] = { category = "combining", count = 0, used = false }, -- ͩ
153    [0x0036A] = { category = "combining", count = 0, used = false }, -- ͪ
154    [0x0036B] = { category = "combining", count = 0, used = false }, -- ͫ
155    [0x0036C] = { category = "combining", count = 0, used = false }, -- ͬ
156    [0x0036D] = { category = "combining", count = 0, used = false }, -- ͭ
157    [0x0036E] = { category = "combining", count = 0, used = false }, -- ͮ
158    [0x0036F] = { category = "combining", count = 0, used = false }, -- ͯ
159    [0x00483] = { category = "combining", count = 0, used = false }, -- ҃
160    [0x00484] = { category = "combining", count = 0, used = false }, -- ҄
161    [0x00485] = { category = "combining", count = 0, used = false }, -- ҅
162    [0x00486] = { category = "combining", count = 0, used = false }, -- ҆
163    [0x00487] = { category = "combining", count = 0, used = false }, -- ҇
164}
165