1 /**
2  * Compiler implementation of the
3  * $(LINK2 http://www.dlang.org, D programming language).
4  *
5  * Copyright:   Copyright (c) 1999-2016 by Digital Mars, All Rights Reserved
6  * Authors:     $(LINK2 http://www.digitalmars.com, Walter Bright)
7  * License:     $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
8  * Source:      $(DMDSRC _entity.d)
9  */
10 
11 module ddmd.entity;
12 
13 import core.stdc.ctype;
14 
15 private:
16 
17 /*********************************************
18  * Convert from named entity to its encoding.
19  * For reference:
20  *      http://www.htmlhelp.com/reference/html40/entities/
21  *      http://www.w3.org/2003/entities/2007/w3centities-f.ent
22  */
23 struct NameId
24 {
25     string name;
26     uint value;
27 }
28 
29 immutable NameId[] namesA =
30 [
31     {"Aacgr",            0x00386},  // GREEK CAPITAL LETTER ALPHA WITH TONOS
32     {"aacgr",            0x003AC},  // GREEK SMALL LETTER ALPHA WITH TONOS
33     {"Aacute",           0x000C1},  // LATIN CAPITAL LETTER A WITH ACUTE
34     {"aacute",           0x000E1},  // LATIN SMALL LETTER A WITH ACUTE
35     {"Abreve",           0x00102},  // LATIN CAPITAL LETTER A WITH BREVE
36     {"abreve",           0x00103},  // LATIN SMALL LETTER A WITH BREVE
37     {"ac",               0x0223E},  // INVERTED LAZY S
38     {"acd",              0x0223F},  // SINE WAVE
39 //  {"acE",              0x0223E;0x00333},  // INVERTED LAZY S with double underline
40     {"Acirc",            0x000C2},  // LATIN CAPITAL LETTER A WITH CIRCUMFLEX
41     {"acirc",            0x000E2},  // LATIN SMALL LETTER A WITH CIRCUMFLEX
42     {"acute",            0x000B4},  // ACUTE ACCENT
43     {"Acy",              0x00410},  // CYRILLIC CAPITAL LETTER A
44     {"acy",              0x00430},  // CYRILLIC SMALL LETTER A
45     {"AElig",            0x000C6},  // LATIN CAPITAL LETTER AE
46     {"aelig",            0x000E6},  // LATIN SMALL LETTER AE
47     {"af",               0x02061},  // FUNCTION APPLICATION
48     {"Afr",              0x1D504},  // MATHEMATICAL FRAKTUR CAPITAL A
49     {"afr",              0x1D51E},  // MATHEMATICAL FRAKTUR SMALL A
50     {"Agr",              0x00391},  // GREEK CAPITAL LETTER ALPHA
51     {"agr",              0x003B1},  // GREEK SMALL LETTER ALPHA
52     {"Agrave",           0x000C0},  // LATIN CAPITAL LETTER A WITH GRAVE
53     {"agrave",           0x000E0},  // LATIN SMALL LETTER A WITH GRAVE
54     {"alefsym",          0x02135},  // ALEF SYMBOL
55     {"aleph",            0x02135},  // ALEF SYMBOL
56     {"Alpha",            0x00391},  // GREEK CAPITAL LETTER ALPHA
57     {"alpha",            0x003B1},  // GREEK SMALL LETTER ALPHA
58     {"Amacr",            0x00100},  // LATIN CAPITAL LETTER A WITH MACRON
59     {"amacr",            0x00101},  // LATIN SMALL LETTER A WITH MACRON
60     {"amalg",            0x02A3F},  // AMALGAMATION OR COPRODUCT
61     {"amp",              0x00026},  // AMPERSAND
62     {"AMP",              0x00026},  // AMPERSAND
63     {"and",              0x02227},  // LOGICAL AND
64     {"And",              0x02A53},  // DOUBLE LOGICAL AND
65     {"andand",           0x02A55},  // TWO INTERSECTING LOGICAL AND
66     {"andd",             0x02A5C},  // LOGICAL AND WITH HORIZONTAL DASH
67     {"andslope",         0x02A58},  // SLOPING LARGE AND
68     {"andv",             0x02A5A},  // LOGICAL AND WITH MIDDLE STEM
69     {"ang",              0x02220},  // ANGLE
70     {"ange",             0x029A4},  // ANGLE WITH UNDERBAR
71     {"angle",            0x02220},  // ANGLE
72     {"angmsd",           0x02221},  // MEASURED ANGLE
73     {"angmsdaa",         0x029A8},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND RIGHT
74     {"angmsdab",         0x029A9},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND LEFT
75     {"angmsdac",         0x029AA},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND RIGHT
76     {"angmsdad",         0x029AB},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND LEFT
77     {"angmsdae",         0x029AC},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND UP
78     {"angmsdaf",         0x029AD},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND UP
79     {"angmsdag",         0x029AE},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND DOWN
80     {"angmsdah",         0x029AF},  // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND DOWN
81     {"angrt",            0x0221F},  // RIGHT ANGLE
82     {"angrtvb",          0x022BE},  // RIGHT ANGLE WITH ARC
83     {"angrtvbd",         0x0299D},  // MEASURED RIGHT ANGLE WITH DOT
84     {"angsph",           0x02222},  // SPHERICAL ANGLE
85     {"angst",            0x000C5},  // LATIN CAPITAL LETTER A WITH RING ABOVE
86     {"angzarr",          0x0237C},  // RIGHT ANGLE WITH DOWNWARDS ZIGZAG ARROW
87     {"Aogon",            0x00104},  // LATIN CAPITAL LETTER A WITH OGONEK
88     {"aogon",            0x00105},  // LATIN SMALL LETTER A WITH OGONEK
89     {"Aopf",             0x1D538},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL A
90     {"aopf",             0x1D552},  // MATHEMATICAL DOUBLE-STRUCK SMALL A
91     {"ap",               0x02248},  // ALMOST EQUAL TO
92     {"apacir",           0x02A6F},  // ALMOST EQUAL TO WITH CIRCUMFLEX ACCENT
93     {"ape",              0x0224A},  // ALMOST EQUAL OR EQUAL TO
94     {"apE",              0x02A70},  // APPROXIMATELY EQUAL OR EQUAL TO
95     {"apid",             0x0224B},  // TRIPLE TILDE
96     {"apos",             0x00027},  // APOSTROPHE
97     {"ApplyFunction",    0x02061},  // FUNCTION APPLICATION
98     {"approx",           0x02248},  // ALMOST EQUAL TO
99     {"approxeq",         0x0224A},  // ALMOST EQUAL OR EQUAL TO
100     {"Aring",            0x000C5},  // LATIN CAPITAL LETTER A WITH RING ABOVE
101     {"aring",            0x000E5},  // LATIN SMALL LETTER A WITH RING ABOVE
102     {"Ascr",             0x1D49C},  // MATHEMATICAL SCRIPT CAPITAL A
103     {"ascr",             0x1D4B6},  // MATHEMATICAL SCRIPT SMALL A
104     {"Assign",           0x02254},  // COLON EQUALS
105     {"ast",              0x0002A},  // ASTERISK
106     {"asymp",            0x02248},  // ALMOST EQUAL TO
107     {"asympeq",          0x0224D},  // EQUIVALENT TO
108     {"Atilde",           0x000C3},  // LATIN CAPITAL LETTER A WITH TILDE
109     {"atilde",           0x000E3},  // LATIN SMALL LETTER A WITH TILDE
110     {"Auml",             0x000C4},  // LATIN CAPITAL LETTER A WITH DIAERESIS
111     {"auml",             0x000E4},  // LATIN SMALL LETTER A WITH DIAERESIS
112     {"awconint",         0x02233},  // ANTICLOCKWISE CONTOUR INTEGRAL
113     {"awint",            0x02A11},  // ANTICLOCKWISE INTEGRATION
114 ];
115 
116 immutable NameId[] namesB =
117 [
118     {"backcong",         0x0224C},  // ALL EQUAL TO
119     {"backepsilon",      0x003F6},  // GREEK REVERSED LUNATE EPSILON SYMBOL
120     {"backprime",        0x02035},  // REVERSED PRIME
121     {"backsim",          0x0223D},  // REVERSED TILDE
122     {"backsimeq",        0x022CD},  // REVERSED TILDE EQUALS
123     {"Backslash",        0x02216},  // SET MINUS
124 //  "b.alpha",          0x1D6C2},  // MATHEMATICAL BOLD SMALL ALPHA
125     {"Barv",             0x02AE7},  // SHORT DOWN TACK WITH OVERBAR
126     {"barvee",           0x022BD},  // NOR
127     {"barwed",           0x02305},  // PROJECTIVE
128     {"Barwed",           0x02306},  // PERSPECTIVE
129     {"barwedge",         0x02305},  // PROJECTIVE
130 //  "b.beta",           0x1D6C3},  // MATHEMATICAL BOLD SMALL BETA
131     {"bbrk",             0x023B5},  // BOTTOM SQUARE BRACKET
132     {"bbrktbrk",         0x023B6},  // BOTTOM SQUARE BRACKET OVER TOP SQUARE BRACKET
133 //  "b.chi",            0x1D6D8},  // MATHEMATICAL BOLD SMALL CHI
134     {"bcong",            0x0224C},  // ALL EQUAL TO
135     {"Bcy",              0x00411},  // CYRILLIC CAPITAL LETTER BE
136     {"bcy",              0x00431},  // CYRILLIC SMALL LETTER BE
137 //  "b.Delta",          0x1D6AB},  // MATHEMATICAL BOLD CAPITAL DELTA
138 //  "b.delta",          0x1D6C5},  // MATHEMATICAL BOLD SMALL DELTA
139     {"bdquo",            0x0201E},  // DOUBLE LOW-9 QUOTATION MARK
140     {"becaus",           0x02235},  // BECAUSE
141     {"because",          0x02235},  // BECAUSE
142     {"Because",          0x02235},  // BECAUSE
143     {"bemptyv",          0x029B0},  // REVERSED EMPTY SET
144     {"bepsi",            0x003F6},  // GREEK REVERSED LUNATE EPSILON SYMBOL
145 //  "b.epsi",           0x1D6C6},  // MATHEMATICAL BOLD SMALL EPSILON
146 //  "b.epsiv",          0x1D6DC},  // MATHEMATICAL BOLD EPSILON SYMBOL
147     {"bernou",           0x0212C},  // SCRIPT CAPITAL B
148     {"Bernoullis",       0x0212C},  // SCRIPT CAPITAL B
149     {"Beta",             0x00392},  // GREEK CAPITAL LETTER BETA
150     {"beta",             0x003B2},  // GREEK SMALL LETTER BETA
151 //  "b.eta",            0x1D6C8},  // MATHEMATICAL BOLD SMALL ETA
152     {"beth",             0x02136},  // BET SYMBOL
153     {"between",          0x0226C},  // BETWEEN
154     {"Bfr",              0x1D505},  // MATHEMATICAL FRAKTUR CAPITAL B
155     {"bfr",              0x1D51F},  // MATHEMATICAL FRAKTUR SMALL B
156 //  "b.Gamma",          0x1D6AA},  // MATHEMATICAL BOLD CAPITAL GAMMA
157 //  "b.gamma",          0x1D6C4},  // MATHEMATICAL BOLD SMALL GAMMA
158 //  "b.Gammad",         0x1D7CA},  // MATHEMATICAL BOLD CAPITAL DIGAMMA
159 //  "b.gammad",         0x1D7CB},  // MATHEMATICAL BOLD SMALL DIGAMMA
160     {"Bgr",              0x00392},  // GREEK CAPITAL LETTER BETA
161     {"bgr",              0x003B2},  // GREEK SMALL LETTER BETA
162     {"bigcap",           0x022C2},  // N-ARY INTERSECTION
163     {"bigcirc",          0x025EF},  // LARGE CIRCLE
164     {"bigcup",           0x022C3},  // N-ARY UNION
165     {"bigodot",          0x02A00},  // N-ARY CIRCLED DOT OPERATOR
166     {"bigoplus",         0x02A01},  // N-ARY CIRCLED PLUS OPERATOR
167     {"bigotimes",        0x02A02},  // N-ARY CIRCLED TIMES OPERATOR
168     {"bigsqcup",         0x02A06},  // N-ARY SQUARE UNION OPERATOR
169     {"bigstar",          0x02605},  // BLACK STAR
170     {"bigtriangledown",  0x025BD},  // WHITE DOWN-POINTING TRIANGLE
171     {"bigtriangleup",    0x025B3},  // WHITE UP-POINTING TRIANGLE
172     {"biguplus",         0x02A04},  // N-ARY UNION OPERATOR WITH PLUS
173     {"bigvee",           0x022C1},  // N-ARY LOGICAL OR
174     {"bigwedge",         0x022C0},  // N-ARY LOGICAL AND
175 //  "b.iota",           0x1D6CA},  // MATHEMATICAL BOLD SMALL IOTA
176 //  "b.kappa",          0x1D6CB},  // MATHEMATICAL BOLD SMALL KAPPA
177 //  "b.kappav",         0x1D6DE},  // MATHEMATICAL BOLD KAPPA SYMBOL
178     {"bkarow",           0x0290D},  // RIGHTWARDS DOUBLE DASH ARROW
179     {"blacklozenge",     0x029EB},  // BLACK LOZENGE
180     {"blacksquare",      0x025AA},  // BLACK SMALL SQUARE
181     {"blacktriangle",    0x025B4},  // BLACK UP-POINTING SMALL TRIANGLE
182     {"blacktriangledown", 0x025BE},  // BLACK DOWN-POINTING SMALL TRIANGLE
183     {"blacktriangleleft", 0x025C2},  // BLACK LEFT-POINTING SMALL TRIANGLE
184     {"blacktriangleright", 0x025B8},  // BLACK RIGHT-POINTING SMALL TRIANGLE
185 //  "b.Lambda",         0x1D6B2},  // MATHEMATICAL BOLD CAPITAL LAMDA
186 //  "b.lambda",         0x1D6CC},  // MATHEMATICAL BOLD SMALL LAMDA
187     {"blank",            0x02423},  // OPEN BOX
188     {"blk12",            0x02592},  // MEDIUM SHADE
189     {"blk14",            0x02591},  // LIGHT SHADE
190     {"blk34",            0x02593},  // DARK SHADE
191     {"block",            0x02588},  // FULL BLOCK
192 //  "b.mu",             0x1D6CD},  // MATHEMATICAL BOLD SMALL MU
193 //  "bne",              0x0003D;0x020E5},  // EQUALS SIGN with reverse slash
194 //  "bnequiv",          0x02261;0x020E5},  // IDENTICAL TO with reverse slash
195     {"bnot",             0x02310},  // REVERSED NOT SIGN
196     {"bNot",             0x02AED},  // REVERSED DOUBLE STROKE NOT SIGN
197 //  "b.nu",             0x1D6CE},  // MATHEMATICAL BOLD SMALL NU
198 //  "b.Omega",          0x1D6C0},  // MATHEMATICAL BOLD CAPITAL OMEGA
199 //  "b.omega",          0x1D6DA},  // MATHEMATICAL BOLD SMALL OMEGA
200     {"Bopf",             0x1D539},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL B
201     {"bopf",             0x1D553},  // MATHEMATICAL DOUBLE-STRUCK SMALL B
202     {"bot",              0x022A5},  // UP TACK
203     {"bottom",           0x022A5},  // UP TACK
204     {"bowtie",           0x022C8},  // BOWTIE
205     {"boxbox",           0x029C9},  // TWO JOINED SQUARES
206     {"boxdl",            0x02510},  // BOX DRAWINGS LIGHT DOWN AND LEFT
207     {"boxdL",            0x02555},  // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
208     {"boxDl",            0x02556},  // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
209     {"boxDL",            0x02557},  // BOX DRAWINGS DOUBLE DOWN AND LEFT
210     {"boxdr",            0x0250C},  // BOX DRAWINGS LIGHT DOWN AND RIGHT
211     {"boxdR",            0x02552},  // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
212     {"boxDr",            0x02553},  // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
213     {"boxDR",            0x02554},  // BOX DRAWINGS DOUBLE DOWN AND RIGHT
214     {"boxh",             0x02500},  // BOX DRAWINGS LIGHT HORIZONTAL
215     {"boxH",             0x02550},  // BOX DRAWINGS DOUBLE HORIZONTAL
216     {"boxhd",            0x0252C},  // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
217     {"boxHd",            0x02564},  // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
218     {"boxhD",            0x02565},  // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
219     {"boxHD",            0x02566},  // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
220     {"boxhu",            0x02534},  // BOX DRAWINGS LIGHT UP AND HORIZONTAL
221     {"boxHu",            0x02567},  // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
222     {"boxhU",            0x02568},  // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
223     {"boxHU",            0x02569},  // BOX DRAWINGS DOUBLE UP AND HORIZONTAL
224     {"boxminus",         0x0229F},  // SQUARED MINUS
225     {"boxplus",          0x0229E},  // SQUARED PLUS
226     {"boxtimes",         0x022A0},  // SQUARED TIMES
227     {"boxul",            0x02518},  // BOX DRAWINGS LIGHT UP AND LEFT
228     {"boxuL",            0x0255B},  // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
229     {"boxUl",            0x0255C},  // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
230     {"boxUL",            0x0255D},  // BOX DRAWINGS DOUBLE UP AND LEFT
231     {"boxur",            0x02514},  // BOX DRAWINGS LIGHT UP AND RIGHT
232     {"boxuR",            0x02558},  // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
233     {"boxUr",            0x02559},  // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
234     {"boxUR",            0x0255A},  // BOX DRAWINGS DOUBLE UP AND RIGHT
235     {"boxv",             0x02502},  // BOX DRAWINGS LIGHT VERTICAL
236     {"boxV",             0x02551},  // BOX DRAWINGS DOUBLE VERTICAL
237     {"boxvh",            0x0253C},  // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
238     {"boxvH",            0x0256A},  // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
239     {"boxVh",            0x0256B},  // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
240     {"boxVH",            0x0256C},  // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
241     {"boxvl",            0x02524},  // BOX DRAWINGS LIGHT VERTICAL AND LEFT
242     {"boxvL",            0x02561},  // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
243     {"boxVl",            0x02562},  // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
244     {"boxVL",            0x02563},  // BOX DRAWINGS DOUBLE VERTICAL AND LEFT
245     {"boxvr",            0x0251C},  // BOX DRAWINGS LIGHT VERTICAL AND RIGHT
246     {"boxvR",            0x0255E},  // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
247     {"boxVr",            0x0255F},  // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
248     {"boxVR",            0x02560},  // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
249 //  "b.Phi",            0x1D6BD},  // MATHEMATICAL BOLD CAPITAL PHI
250 //  "b.phi",            0x1D6D7},  // MATHEMATICAL BOLD SMALL PHI
251 //  "b.phiv",           0x1D6DF},  // MATHEMATICAL BOLD PHI SYMBOL
252 //  "b.Pi",             0x1D6B7},  // MATHEMATICAL BOLD CAPITAL PI
253 //  "b.pi",             0x1D6D1},  // MATHEMATICAL BOLD SMALL PI
254 //  "b.piv",            0x1D6E1},  // MATHEMATICAL BOLD PI SYMBOL
255     {"bprime",           0x02035},  // REVERSED PRIME
256 //  "b.Psi",            0x1D6BF},  // MATHEMATICAL BOLD CAPITAL PSI
257 //  "b.psi",            0x1D6D9},  // MATHEMATICAL BOLD SMALL PSI
258     {"breve",            0x002D8},  // BREVE
259     {"Breve",            0x002D8},  // BREVE
260 //  "b.rho",            0x1D6D2},  // MATHEMATICAL BOLD SMALL RHO
261 //  "b.rhov",           0x1D6E0},  // MATHEMATICAL BOLD RHO SYMBOL
262     {"brvbar",           0x000A6},  // BROKEN BAR
263     {"Bscr",             0x0212C},  // SCRIPT CAPITAL B
264     {"bscr",             0x1D4B7},  // MATHEMATICAL SCRIPT SMALL B
265     {"bsemi",            0x0204F},  // REVERSED SEMICOLON
266 //  "b.Sigma",          0x1D6BA},  // MATHEMATICAL BOLD CAPITAL SIGMA
267 //  "b.sigma",          0x1D6D4},  // MATHEMATICAL BOLD SMALL SIGMA
268 //  "b.sigmav",         0x1D6D3},  // MATHEMATICAL BOLD SMALL FINAL SIGMA
269     {"bsim",             0x0223D},  // REVERSED TILDE
270     {"bsime",            0x022CD},  // REVERSED TILDE EQUALS
271     {"bsol",             0x0005C},  // REVERSE SOLIDUS
272     {"bsolb",            0x029C5},  // SQUARED FALLING DIAGONAL SLASH
273     {"bsolhsub",         0x027C8},  // REVERSE SOLIDUS PRECEDING SUBSET
274 //  "b.tau",            0x1D6D5},  // MATHEMATICAL BOLD SMALL TAU
275 //  "b.Theta",          0x1D6AF},  // MATHEMATICAL BOLD CAPITAL THETA
276 //  "b.thetas",         0x1D6C9},  // MATHEMATICAL BOLD SMALL THETA
277 //  "b.thetav",         0x1D6DD},  // MATHEMATICAL BOLD THETA SYMBOL
278     {"bull",             0x02022},  // BULLET
279     {"bullet",           0x02022},  // BULLET
280     {"bump",             0x0224E},  // GEOMETRICALLY EQUIVALENT TO
281     {"bumpe",            0x0224F},  // DIFFERENCE BETWEEN
282     {"bumpE",            0x02AAE},  // EQUALS SIGN WITH BUMPY ABOVE
283     {"Bumpeq",           0x0224E},  // GEOMETRICALLY EQUIVALENT TO
284     {"bumpeq",           0x0224F},  // DIFFERENCE BETWEEN
285 //  "b.Upsi",           0x1D6BC},  // MATHEMATICAL BOLD CAPITAL UPSILON
286 //  "b.upsi",           0x1D6D6},  // MATHEMATICAL BOLD SMALL UPSILON
287 //  "b.Xi",             0x1D6B5},  // MATHEMATICAL BOLD CAPITAL XI
288 //  "b.xi",             0x1D6CF},  // MATHEMATICAL BOLD SMALL XI
289 //  "b.zeta",           0x1D6C7},  // MATHEMATICAL BOLD SMALL ZETA
290 ];
291 
292 immutable NameId[] namesC =
293 [
294     {"Cacute",           0x00106},  // LATIN CAPITAL LETTER C WITH ACUTE
295     {"cacute",           0x00107},  // LATIN SMALL LETTER C WITH ACUTE
296     {"cap",              0x02229},  // INTERSECTION
297     {"Cap",              0x022D2},  // DOUBLE INTERSECTION
298     {"capand",           0x02A44},  // INTERSECTION WITH LOGICAL AND
299     {"capbrcup",         0x02A49},  // INTERSECTION ABOVE BAR ABOVE UNION
300     {"capcap",           0x02A4B},  // INTERSECTION BESIDE AND JOINED WITH INTERSECTION
301     {"capcup",           0x02A47},  // INTERSECTION ABOVE UNION
302     {"capdot",           0x02A40},  // INTERSECTION WITH DOT
303     {"CapitalDifferentialD", 0x02145},  // DOUBLE-STRUCK ITALIC CAPITAL D
304 //  "caps",             0x02229;0x0FE00},  // INTERSECTION with serifs
305     {"caret",            0x02041},  // CARET INSERTION POINT
306     {"caron",            0x002C7},  // CARON
307     {"Cayleys",          0x0212D},  // BLACK-LETTER CAPITAL C
308     {"ccaps",            0x02A4D},  // CLOSED INTERSECTION WITH SERIFS
309     {"Ccaron",           0x0010C},  // LATIN CAPITAL LETTER C WITH CARON
310     {"ccaron",           0x0010D},  // LATIN SMALL LETTER C WITH CARON
311     {"Ccedil",           0x000C7},  // LATIN CAPITAL LETTER C WITH CEDILLA
312     {"ccedil",           0x000E7},  // LATIN SMALL LETTER C WITH CEDILLA
313     {"Ccirc",            0x00108},  // LATIN CAPITAL LETTER C WITH CIRCUMFLEX
314     {"ccirc",            0x00109},  // LATIN SMALL LETTER C WITH CIRCUMFLEX
315     {"Cconint",          0x02230},  // VOLUME INTEGRAL
316     {"ccups",            0x02A4C},  // CLOSED UNION WITH SERIFS
317     {"ccupssm",          0x02A50},  // CLOSED UNION WITH SERIFS AND SMASH PRODUCT
318     {"Cdot",             0x0010A},  // LATIN CAPITAL LETTER C WITH DOT ABOVE
319     {"cdot",             0x0010B},  // LATIN SMALL LETTER C WITH DOT ABOVE
320     {"cedil",            0x000B8},  // CEDILLA
321     {"Cedilla",          0x000B8},  // CEDILLA
322     {"cemptyv",          0x029B2},  // EMPTY SET WITH SMALL CIRCLE ABOVE
323     {"cent",             0x000A2},  // CENT SIGN
324     {"centerdot",        0x000B7},  // MIDDLE DOT
325     {"CenterDot",        0x000B7},  // MIDDLE DOT
326     {"Cfr",              0x0212D},  // BLACK-LETTER CAPITAL C
327     {"cfr",              0x1D520},  // MATHEMATICAL FRAKTUR SMALL C
328     {"CHcy",             0x00427},  // CYRILLIC CAPITAL LETTER CHE
329     {"chcy",             0x00447},  // CYRILLIC SMALL LETTER CHE
330     {"check",            0x02713},  // CHECK MARK
331     {"checkmark",        0x02713},  // CHECK MARK
332     {"Chi",              0x003A7},  // GREEK CAPITAL LETTER CHI
333     {"chi",              0x003C7},  // GREEK SMALL LETTER CHI
334     {"cir",              0x025CB},  // WHITE CIRCLE
335     {"circ",             0x002C6},  // MODIFIER LETTER CIRCUMFLEX ACCENT
336     {"circeq",           0x02257},  // RING EQUAL TO
337     {"circlearrowleft",  0x021BA},  // ANTICLOCKWISE OPEN CIRCLE ARROW
338     {"circlearrowright", 0x021BB},  // CLOCKWISE OPEN CIRCLE ARROW
339     {"circledast",       0x0229B},  // CIRCLED ASTERISK OPERATOR
340     {"circledcirc",      0x0229A},  // CIRCLED RING OPERATOR
341     {"circleddash",      0x0229D},  // CIRCLED DASH
342     {"CircleDot",        0x02299},  // CIRCLED DOT OPERATOR
343     {"circledR",         0x000AE},  // REGISTERED SIGN
344     {"circledS",         0x024C8},  // CIRCLED LATIN CAPITAL LETTER S
345     {"CircleMinus",      0x02296},  // CIRCLED MINUS
346     {"CirclePlus",       0x02295},  // CIRCLED PLUS
347     {"CircleTimes",      0x02297},  // CIRCLED TIMES
348     {"cire",             0x02257},  // RING EQUAL TO
349     {"cirE",             0x029C3},  // CIRCLE WITH TWO HORIZONTAL STROKES TO THE RIGHT
350     {"cirfnint",         0x02A10},  // CIRCULATION FUNCTION
351     {"cirmid",           0x02AEF},  // VERTICAL LINE WITH CIRCLE ABOVE
352     {"cirscir",          0x029C2},  // CIRCLE WITH SMALL CIRCLE TO THE RIGHT
353     {"ClockwiseContourIntegral", 0x02232},  // CLOCKWISE CONTOUR INTEGRAL
354     {"CloseCurlyDoubleQuote", 0x0201D},  // RIGHT DOUBLE QUOTATION MARK
355     {"CloseCurlyQuote",  0x02019},  // RIGHT SINGLE QUOTATION MARK
356     {"clubs",            0x02663},  // BLACK CLUB SUIT
357     {"clubsuit",         0x02663},  // BLACK CLUB SUIT
358     {"colon",            0x0003A},  // COLON
359     {"Colon",            0x02237},  // PROPORTION
360     {"colone",           0x02254},  // COLON EQUALS
361     {"Colone",           0x02A74},  // DOUBLE COLON EQUAL
362     {"coloneq",          0x02254},  // COLON EQUALS
363     {"comma",            0x0002C},  // COMMA
364     {"commat",           0x00040},  // COMMERCIAL AT
365     {"comp",             0x02201},  // COMPLEMENT
366     {"compfn",           0x02218},  // RING OPERATOR
367     {"complement",       0x02201},  // COMPLEMENT
368     {"complexes",        0x02102},  // DOUBLE-STRUCK CAPITAL C
369     {"cong",             0x02245},  // APPROXIMATELY EQUAL TO
370     {"congdot",          0x02A6D},  // CONGRUENT WITH DOT ABOVE
371     {"Congruent",        0x02261},  // IDENTICAL TO
372     {"conint",           0x0222E},  // CONTOUR INTEGRAL
373     {"Conint",           0x0222F},  // SURFACE INTEGRAL
374     {"ContourIntegral",  0x0222E},  // CONTOUR INTEGRAL
375     {"Copf",             0x02102},  // DOUBLE-STRUCK CAPITAL C
376     {"copf",             0x1D554},  // MATHEMATICAL DOUBLE-STRUCK SMALL C
377     {"coprod",           0x02210},  // N-ARY COPRODUCT
378     {"Coproduct",        0x02210},  // N-ARY COPRODUCT
379     {"copy",             0x000A9},  // COPYRIGHT SIGN
380     {"COPY",             0x000A9},  // COPYRIGHT SIGN
381     {"copysr",           0x02117},  // SOUND RECORDING COPYRIGHT
382     {"CounterClockwiseContourIntegral", 0x02233},  // ANTICLOCKWISE CONTOUR INTEGRAL
383     {"crarr",            0x021B5},  // DOWNWARDS ARROW WITH CORNER LEFTWARDS
384     {"cross",            0x02717},  // BALLOT X
385     {"Cross",            0x02A2F},  // VECTOR OR CROSS PRODUCT
386     {"Cscr",             0x1D49E},  // MATHEMATICAL SCRIPT CAPITAL C
387     {"cscr",             0x1D4B8},  // MATHEMATICAL SCRIPT SMALL C
388     {"csub",             0x02ACF},  // CLOSED SUBSET
389     {"csube",            0x02AD1},  // CLOSED SUBSET OR EQUAL TO
390     {"csup",             0x02AD0},  // CLOSED SUPERSET
391     {"csupe",            0x02AD2},  // CLOSED SUPERSET OR EQUAL TO
392     {"ctdot",            0x022EF},  // MIDLINE HORIZONTAL ELLIPSIS
393     {"cudarrl",          0x02938},  // RIGHT-SIDE ARC CLOCKWISE ARROW
394     {"cudarrr",          0x02935},  // ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS
395     {"cuepr",            0x022DE},  // EQUAL TO OR PRECEDES
396     {"cuesc",            0x022DF},  // EQUAL TO OR SUCCEEDS
397     {"cularr",           0x021B6},  // ANTICLOCKWISE TOP SEMICIRCLE ARROW
398     {"cularrp",          0x0293D},  // TOP ARC ANTICLOCKWISE ARROW WITH PLUS
399     {"cup",              0x0222A},  // UNION
400     {"Cup",              0x022D3},  // DOUBLE UNION
401     {"cupbrcap",         0x02A48},  // UNION ABOVE BAR ABOVE INTERSECTION
402     {"CupCap",           0x0224D},  // EQUIVALENT TO
403     {"cupcap",           0x02A46},  // UNION ABOVE INTERSECTION
404     {"cupcup",           0x02A4A},  // UNION BESIDE AND JOINED WITH UNION
405     {"cupdot",           0x0228D},  // MULTISET MULTIPLICATION
406     {"cupor",            0x02A45},  // UNION WITH LOGICAL OR
407 //  "cups",             0x0222A;0x0FE00},  // UNION with serifs
408     {"curarr",           0x021B7},  // CLOCKWISE TOP SEMICIRCLE ARROW
409     {"curarrm",          0x0293C},  // TOP ARC CLOCKWISE ARROW WITH MINUS
410     {"curlyeqprec",      0x022DE},  // EQUAL TO OR PRECEDES
411     {"curlyeqsucc",      0x022DF},  // EQUAL TO OR SUCCEEDS
412     {"curlyvee",         0x022CE},  // CURLY LOGICAL OR
413     {"curlywedge",       0x022CF},  // CURLY LOGICAL AND
414     {"curren",           0x000A4},  // CURRENCY SIGN
415     {"curvearrowleft",   0x021B6},  // ANTICLOCKWISE TOP SEMICIRCLE ARROW
416     {"curvearrowright",  0x021B7},  // CLOCKWISE TOP SEMICIRCLE ARROW
417     {"cuvee",            0x022CE},  // CURLY LOGICAL OR
418     {"cuwed",            0x022CF},  // CURLY LOGICAL AND
419     {"cwconint",         0x02232},  // CLOCKWISE CONTOUR INTEGRAL
420     {"cwint",            0x02231},  // CLOCKWISE INTEGRAL
421     {"cylcty",           0x0232D},  // CYLINDRICITY
422 ];
423 
424 immutable NameId[] namesD =
425 [
426     {"dagger",           0x02020},  // DAGGER
427     {"Dagger",           0x02021},  // DOUBLE DAGGER
428     {"daleth",           0x02138},  // DALET SYMBOL
429     {"darr",             0x02193},  // DOWNWARDS ARROW
430     {"Darr",             0x021A1},  // DOWNWARDS TWO HEADED ARROW
431     {"dArr",             0x021D3},  // DOWNWARDS DOUBLE ARROW
432     {"dash",             0x02010},  // HYPHEN
433     {"dashv",            0x022A3},  // LEFT TACK
434     {"Dashv",            0x02AE4},  // VERTICAL BAR DOUBLE LEFT TURNSTILE
435     {"dbkarow",          0x0290F},  // RIGHTWARDS TRIPLE DASH ARROW
436     {"dblac",            0x002DD},  // DOUBLE ACUTE ACCENT
437     {"Dcaron",           0x0010E},  // LATIN CAPITAL LETTER D WITH CARON
438     {"dcaron",           0x0010F},  // LATIN SMALL LETTER D WITH CARON
439     {"Dcy",              0x00414},  // CYRILLIC CAPITAL LETTER DE
440     {"dcy",              0x00434},  // CYRILLIC SMALL LETTER DE
441     {"DD",               0x02145},  // DOUBLE-STRUCK ITALIC CAPITAL D
442     {"dd",               0x02146},  // DOUBLE-STRUCK ITALIC SMALL D
443     {"ddagger",          0x02021},  // DOUBLE DAGGER
444     {"ddarr",            0x021CA},  // DOWNWARDS PAIRED ARROWS
445     {"DDotrahd",         0x02911},  // RIGHTWARDS ARROW WITH DOTTED STEM
446     {"ddotseq",          0x02A77},  // EQUALS SIGN WITH TWO DOTS ABOVE AND TWO DOTS BELOW
447     {"deg",              0x000B0},  // DEGREE SIGN
448     {"Del",              0x02207},  // NABLA
449     {"Delta",            0x00394},  // GREEK CAPITAL LETTER DELTA
450     {"delta",            0x003B4},  // GREEK SMALL LETTER DELTA
451     {"demptyv",          0x029B1},  // EMPTY SET WITH OVERBAR
452     {"dfisht",           0x0297F},  // DOWN FISH TAIL
453     {"Dfr",              0x1D507},  // MATHEMATICAL FRAKTUR CAPITAL D
454     {"dfr",              0x1D521},  // MATHEMATICAL FRAKTUR SMALL D
455     {"Dgr",              0x00394},  // GREEK CAPITAL LETTER DELTA
456     {"dgr",              0x003B4},  // GREEK SMALL LETTER DELTA
457     {"dHar",             0x02965},  // DOWNWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT
458     {"dharl",            0x021C3},  // DOWNWARDS HARPOON WITH BARB LEFTWARDS
459     {"dharr",            0x021C2},  // DOWNWARDS HARPOON WITH BARB RIGHTWARDS
460     {"DiacriticalAcute", 0x000B4},  // ACUTE ACCENT
461     {"DiacriticalDot",   0x002D9},  // DOT ABOVE
462     {"DiacriticalDoubleAcute", 0x002DD},  // DOUBLE ACUTE ACCENT
463     {"DiacriticalGrave", 0x00060},  // GRAVE ACCENT
464     {"DiacriticalTilde", 0x002DC},  // SMALL TILDE
465     {"diam",             0x022C4},  // DIAMOND OPERATOR
466     {"diamond",          0x022C4},  // DIAMOND OPERATOR
467     {"Diamond",          0x022C4},  // DIAMOND OPERATOR
468     {"diamondsuit",      0x02666},  // BLACK DIAMOND SUIT
469     {"diams",            0x02666},  // BLACK DIAMOND SUIT
470     {"die",              0x000A8},  // DIAERESIS
471     {"DifferentialD",    0x02146},  // DOUBLE-STRUCK ITALIC SMALL D
472     {"digamma",          0x003DD},  // GREEK SMALL LETTER DIGAMMA
473     {"disin",            0x022F2},  // ELEMENT OF WITH LONG HORIZONTAL STROKE
474     {"div",              0x000F7},  // DIVISION SIGN
475     {"divide",           0x000F7},  // DIVISION SIGN
476     {"divideontimes",    0x022C7},  // DIVISION TIMES
477     {"divonx",           0x022C7},  // DIVISION TIMES
478     {"DJcy",             0x00402},  // CYRILLIC CAPITAL LETTER DJE
479     {"djcy",             0x00452},  // CYRILLIC SMALL LETTER DJE
480     {"dlcorn",           0x0231E},  // BOTTOM LEFT CORNER
481     {"dlcrop",           0x0230D},  // BOTTOM LEFT CROP
482     {"dollar",           0x00024},  // DOLLAR SIGN
483     {"Dopf",             0x1D53B},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL D
484     {"dopf",             0x1D555},  // MATHEMATICAL DOUBLE-STRUCK SMALL D
485     {"Dot",              0x000A8},  // DIAERESIS
486     {"dot",              0x002D9},  // DOT ABOVE
487     {"DotDot",           0x020DC},  // COMBINING FOUR DOTS ABOVE
488     {"doteq",            0x02250},  // APPROACHES THE LIMIT
489     {"doteqdot",         0x02251},  // GEOMETRICALLY EQUAL TO
490     {"DotEqual",         0x02250},  // APPROACHES THE LIMIT
491     {"dotminus",         0x02238},  // DOT MINUS
492     {"dotplus",          0x02214},  // DOT PLUS
493     {"dotsquare",        0x022A1},  // SQUARED DOT OPERATOR
494     {"doublebarwedge",   0x02306},  // PERSPECTIVE
495     {"DoubleContourIntegral", 0x0222F},  // SURFACE INTEGRAL
496     {"DoubleDot",        0x000A8},  // DIAERESIS
497     {"DoubleDownArrow",  0x021D3},  // DOWNWARDS DOUBLE ARROW
498     {"DoubleLeftArrow",  0x021D0},  // LEFTWARDS DOUBLE ARROW
499     {"DoubleLeftRightArrow", 0x021D4},  // LEFT RIGHT DOUBLE ARROW
500     {"DoubleLeftTee",    0x02AE4},  // VERTICAL BAR DOUBLE LEFT TURNSTILE
501     {"DoubleLongLeftArrow", 0x027F8},  // LONG LEFTWARDS DOUBLE ARROW
502     {"DoubleLongLeftRightArrow", 0x027FA},  // LONG LEFT RIGHT DOUBLE ARROW
503     {"DoubleLongRightArrow", 0x027F9},  // LONG RIGHTWARDS DOUBLE ARROW
504     {"DoubleRightArrow", 0x021D2},  // RIGHTWARDS DOUBLE ARROW
505     {"DoubleRightTee",   0x022A8},  // TRUE
506     {"DoubleUpArrow",    0x021D1},  // UPWARDS DOUBLE ARROW
507     {"DoubleUpDownArrow", 0x021D5},  // UP DOWN DOUBLE ARROW
508     {"DoubleVerticalBar", 0x02225},  // PARALLEL TO
509     {"downarrow",        0x02193},  // DOWNWARDS ARROW
510     {"DownArrow",        0x02193},  // DOWNWARDS ARROW
511     {"Downarrow",        0x021D3},  // DOWNWARDS DOUBLE ARROW
512     {"DownArrowBar",     0x02913},  // DOWNWARDS ARROW TO BAR
513     {"DownArrowUpArrow", 0x021F5},  // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW
514     {"DownBreve",        0x00311},  // COMBINING INVERTED BREVE
515     {"downdownarrows",   0x021CA},  // DOWNWARDS PAIRED ARROWS
516     {"downharpoonleft",  0x021C3},  // DOWNWARDS HARPOON WITH BARB LEFTWARDS
517     {"downharpoonright", 0x021C2},  // DOWNWARDS HARPOON WITH BARB RIGHTWARDS
518     {"DownLeftRightVector", 0x02950},  // LEFT BARB DOWN RIGHT BARB DOWN HARPOON
519     {"DownLeftTeeVector", 0x0295E},  // LEFTWARDS HARPOON WITH BARB DOWN FROM BAR
520     {"DownLeftVector",   0x021BD},  // LEFTWARDS HARPOON WITH BARB DOWNWARDS
521     {"DownLeftVectorBar", 0x02956},  // LEFTWARDS HARPOON WITH BARB DOWN TO BAR
522     {"DownRightTeeVector", 0x0295F},  // RIGHTWARDS HARPOON WITH BARB DOWN FROM BAR
523     {"DownRightVector",  0x021C1},  // RIGHTWARDS HARPOON WITH BARB DOWNWARDS
524     {"DownRightVectorBar", 0x02957},  // RIGHTWARDS HARPOON WITH BARB DOWN TO BAR
525     {"DownTee",          0x022A4},  // DOWN TACK
526     {"DownTeeArrow",     0x021A7},  // DOWNWARDS ARROW FROM BAR
527     {"drbkarow",         0x02910},  // RIGHTWARDS TWO-HEADED TRIPLE DASH ARROW
528     {"drcorn",           0x0231F},  // BOTTOM RIGHT CORNER
529     {"drcrop",           0x0230C},  // BOTTOM RIGHT CROP
530     {"Dscr",             0x1D49F},  // MATHEMATICAL SCRIPT CAPITAL D
531     {"dscr",             0x1D4B9},  // MATHEMATICAL SCRIPT SMALL D
532     {"DScy",             0x00405},  // CYRILLIC CAPITAL LETTER DZE
533     {"dscy",             0x00455},  // CYRILLIC SMALL LETTER DZE
534     {"dsol",             0x029F6},  // SOLIDUS WITH OVERBAR
535     {"Dstrok",           0x00110},  // LATIN CAPITAL LETTER D WITH STROKE
536     {"dstrok",           0x00111},  // LATIN SMALL LETTER D WITH STROKE
537     {"dtdot",            0x022F1},  // DOWN RIGHT DIAGONAL ELLIPSIS
538     {"dtri",             0x025BF},  // WHITE DOWN-POINTING SMALL TRIANGLE
539     {"dtrif",            0x025BE},  // BLACK DOWN-POINTING SMALL TRIANGLE
540     {"duarr",            0x021F5},  // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW
541     {"duhar",            0x0296F},  // DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT
542     {"dwangle",          0x029A6},  // OBLIQUE ANGLE OPENING UP
543     {"DZcy",             0x0040F},  // CYRILLIC CAPITAL LETTER DZHE
544     {"dzcy",             0x0045F},  // CYRILLIC SMALL LETTER DZHE
545     {"dzigrarr",         0x027FF},  // LONG RIGHTWARDS SQUIGGLE ARROW
546 ];
547 
548 immutable NameId[] namesE =
549 [
550     {"Eacgr",            0x00388},  // GREEK CAPITAL LETTER EPSILON WITH TONOS
551     {"eacgr",            0x003AD},  // GREEK SMALL LETTER EPSILON WITH TONOS
552     {"Eacute",           0x000C9},  // LATIN CAPITAL LETTER E WITH ACUTE
553     {"eacute",           0x000E9},  // LATIN SMALL LETTER E WITH ACUTE
554     {"easter",           0x02A6E},  // EQUALS WITH ASTERISK
555     {"Ecaron",           0x0011A},  // LATIN CAPITAL LETTER E WITH CARON
556     {"ecaron",           0x0011B},  // LATIN SMALL LETTER E WITH CARON
557     {"ecir",             0x02256},  // RING IN EQUAL TO
558     {"Ecirc",            0x000CA},  // LATIN CAPITAL LETTER E WITH CIRCUMFLEX
559     {"ecirc",            0x000EA},  // LATIN SMALL LETTER E WITH CIRCUMFLEX
560     {"ecolon",           0x02255},  // EQUALS COLON
561     {"Ecy",              0x0042D},  // CYRILLIC CAPITAL LETTER E
562     {"ecy",              0x0044D},  // CYRILLIC SMALL LETTER E
563     {"eDDot",            0x02A77},  // EQUALS SIGN WITH TWO DOTS ABOVE AND TWO DOTS BELOW
564     {"Edot",             0x00116},  // LATIN CAPITAL LETTER E WITH DOT ABOVE
565     {"edot",             0x00117},  // LATIN SMALL LETTER E WITH DOT ABOVE
566     {"eDot",             0x02251},  // GEOMETRICALLY EQUAL TO
567     {"ee",               0x02147},  // DOUBLE-STRUCK ITALIC SMALL E
568     {"EEacgr",           0x00389},  // GREEK CAPITAL LETTER ETA WITH TONOS
569     {"eeacgr",           0x003AE},  // GREEK SMALL LETTER ETA WITH TONOS
570     {"EEgr",             0x00397},  // GREEK CAPITAL LETTER ETA
571     {"eegr",             0x003B7},  // GREEK SMALL LETTER ETA
572     {"efDot",            0x02252},  // APPROXIMATELY EQUAL TO OR THE IMAGE OF
573     {"Efr",              0x1D508},  // MATHEMATICAL FRAKTUR CAPITAL E
574     {"efr",              0x1D522},  // MATHEMATICAL FRAKTUR SMALL E
575     {"eg",               0x02A9A},  // DOUBLE-LINE EQUAL TO OR GREATER-THAN
576     {"Egr",              0x00395},  // GREEK CAPITAL LETTER EPSILON
577     {"egr",              0x003B5},  // GREEK SMALL LETTER EPSILON
578     {"Egrave",           0x000C8},  // LATIN CAPITAL LETTER E WITH GRAVE
579     {"egrave",           0x000E8},  // LATIN SMALL LETTER E WITH GRAVE
580     {"egs",              0x02A96},  // SLANTED EQUAL TO OR GREATER-THAN
581     {"egsdot",           0x02A98},  // SLANTED EQUAL TO OR GREATER-THAN WITH DOT INSIDE
582     {"el",               0x02A99},  // DOUBLE-LINE EQUAL TO OR LESS-THAN
583     {"Element",          0x02208},  // ELEMENT OF
584     {"elinters",         0x023E7},  // ELECTRICAL INTERSECTION
585     {"ell",              0x02113},  // SCRIPT SMALL L
586     {"els",              0x02A95},  // SLANTED EQUAL TO OR LESS-THAN
587     {"elsdot",           0x02A97},  // SLANTED EQUAL TO OR LESS-THAN WITH DOT INSIDE
588     {"Emacr",            0x00112},  // LATIN CAPITAL LETTER E WITH MACRON
589     {"emacr",            0x00113},  // LATIN SMALL LETTER E WITH MACRON
590     {"empty",            0x02205},  // EMPTY SET
591     {"emptyset",         0x02205},  // EMPTY SET
592     {"EmptySmallSquare", 0x025FB},  // WHITE MEDIUM SQUARE
593     {"emptyv",           0x02205},  // EMPTY SET
594     {"EmptyVerySmallSquare", 0x025AB},  // WHITE SMALL SQUARE
595     {"emsp",             0x02003},  // EM SPACE
596     {"emsp13",           0x02004},  // THREE-PER-EM SPACE
597     {"emsp14",           0x02005},  // FOUR-PER-EM SPACE
598     {"ENG",              0x0014A},  // LATIN CAPITAL LETTER ENG
599     {"eng",              0x0014B},  // LATIN SMALL LETTER ENG
600     {"ensp",             0x02002},  // EN SPACE
601     {"Eogon",            0x00118},  // LATIN CAPITAL LETTER E WITH OGONEK
602     {"eogon",            0x00119},  // LATIN SMALL LETTER E WITH OGONEK
603     {"Eopf",             0x1D53C},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL E
604     {"eopf",             0x1D556},  // MATHEMATICAL DOUBLE-STRUCK SMALL E
605     {"epar",             0x022D5},  // EQUAL AND PARALLEL TO
606     {"eparsl",           0x029E3},  // EQUALS SIGN AND SLANTED PARALLEL
607     {"eplus",            0x02A71},  // EQUALS SIGN ABOVE PLUS SIGN
608     {"epsi",             0x003B5},  // GREEK SMALL LETTER EPSILON
609     {"Epsilon",          0x00395},  // GREEK CAPITAL LETTER EPSILON
610     {"epsilon",          0x003B5},  // GREEK SMALL LETTER EPSILON
611     {"epsiv",            0x003F5},  // GREEK LUNATE EPSILON SYMBOL
612     {"eqcirc",           0x02256},  // RING IN EQUAL TO
613     {"eqcolon",          0x02255},  // EQUALS COLON
614     {"eqsim",            0x02242},  // MINUS TILDE
615     {"eqslantgtr",       0x02A96},  // SLANTED EQUAL TO OR GREATER-THAN
616     {"eqslantless",      0x02A95},  // SLANTED EQUAL TO OR LESS-THAN
617     {"Equal",            0x02A75},  // TWO CONSECUTIVE EQUALS SIGNS
618     {"equals",           0x0003D},  // EQUALS SIGN
619     {"EqualTilde",       0x02242},  // MINUS TILDE
620     {"equest",           0x0225F},  // QUESTIONED EQUAL TO
621     {"Equilibrium",      0x021CC},  // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON
622     {"equiv",            0x02261},  // IDENTICAL TO
623     {"equivDD",          0x02A78},  // EQUIVALENT WITH FOUR DOTS ABOVE
624     {"eqvparsl",         0x029E5},  // IDENTICAL TO AND SLANTED PARALLEL
625     {"erarr",            0x02971},  // EQUALS SIGN ABOVE RIGHTWARDS ARROW
626     {"erDot",            0x02253},  // IMAGE OF OR APPROXIMATELY EQUAL TO
627     {"escr",             0x0212F},  // SCRIPT SMALL E
628     {"Escr",             0x02130},  // SCRIPT CAPITAL E
629     {"esdot",            0x02250},  // APPROACHES THE LIMIT
630     {"esim",             0x02242},  // MINUS TILDE
631     {"Esim",             0x02A73},  // EQUALS SIGN ABOVE TILDE OPERATOR
632     {"Eta",              0x00397},  // GREEK CAPITAL LETTER ETA
633     {"eta",              0x003B7},  // GREEK SMALL LETTER ETA
634     {"ETH",              0x000D0},  // LATIN CAPITAL LETTER ETH
635     {"eth",              0x000F0},  // LATIN SMALL LETTER ETH
636     {"Euml",             0x000CB},  // LATIN CAPITAL LETTER E WITH DIAERESIS
637     {"euml",             0x000EB},  // LATIN SMALL LETTER E WITH DIAERESIS
638     {"euro",             0x020AC},  // EURO SIGN
639     {"excl",             0x00021},  // EXCLAMATION MARK
640     {"exist",            0x02203},  // THERE EXISTS
641     {"Exists",           0x02203},  // THERE EXISTS
642     {"expectation",      0x02130},  // SCRIPT CAPITAL E
643     {"exponentiale",     0x02147},  // DOUBLE-STRUCK ITALIC SMALL E
644     {"ExponentialE",     0x02147},  // DOUBLE-STRUCK ITALIC SMALL E
645 ];
646 
647 immutable NameId[] namesF =
648 [
649     {"fallingdotseq",    0x02252},  // APPROXIMATELY EQUAL TO OR THE IMAGE OF
650     {"Fcy",              0x00424},  // CYRILLIC CAPITAL LETTER EF
651     {"fcy",              0x00444},  // CYRILLIC SMALL LETTER EF
652     {"female",           0x02640},  // FEMALE SIGN
653     {"ffilig",           0x0FB03},  // LATIN SMALL LIGATURE FFI
654     {"fflig",            0x0FB00},  // LATIN SMALL LIGATURE FF
655     {"ffllig",           0x0FB04},  // LATIN SMALL LIGATURE FFL
656     {"Ffr",              0x1D509},  // MATHEMATICAL FRAKTUR CAPITAL F
657     {"ffr",              0x1D523},  // MATHEMATICAL FRAKTUR SMALL F
658     {"filig",            0x0FB01},  // LATIN SMALL LIGATURE FI
659     {"FilledSmallSquare", 0x025FC},  // BLACK MEDIUM SQUARE
660     {"FilledVerySmallSquare", 0x025AA},  // BLACK SMALL SQUARE
661 //  "fjlig",            0x00066;0x0006A},  // fj ligature
662     {"flat",             0x0266D},  // MUSIC FLAT SIGN
663     {"fllig",            0x0FB02},  // LATIN SMALL LIGATURE FL
664     {"fltns",            0x025B1},  // WHITE PARALLELOGRAM
665     {"fnof",             0x00192},  // LATIN SMALL LETTER F WITH HOOK
666     {"Fopf",             0x1D53D},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL F
667     {"fopf",             0x1D557},  // MATHEMATICAL DOUBLE-STRUCK SMALL F
668     {"forall",           0x02200},  // FOR ALL
669     {"ForAll",           0x02200},  // FOR ALL
670     {"fork",             0x022D4},  // PITCHFORK
671     {"forkv",            0x02AD9},  // ELEMENT OF OPENING DOWNWARDS
672     {"Fouriertrf",       0x02131},  // SCRIPT CAPITAL F
673     {"fpartint",         0x02A0D},  // FINITE PART INTEGRAL
674     {"frac12",           0x000BD},  // VULGAR FRACTION ONE HALF
675     {"frac13",           0x02153},  // VULGAR FRACTION ONE THIRD
676     {"frac14",           0x000BC},  // VULGAR FRACTION ONE QUARTER
677     {"frac15",           0x02155},  // VULGAR FRACTION ONE FIFTH
678     {"frac16",           0x02159},  // VULGAR FRACTION ONE SIXTH
679     {"frac18",           0x0215B},  // VULGAR FRACTION ONE EIGHTH
680     {"frac23",           0x02154},  // VULGAR FRACTION TWO THIRDS
681     {"frac25",           0x02156},  // VULGAR FRACTION TWO FIFTHS
682     {"frac34",           0x000BE},  // VULGAR FRACTION THREE QUARTERS
683     {"frac35",           0x02157},  // VULGAR FRACTION THREE FIFTHS
684     {"frac38",           0x0215C},  // VULGAR FRACTION THREE EIGHTHS
685     {"frac45",           0x02158},  // VULGAR FRACTION FOUR FIFTHS
686     {"frac56",           0x0215A},  // VULGAR FRACTION FIVE SIXTHS
687     {"frac58",           0x0215D},  // VULGAR FRACTION FIVE EIGHTHS
688     {"frac78",           0x0215E},  // VULGAR FRACTION SEVEN EIGHTHS
689     {"frasl",            0x02044},  // FRACTION SLASH
690     {"frown",            0x02322},  // FROWN
691     {"Fscr",             0x02131},  // SCRIPT CAPITAL F
692     {"fscr",             0x1D4BB},  // MATHEMATICAL SCRIPT SMALL F
693 ];
694 
695 immutable NameId[] namesG =
696 [
697     {"gacute",           0x001F5},  // LATIN SMALL LETTER G WITH ACUTE
698     {"Gamma",            0x00393},  // GREEK CAPITAL LETTER GAMMA
699     {"gamma",            0x003B3},  // GREEK SMALL LETTER GAMMA
700     {"Gammad",           0x003DC},  // GREEK LETTER DIGAMMA
701     {"gammad",           0x003DD},  // GREEK SMALL LETTER DIGAMMA
702     {"gap",              0x02A86},  // GREATER-THAN OR APPROXIMATE
703     {"Gbreve",           0x0011E},  // LATIN CAPITAL LETTER G WITH BREVE
704     {"gbreve",           0x0011F},  // LATIN SMALL LETTER G WITH BREVE
705     {"Gcedil",           0x00122},  // LATIN CAPITAL LETTER G WITH CEDILLA
706     {"Gcirc",            0x0011C},  // LATIN CAPITAL LETTER G WITH CIRCUMFLEX
707     {"gcirc",            0x0011D},  // LATIN SMALL LETTER G WITH CIRCUMFLEX
708     {"Gcy",              0x00413},  // CYRILLIC CAPITAL LETTER GHE
709     {"gcy",              0x00433},  // CYRILLIC SMALL LETTER GHE
710     {"Gdot",             0x00120},  // LATIN CAPITAL LETTER G WITH DOT ABOVE
711     {"gdot",             0x00121},  // LATIN SMALL LETTER G WITH DOT ABOVE
712     {"ge",               0x02265},  // GREATER-THAN OR EQUAL TO
713     {"gE",               0x02267},  // GREATER-THAN OVER EQUAL TO
714     {"gel",              0x022DB},  // GREATER-THAN EQUAL TO OR LESS-THAN
715     {"gEl",              0x02A8C},  // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN
716     {"geq",              0x02265},  // GREATER-THAN OR EQUAL TO
717     {"geqq",             0x02267},  // GREATER-THAN OVER EQUAL TO
718     {"geqslant",         0x02A7E},  // GREATER-THAN OR SLANTED EQUAL TO
719     {"ges",              0x02A7E},  // GREATER-THAN OR SLANTED EQUAL TO
720     {"gescc",            0x02AA9},  // GREATER-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL
721     {"gesdot",           0x02A80},  // GREATER-THAN OR SLANTED EQUAL TO WITH DOT INSIDE
722     {"gesdoto",          0x02A82},  // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE
723     {"gesdotol",         0x02A84},  // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE LEFT
724 //  "gesl",             0x022DB;0x0FE00},  // GREATER-THAN slanted EQUAL TO OR LESS-THAN
725     {"gesles",           0x02A94},  // GREATER-THAN ABOVE SLANTED EQUAL ABOVE LESS-THAN ABOVE SLANTED EQUAL
726     {"Gfr",              0x1D50A},  // MATHEMATICAL FRAKTUR CAPITAL G
727     {"gfr",              0x1D524},  // MATHEMATICAL FRAKTUR SMALL G
728     {"gg",               0x0226B},  // MUCH GREATER-THAN
729     {"Gg",               0x022D9},  // VERY MUCH GREATER-THAN
730     {"ggg",              0x022D9},  // VERY MUCH GREATER-THAN
731     {"Ggr",              0x00393},  // GREEK CAPITAL LETTER GAMMA
732     {"ggr",              0x003B3},  // GREEK SMALL LETTER GAMMA
733     {"gimel",            0x02137},  // GIMEL SYMBOL
734     {"GJcy",             0x00403},  // CYRILLIC CAPITAL LETTER GJE
735     {"gjcy",             0x00453},  // CYRILLIC SMALL LETTER GJE
736     {"gl",               0x02277},  // GREATER-THAN OR LESS-THAN
737     {"gla",              0x02AA5},  // GREATER-THAN BESIDE LESS-THAN
738     {"glE",              0x02A92},  // GREATER-THAN ABOVE LESS-THAN ABOVE DOUBLE-LINE EQUAL
739     {"glj",              0x02AA4},  // GREATER-THAN OVERLAPPING LESS-THAN
740     {"gnap",             0x02A8A},  // GREATER-THAN AND NOT APPROXIMATE
741     {"gnapprox",         0x02A8A},  // GREATER-THAN AND NOT APPROXIMATE
742     {"gnE",              0x02269},  // GREATER-THAN BUT NOT EQUAL TO
743     {"gne",              0x02A88},  // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO
744     {"gneq",             0x02A88},  // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO
745     {"gneqq",            0x02269},  // GREATER-THAN BUT NOT EQUAL TO
746     {"gnsim",            0x022E7},  // GREATER-THAN BUT NOT EQUIVALENT TO
747     {"Gopf",             0x1D53E},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL G
748     {"gopf",             0x1D558},  // MATHEMATICAL DOUBLE-STRUCK SMALL G
749     {"grave",            0x00060},  // GRAVE ACCENT
750     {"GreaterEqual",     0x02265},  // GREATER-THAN OR EQUAL TO
751     {"GreaterEqualLess", 0x022DB},  // GREATER-THAN EQUAL TO OR LESS-THAN
752     {"GreaterFullEqual", 0x02267},  // GREATER-THAN OVER EQUAL TO
753     {"GreaterGreater",   0x02AA2},  // DOUBLE NESTED GREATER-THAN
754     {"GreaterLess",      0x02277},  // GREATER-THAN OR LESS-THAN
755     {"GreaterSlantEqual", 0x02A7E},  // GREATER-THAN OR SLANTED EQUAL TO
756     {"GreaterTilde",     0x02273},  // GREATER-THAN OR EQUIVALENT TO
757     {"gscr",             0x0210A},  // SCRIPT SMALL G
758     {"Gscr",             0x1D4A2},  // MATHEMATICAL SCRIPT CAPITAL G
759     {"gsim",             0x02273},  // GREATER-THAN OR EQUIVALENT TO
760     {"gsime",            0x02A8E},  // GREATER-THAN ABOVE SIMILAR OR EQUAL
761     {"gsiml",            0x02A90},  // GREATER-THAN ABOVE SIMILAR ABOVE LESS-THAN
762     {"gt",               0x0003E},  // GREATER-THAN SIGN
763     {"GT",               0x0003E},  // GREATER-THAN SIGN
764     {"Gt",               0x0226B},  // MUCH GREATER-THAN
765     {"gtcc",             0x02AA7},  // GREATER-THAN CLOSED BY CURVE
766     {"gtcir",            0x02A7A},  // GREATER-THAN WITH CIRCLE INSIDE
767     {"gtdot",            0x022D7},  // GREATER-THAN WITH DOT
768     {"gtlPar",           0x02995},  // DOUBLE LEFT ARC GREATER-THAN BRACKET
769     {"gtquest",          0x02A7C},  // GREATER-THAN WITH QUESTION MARK ABOVE
770     {"gtrapprox",        0x02A86},  // GREATER-THAN OR APPROXIMATE
771     {"gtrarr",           0x02978},  // GREATER-THAN ABOVE RIGHTWARDS ARROW
772     {"gtrdot",           0x022D7},  // GREATER-THAN WITH DOT
773     {"gtreqless",        0x022DB},  // GREATER-THAN EQUAL TO OR LESS-THAN
774     {"gtreqqless",       0x02A8C},  // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN
775     {"gtrless",          0x02277},  // GREATER-THAN OR LESS-THAN
776     {"gtrsim",           0x02273},  // GREATER-THAN OR EQUIVALENT TO
777 //  "gvertneqq",        0x02269;0x0FE00},  // GREATER-THAN BUT NOT EQUAL TO - with vertical stroke
778 //  "gvnE",             0x02269;0x0FE00},  // GREATER-THAN BUT NOT EQUAL TO - with vertical stroke
779 ];
780 
781 immutable NameId[] namesH =
782 [
783     {"Hacek",            0x002C7},  // CARON
784     {"hairsp",           0x0200A},  // HAIR SPACE
785     {"half",             0x000BD},  // VULGAR FRACTION ONE HALF
786     {"hamilt",           0x0210B},  // SCRIPT CAPITAL H
787     {"HARDcy",           0x0042A},  // CYRILLIC CAPITAL LETTER HARD SIGN
788     {"hardcy",           0x0044A},  // CYRILLIC SMALL LETTER HARD SIGN
789     {"harr",             0x02194},  // LEFT RIGHT ARROW
790     {"hArr",             0x021D4},  // LEFT RIGHT DOUBLE ARROW
791     {"harrcir",          0x02948},  // LEFT RIGHT ARROW THROUGH SMALL CIRCLE
792     {"harrw",            0x021AD},  // LEFT RIGHT WAVE ARROW
793     {"Hat",              0x0005E},  // CIRCUMFLEX ACCENT
794     {"hbar",             0x0210F},  // PLANCK CONSTANT OVER TWO PI
795     {"Hcirc",            0x00124},  // LATIN CAPITAL LETTER H WITH CIRCUMFLEX
796     {"hcirc",            0x00125},  // LATIN SMALL LETTER H WITH CIRCUMFLEX
797     {"hearts",           0x02665},  // BLACK HEART SUIT
798     {"heartsuit",        0x02665},  // BLACK HEART SUIT
799     {"hellip",           0x02026},  // HORIZONTAL ELLIPSIS
800     {"hercon",           0x022B9},  // HERMITIAN CONJUGATE MATRIX
801     {"Hfr",              0x0210C},  // BLACK-LETTER CAPITAL H
802     {"hfr",              0x1D525},  // MATHEMATICAL FRAKTUR SMALL H
803     {"HilbertSpace",     0x0210B},  // SCRIPT CAPITAL H
804     {"hksearow",         0x02925},  // SOUTH EAST ARROW WITH HOOK
805     {"hkswarow",         0x02926},  // SOUTH WEST ARROW WITH HOOK
806     {"hoarr",            0x021FF},  // LEFT RIGHT OPEN-HEADED ARROW
807     {"homtht",           0x0223B},  // HOMOTHETIC
808     {"hookleftarrow",    0x021A9},  // LEFTWARDS ARROW WITH HOOK
809     {"hookrightarrow",   0x021AA},  // RIGHTWARDS ARROW WITH HOOK
810     {"Hopf",             0x0210D},  // DOUBLE-STRUCK CAPITAL H
811     {"hopf",             0x1D559},  // MATHEMATICAL DOUBLE-STRUCK SMALL H
812     {"horbar",           0x02015},  // HORIZONTAL BAR
813     {"HorizontalLine",   0x02500},  // BOX DRAWINGS LIGHT HORIZONTAL
814     {"Hscr",             0x0210B},  // SCRIPT CAPITAL H
815     {"hscr",             0x1D4BD},  // MATHEMATICAL SCRIPT SMALL H
816     {"hslash",           0x0210F},  // PLANCK CONSTANT OVER TWO PI
817     {"Hstrok",           0x00126},  // LATIN CAPITAL LETTER H WITH STROKE
818     {"hstrok",           0x00127},  // LATIN SMALL LETTER H WITH STROKE
819     {"HumpDownHump",     0x0224E},  // GEOMETRICALLY EQUIVALENT TO
820     {"HumpEqual",        0x0224F},  // DIFFERENCE BETWEEN
821     {"hybull",           0x02043},  // HYPHEN BULLET
822     {"hyphen",           0x02010},  // HYPHEN
823 ];
824 
825 immutable NameId[] namesI =
826 [
827     {"Iacgr",            0x0038A},  // GREEK CAPITAL LETTER IOTA WITH TONOS
828     {"iacgr",            0x003AF},  // GREEK SMALL LETTER IOTA WITH TONOS
829     {"Iacute",           0x000CD},  // LATIN CAPITAL LETTER I WITH ACUTE
830     {"iacute",           0x000ED},  // LATIN SMALL LETTER I WITH ACUTE
831     {"ic",               0x02063},  // INVISIBLE SEPARATOR
832     {"Icirc",            0x000CE},  // LATIN CAPITAL LETTER I WITH CIRCUMFLEX
833     {"icirc",            0x000EE},  // LATIN SMALL LETTER I WITH CIRCUMFLEX
834     {"Icy",              0x00418},  // CYRILLIC CAPITAL LETTER I
835     {"icy",              0x00438},  // CYRILLIC SMALL LETTER I
836     {"idiagr",           0x00390},  // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS
837     {"Idigr",            0x003AA},  // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA
838     {"idigr",            0x003CA},  // GREEK SMALL LETTER IOTA WITH DIALYTIKA
839     {"Idot",             0x00130},  // LATIN CAPITAL LETTER I WITH DOT ABOVE
840     {"IEcy",             0x00415},  // CYRILLIC CAPITAL LETTER IE
841     {"iecy",             0x00435},  // CYRILLIC SMALL LETTER IE
842     {"iexcl",            0x000A1},  // INVERTED EXCLAMATION MARK
843     {"iff",              0x021D4},  // LEFT RIGHT DOUBLE ARROW
844     {"Ifr",              0x02111},  // BLACK-LETTER CAPITAL I
845     {"ifr",              0x1D526},  // MATHEMATICAL FRAKTUR SMALL I
846     {"Igr",              0x00399},  // GREEK CAPITAL LETTER IOTA
847     {"igr",              0x003B9},  // GREEK SMALL LETTER IOTA
848     {"Igrave",           0x000CC},  // LATIN CAPITAL LETTER I WITH GRAVE
849     {"igrave",           0x000EC},  // LATIN SMALL LETTER I WITH GRAVE
850     {"ii",               0x02148},  // DOUBLE-STRUCK ITALIC SMALL I
851     {"iiiint",           0x02A0C},  // QUADRUPLE INTEGRAL OPERATOR
852     {"iiint",            0x0222D},  // TRIPLE INTEGRAL
853     {"iinfin",           0x029DC},  // INCOMPLETE INFINITY
854     {"iiota",            0x02129},  // TURNED GREEK SMALL LETTER IOTA
855     {"IJlig",            0x00132},  // LATIN CAPITAL LIGATURE IJ
856     {"ijlig",            0x00133},  // LATIN SMALL LIGATURE IJ
857     {"Im",               0x02111},  // BLACK-LETTER CAPITAL I
858     {"Imacr",            0x0012A},  // LATIN CAPITAL LETTER I WITH MACRON
859     {"imacr",            0x0012B},  // LATIN SMALL LETTER I WITH MACRON
860     {"image",            0x02111},  // BLACK-LETTER CAPITAL I
861     {"ImaginaryI",       0x02148},  // DOUBLE-STRUCK ITALIC SMALL I
862     {"imagline",         0x02110},  // SCRIPT CAPITAL I
863     {"imagpart",         0x02111},  // BLACK-LETTER CAPITAL I
864     {"imath",            0x00131},  // LATIN SMALL LETTER DOTLESS I
865     {"imof",             0x022B7},  // IMAGE OF
866     {"imped",            0x001B5},  // LATIN CAPITAL LETTER Z WITH STROKE
867     {"Implies",          0x021D2},  // RIGHTWARDS DOUBLE ARROW
868     {"in",               0x02208},  // ELEMENT OF
869     {"incare",           0x02105},  // CARE OF
870     {"infin",            0x0221E},  // INFINITY
871     {"infintie",         0x029DD},  // TIE OVER INFINITY
872     {"inodot",           0x00131},  // LATIN SMALL LETTER DOTLESS I
873     {"int",              0x0222B},  // INTEGRAL
874     {"Int",              0x0222C},  // DOUBLE INTEGRAL
875     {"intcal",           0x022BA},  // INTERCALATE
876     {"integers",         0x02124},  // DOUBLE-STRUCK CAPITAL Z
877     {"Integral",         0x0222B},  // INTEGRAL
878     {"intercal",         0x022BA},  // INTERCALATE
879     {"Intersection",     0x022C2},  // N-ARY INTERSECTION
880     {"intlarhk",         0x02A17},  // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK
881     {"intprod",          0x02A3C},  // INTERIOR PRODUCT
882     {"InvisibleComma",   0x02063},  // INVISIBLE SEPARATOR
883     {"InvisibleTimes",   0x02062},  // INVISIBLE TIMES
884     {"IOcy",             0x00401},  // CYRILLIC CAPITAL LETTER IO
885     {"iocy",             0x00451},  // CYRILLIC SMALL LETTER IO
886     {"Iogon",            0x0012E},  // LATIN CAPITAL LETTER I WITH OGONEK
887     {"iogon",            0x0012F},  // LATIN SMALL LETTER I WITH OGONEK
888     {"Iopf",             0x1D540},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL I
889     {"iopf",             0x1D55A},  // MATHEMATICAL DOUBLE-STRUCK SMALL I
890     {"Iota",             0x00399},  // GREEK CAPITAL LETTER IOTA
891     {"iota",             0x003B9},  // GREEK SMALL LETTER IOTA
892     {"iprod",            0x02A3C},  // INTERIOR PRODUCT
893     {"iquest",           0x000BF},  // INVERTED QUESTION MARK
894     {"Iscr",             0x02110},  // SCRIPT CAPITAL I
895     {"iscr",             0x1D4BE},  // MATHEMATICAL SCRIPT SMALL I
896     {"isin",             0x02208},  // ELEMENT OF
897     {"isindot",          0x022F5},  // ELEMENT OF WITH DOT ABOVE
898     {"isinE",            0x022F9},  // ELEMENT OF WITH TWO HORIZONTAL STROKES
899     {"isins",            0x022F4},  // SMALL ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
900     {"isinsv",           0x022F3},  // ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
901     {"isinv",            0x02208},  // ELEMENT OF
902     {"it",               0x02062},  // INVISIBLE TIMES
903     {"Itilde",           0x00128},  // LATIN CAPITAL LETTER I WITH TILDE
904     {"itilde",           0x00129},  // LATIN SMALL LETTER I WITH TILDE
905     {"Iukcy",            0x00406},  // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
906     {"iukcy",            0x00456},  // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
907     {"Iuml",             0x000CF},  // LATIN CAPITAL LETTER I WITH DIAERESIS
908     {"iuml",             0x000EF},  // LATIN SMALL LETTER I WITH DIAERESIS
909 ];
910 
911 immutable NameId[] namesJ =
912 [
913     {"Jcirc",            0x00134},  // LATIN CAPITAL LETTER J WITH CIRCUMFLEX
914     {"jcirc",            0x00135},  // LATIN SMALL LETTER J WITH CIRCUMFLEX
915     {"Jcy",              0x00419},  // CYRILLIC CAPITAL LETTER SHORT I
916     {"jcy",              0x00439},  // CYRILLIC SMALL LETTER SHORT I
917     {"Jfr",              0x1D50D},  // MATHEMATICAL FRAKTUR CAPITAL J
918     {"jfr",              0x1D527},  // MATHEMATICAL FRAKTUR SMALL J
919     {"jmath",            0x00237},  // LATIN SMALL LETTER DOTLESS J
920     {"Jopf",             0x1D541},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL J
921     {"jopf",             0x1D55B},  // MATHEMATICAL DOUBLE-STRUCK SMALL J
922     {"Jscr",             0x1D4A5},  // MATHEMATICAL SCRIPT CAPITAL J
923     {"jscr",             0x1D4BF},  // MATHEMATICAL SCRIPT SMALL J
924     {"Jsercy",           0x00408},  // CYRILLIC CAPITAL LETTER JE
925     {"jsercy",           0x00458},  // CYRILLIC SMALL LETTER JE
926     {"Jukcy",            0x00404},  // CYRILLIC CAPITAL LETTER UKRAINIAN IE
927     {"jukcy",            0x00454},  // CYRILLIC SMALL LETTER UKRAINIAN IE
928 ];
929 
930 immutable NameId[] namesK =
931 [
932     {"Kappa",            0x0039A},  // GREEK CAPITAL LETTER KAPPA
933     {"kappa",            0x003BA},  // GREEK SMALL LETTER KAPPA
934     {"kappav",           0x003F0},  // GREEK KAPPA SYMBOL
935     {"Kcedil",           0x00136},  // LATIN CAPITAL LETTER K WITH CEDILLA
936     {"kcedil",           0x00137},  // LATIN SMALL LETTER K WITH CEDILLA
937     {"Kcy",              0x0041A},  // CYRILLIC CAPITAL LETTER KA
938     {"kcy",              0x0043A},  // CYRILLIC SMALL LETTER KA
939     {"Kfr",              0x1D50E},  // MATHEMATICAL FRAKTUR CAPITAL K
940     {"kfr",              0x1D528},  // MATHEMATICAL FRAKTUR SMALL K
941     {"Kgr",              0x0039A},  // GREEK CAPITAL LETTER KAPPA
942     {"kgr",              0x003BA},  // GREEK SMALL LETTER KAPPA
943     {"kgreen",           0x00138},  // LATIN SMALL LETTER KRA
944     {"KHcy",             0x00425},  // CYRILLIC CAPITAL LETTER HA
945     {"khcy",             0x00445},  // CYRILLIC SMALL LETTER HA
946     {"KHgr",             0x003A7},  // GREEK CAPITAL LETTER CHI
947     {"khgr",             0x003C7},  // GREEK SMALL LETTER CHI
948     {"KJcy",             0x0040C},  // CYRILLIC CAPITAL LETTER KJE
949     {"kjcy",             0x0045C},  // CYRILLIC SMALL LETTER KJE
950     {"Kopf",             0x1D542},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL K
951     {"kopf",             0x1D55C},  // MATHEMATICAL DOUBLE-STRUCK SMALL K
952     {"Kscr",             0x1D4A6},  // MATHEMATICAL SCRIPT CAPITAL K
953     {"kscr",             0x1D4C0},  // MATHEMATICAL SCRIPT SMALL K
954 ];
955 
956 immutable NameId[] namesL =
957 [
958     {"lAarr",            0x021DA},  // LEFTWARDS TRIPLE ARROW
959     {"Lacute",           0x00139},  // LATIN CAPITAL LETTER L WITH ACUTE
960     {"lacute",           0x0013A},  // LATIN SMALL LETTER L WITH ACUTE
961     {"laemptyv",         0x029B4},  // EMPTY SET WITH LEFT ARROW ABOVE
962     {"lagran",           0x02112},  // SCRIPT CAPITAL L
963     {"Lambda",           0x0039B},  // GREEK CAPITAL LETTER LAMDA
964     {"lambda",           0x003BB},  // GREEK SMALL LETTER LAMDA
965     {"lang",             0x027E8},  // MATHEMATICAL LEFT ANGLE BRACKET
966     {"Lang",             0x027EA},  // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET
967     {"langd",            0x02991},  // LEFT ANGLE BRACKET WITH DOT
968     {"langle",           0x027E8},  // MATHEMATICAL LEFT ANGLE BRACKET
969     {"lap",              0x02A85},  // LESS-THAN OR APPROXIMATE
970     {"Laplacetrf",       0x02112},  // SCRIPT CAPITAL L
971     {"laquo",            0x000AB},  // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
972     {"larr",             0x02190},  // LEFTWARDS ARROW
973     {"Larr",             0x0219E},  // LEFTWARDS TWO HEADED ARROW
974     {"lArr",             0x021D0},  // LEFTWARDS DOUBLE ARROW
975     {"larrb",            0x021E4},  // LEFTWARDS ARROW TO BAR
976     {"larrbfs",          0x0291F},  // LEFTWARDS ARROW FROM BAR TO BLACK DIAMOND
977     {"larrfs",           0x0291D},  // LEFTWARDS ARROW TO BLACK DIAMOND
978     {"larrhk",           0x021A9},  // LEFTWARDS ARROW WITH HOOK
979     {"larrlp",           0x021AB},  // LEFTWARDS ARROW WITH LOOP
980     {"larrpl",           0x02939},  // LEFT-SIDE ARC ANTICLOCKWISE ARROW
981     {"larrsim",          0x02973},  // LEFTWARDS ARROW ABOVE TILDE OPERATOR
982     {"larrtl",           0x021A2},  // LEFTWARDS ARROW WITH TAIL
983     {"lat",              0x02AAB},  // LARGER THAN
984     {"latail",           0x02919},  // LEFTWARDS ARROW-TAIL
985     {"lAtail",           0x0291B},  // LEFTWARDS DOUBLE ARROW-TAIL
986     {"late",             0x02AAD},  // LARGER THAN OR EQUAL TO
987 //  "lates",            0x02AAD;0x0FE00},  // LARGER THAN OR slanted EQUAL
988     {"lbarr",            0x0290C},  // LEFTWARDS DOUBLE DASH ARROW
989     {"lBarr",            0x0290E},  // LEFTWARDS TRIPLE DASH ARROW
990     {"lbbrk",            0x02772},  // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT
991     {"lbrace",           0x0007B},  // LEFT CURLY BRACKET
992     {"lbrack",           0x0005B},  // LEFT SQUARE BRACKET
993     {"lbrke",            0x0298B},  // LEFT SQUARE BRACKET WITH UNDERBAR
994     {"lbrksld",          0x0298F},  // LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER
995     {"lbrkslu",          0x0298D},  // LEFT SQUARE BRACKET WITH TICK IN TOP CORNER
996     {"Lcaron",           0x0013D},  // LATIN CAPITAL LETTER L WITH CARON
997     {"lcaron",           0x0013E},  // LATIN SMALL LETTER L WITH CARON
998     {"Lcedil",           0x0013B},  // LATIN CAPITAL LETTER L WITH CEDILLA
999     {"lcedil",           0x0013C},  // LATIN SMALL LETTER L WITH CEDILLA
1000     {"lceil",            0x02308},  // LEFT CEILING
1001     {"lcub",             0x0007B},  // LEFT CURLY BRACKET
1002     {"Lcy",              0x0041B},  // CYRILLIC CAPITAL LETTER EL
1003     {"lcy",              0x0043B},  // CYRILLIC SMALL LETTER EL
1004     {"ldca",             0x02936},  // ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS
1005     {"ldquo",            0x0201C},  // LEFT DOUBLE QUOTATION MARK
1006     {"ldquor",           0x0201E},  // DOUBLE LOW-9 QUOTATION MARK
1007     {"ldrdhar",          0x02967},  // LEFTWARDS HARPOON WITH BARB DOWN ABOVE RIGHTWARDS HARPOON WITH BARB DOWN
1008     {"ldrushar",         0x0294B},  // LEFT BARB DOWN RIGHT BARB UP HARPOON
1009     {"ldsh",             0x021B2},  // DOWNWARDS ARROW WITH TIP LEFTWARDS
1010     {"le",               0x02264},  // LESS-THAN OR EQUAL TO
1011     {"lE",               0x02266},  // LESS-THAN OVER EQUAL TO
1012     {"LeftAngleBracket", 0x027E8},  // MATHEMATICAL LEFT ANGLE BRACKET
1013     {"leftarrow",        0x02190},  // LEFTWARDS ARROW
1014     {"LeftArrow",        0x02190},  // LEFTWARDS ARROW
1015     {"Leftarrow",        0x021D0},  // LEFTWARDS DOUBLE ARROW
1016     {"LeftArrowBar",     0x021E4},  // LEFTWARDS ARROW TO BAR
1017     {"LeftArrowRightArrow", 0x021C6},  // LEFTWARDS ARROW OVER RIGHTWARDS ARROW
1018     {"leftarrowtail",    0x021A2},  // LEFTWARDS ARROW WITH TAIL
1019     {"LeftCeiling",      0x02308},  // LEFT CEILING
1020     {"LeftDoubleBracket", 0x027E6},  // MATHEMATICAL LEFT WHITE SQUARE BRACKET
1021     {"LeftDownTeeVector", 0x02961},  // DOWNWARDS HARPOON WITH BARB LEFT FROM BAR
1022     {"LeftDownVector",   0x021C3},  // DOWNWARDS HARPOON WITH BARB LEFTWARDS
1023     {"LeftDownVectorBar", 0x02959},  // DOWNWARDS HARPOON WITH BARB LEFT TO BAR
1024     {"LeftFloor",        0x0230A},  // LEFT FLOOR
1025     {"leftharpoondown",  0x021BD},  // LEFTWARDS HARPOON WITH BARB DOWNWARDS
1026     {"leftharpoonup",    0x021BC},  // LEFTWARDS HARPOON WITH BARB UPWARDS
1027     {"leftleftarrows",   0x021C7},  // LEFTWARDS PAIRED ARROWS
1028     {"leftrightarrow",   0x02194},  // LEFT RIGHT ARROW
1029     {"LeftRightArrow",   0x02194},  // LEFT RIGHT ARROW
1030     {"Leftrightarrow",   0x021D4},  // LEFT RIGHT DOUBLE ARROW
1031     {"leftrightarrows",  0x021C6},  // LEFTWARDS ARROW OVER RIGHTWARDS ARROW
1032     {"leftrightharpoons", 0x021CB},  // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON
1033     {"leftrightsquigarrow", 0x021AD},  // LEFT RIGHT WAVE ARROW
1034     {"LeftRightVector",  0x0294E},  // LEFT BARB UP RIGHT BARB UP HARPOON
1035     {"LeftTee",          0x022A3},  // LEFT TACK
1036     {"LeftTeeArrow",     0x021A4},  // LEFTWARDS ARROW FROM BAR
1037     {"LeftTeeVector",    0x0295A},  // LEFTWARDS HARPOON WITH BARB UP FROM BAR
1038     {"leftthreetimes",   0x022CB},  // LEFT SEMIDIRECT PRODUCT
1039     {"LeftTriangle",     0x022B2},  // NORMAL SUBGROUP OF
1040     {"LeftTriangleBar",  0x029CF},  // LEFT TRIANGLE BESIDE VERTICAL BAR
1041     {"LeftTriangleEqual", 0x022B4},  // NORMAL SUBGROUP OF OR EQUAL TO
1042     {"LeftUpDownVector", 0x02951},  // UP BARB LEFT DOWN BARB LEFT HARPOON
1043     {"LeftUpTeeVector",  0x02960},  // UPWARDS HARPOON WITH BARB LEFT FROM BAR
1044     {"LeftUpVector",     0x021BF},  // UPWARDS HARPOON WITH BARB LEFTWARDS
1045     {"LeftUpVectorBar",  0x02958},  // UPWARDS HARPOON WITH BARB LEFT TO BAR
1046     {"LeftVector",       0x021BC},  // LEFTWARDS HARPOON WITH BARB UPWARDS
1047     {"LeftVectorBar",    0x02952},  // LEFTWARDS HARPOON WITH BARB UP TO BAR
1048     {"leg",              0x022DA},  // LESS-THAN EQUAL TO OR GREATER-THAN
1049     {"lEg",              0x02A8B},  // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN
1050     {"leq",              0x02264},  // LESS-THAN OR EQUAL TO
1051     {"leqq",             0x02266},  // LESS-THAN OVER EQUAL TO
1052     {"leqslant",         0x02A7D},  // LESS-THAN OR SLANTED EQUAL TO
1053     {"les",              0x02A7D},  // LESS-THAN OR SLANTED EQUAL TO
1054     {"lescc",            0x02AA8},  // LESS-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL
1055     {"lesdot",           0x02A7F},  // LESS-THAN OR SLANTED EQUAL TO WITH DOT INSIDE
1056     {"lesdoto",          0x02A81},  // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE
1057     {"lesdotor",         0x02A83},  // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE RIGHT
1058 //  "lesg",             0x022DA;0x0FE00},  // LESS-THAN slanted EQUAL TO OR GREATER-THAN
1059     {"lesges",           0x02A93},  // LESS-THAN ABOVE SLANTED EQUAL ABOVE GREATER-THAN ABOVE SLANTED EQUAL
1060     {"lessapprox",       0x02A85},  // LESS-THAN OR APPROXIMATE
1061     {"lessdot",          0x022D6},  // LESS-THAN WITH DOT
1062     {"lesseqgtr",        0x022DA},  // LESS-THAN EQUAL TO OR GREATER-THAN
1063     {"lesseqqgtr",       0x02A8B},  // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN
1064     {"LessEqualGreater", 0x022DA},  // LESS-THAN EQUAL TO OR GREATER-THAN
1065     {"LessFullEqual",    0x02266},  // LESS-THAN OVER EQUAL TO
1066     {"LessGreater",      0x02276},  // LESS-THAN OR GREATER-THAN
1067     {"lessgtr",          0x02276},  // LESS-THAN OR GREATER-THAN
1068     {"LessLess",         0x02AA1},  // DOUBLE NESTED LESS-THAN
1069     {"lesssim",          0x02272},  // LESS-THAN OR EQUIVALENT TO
1070     {"LessSlantEqual",   0x02A7D},  // LESS-THAN OR SLANTED EQUAL TO
1071     {"LessTilde",        0x02272},  // LESS-THAN OR EQUIVALENT TO
1072     {"lfisht",           0x0297C},  // LEFT FISH TAIL
1073     {"lfloor",           0x0230A},  // LEFT FLOOR
1074     {"Lfr",              0x1D50F},  // MATHEMATICAL FRAKTUR CAPITAL L
1075     {"lfr",              0x1D529},  // MATHEMATICAL FRAKTUR SMALL L
1076     {"lg",               0x02276},  // LESS-THAN OR GREATER-THAN
1077     {"lgE",              0x02A91},  // LESS-THAN ABOVE GREATER-THAN ABOVE DOUBLE-LINE EQUAL
1078     {"Lgr",              0x0039B},  // GREEK CAPITAL LETTER LAMDA
1079     {"lgr",              0x003BB},  // GREEK SMALL LETTER LAMDA
1080     {"lHar",             0x02962},  // LEFTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB DOWN
1081     {"lhard",            0x021BD},  // LEFTWARDS HARPOON WITH BARB DOWNWARDS
1082     {"lharu",            0x021BC},  // LEFTWARDS HARPOON WITH BARB UPWARDS
1083     {"lharul",           0x0296A},  // LEFTWARDS HARPOON WITH BARB UP ABOVE LONG DASH
1084     {"lhblk",            0x02584},  // LOWER HALF BLOCK
1085     {"LJcy",             0x00409},  // CYRILLIC CAPITAL LETTER LJE
1086     {"ljcy",             0x00459},  // CYRILLIC SMALL LETTER LJE
1087     {"ll",               0x0226A},  // MUCH LESS-THAN
1088     {"Ll",               0x022D8},  // VERY MUCH LESS-THAN
1089     {"llarr",            0x021C7},  // LEFTWARDS PAIRED ARROWS
1090     {"llcorner",         0x0231E},  // BOTTOM LEFT CORNER
1091     {"Lleftarrow",       0x021DA},  // LEFTWARDS TRIPLE ARROW
1092     {"llhard",           0x0296B},  // LEFTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH
1093     {"lltri",            0x025FA},  // LOWER LEFT TRIANGLE
1094     {"Lmidot",           0x0013F},  // LATIN CAPITAL LETTER L WITH MIDDLE DOT
1095     {"lmidot",           0x00140},  // LATIN SMALL LETTER L WITH MIDDLE DOT
1096     {"lmoust",           0x023B0},  // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION
1097     {"lmoustache",       0x023B0},  // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION
1098     {"lnap",             0x02A89},  // LESS-THAN AND NOT APPROXIMATE
1099     {"lnapprox",         0x02A89},  // LESS-THAN AND NOT APPROXIMATE
1100     {"lnE",              0x02268},  // LESS-THAN BUT NOT EQUAL TO
1101     {"lne",              0x02A87},  // LESS-THAN AND SINGLE-LINE NOT EQUAL TO
1102     {"lneq",             0x02A87},  // LESS-THAN AND SINGLE-LINE NOT EQUAL TO
1103     {"lneqq",            0x02268},  // LESS-THAN BUT NOT EQUAL TO
1104     {"lnsim",            0x022E6},  // LESS-THAN BUT NOT EQUIVALENT TO
1105     {"loang",            0x027EC},  // MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET
1106     {"loarr",            0x021FD},  // LEFTWARDS OPEN-HEADED ARROW
1107     {"lobrk",            0x027E6},  // MATHEMATICAL LEFT WHITE SQUARE BRACKET
1108     {"longleftarrow",    0x027F5},  // LONG LEFTWARDS ARROW
1109     {"LongLeftArrow",    0x027F5},  // LONG LEFTWARDS ARROW
1110     {"Longleftarrow",    0x027F8},  // LONG LEFTWARDS DOUBLE ARROW
1111     {"longleftrightarrow", 0x027F7},  // LONG LEFT RIGHT ARROW
1112     {"LongLeftRightArrow", 0x027F7},  // LONG LEFT RIGHT ARROW
1113     {"Longleftrightarrow", 0x027FA},  // LONG LEFT RIGHT DOUBLE ARROW
1114     {"longmapsto",       0x027FC},  // LONG RIGHTWARDS ARROW FROM BAR
1115     {"longrightarrow",   0x027F6},  // LONG RIGHTWARDS ARROW
1116     {"LongRightArrow",   0x027F6},  // LONG RIGHTWARDS ARROW
1117     {"Longrightarrow",   0x027F9},  // LONG RIGHTWARDS DOUBLE ARROW
1118     {"looparrowleft",    0x021AB},  // LEFTWARDS ARROW WITH LOOP
1119     {"looparrowright",   0x021AC},  // RIGHTWARDS ARROW WITH LOOP
1120     {"lopar",            0x02985},  // LEFT WHITE PARENTHESIS
1121     {"Lopf",             0x1D543},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL L
1122     {"lopf",             0x1D55D},  // MATHEMATICAL DOUBLE-STRUCK SMALL L
1123     {"loplus",           0x02A2D},  // PLUS SIGN IN LEFT HALF CIRCLE
1124     {"lotimes",          0x02A34},  // MULTIPLICATION SIGN IN LEFT HALF CIRCLE
1125     {"lowast",           0x02217},  // ASTERISK OPERATOR
1126     {"lowbar",           0x0005F},  // LOW LINE
1127     {"LowerLeftArrow",   0x02199},  // SOUTH WEST ARROW
1128     {"LowerRightArrow",  0x02198},  // SOUTH EAST ARROW
1129     {"loz",              0x025CA},  // LOZENGE
1130     {"lozenge",          0x025CA},  // LOZENGE
1131     {"lozf",             0x029EB},  // BLACK LOZENGE
1132     {"lpar",             0x00028},  // LEFT PARENTHESIS
1133     {"lparlt",           0x02993},  // LEFT ARC LESS-THAN BRACKET
1134     {"lrarr",            0x021C6},  // LEFTWARDS ARROW OVER RIGHTWARDS ARROW
1135     {"lrcorner",         0x0231F},  // BOTTOM RIGHT CORNER
1136     {"lrhar",            0x021CB},  // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON
1137     {"lrhard",           0x0296D},  // RIGHTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH
1138     {"lrm",              0x0200E},  // LEFT-TO-RIGHT MARK
1139     {"lrtri",            0x022BF},  // RIGHT TRIANGLE
1140     {"lsaquo",           0x02039},  // SINGLE LEFT-POINTING ANGLE QUOTATION MARK
1141     {"Lscr",             0x02112},  // SCRIPT CAPITAL L
1142     {"lscr",             0x1D4C1},  // MATHEMATICAL SCRIPT SMALL L
1143     {"lsh",              0x021B0},  // UPWARDS ARROW WITH TIP LEFTWARDS
1144     {"Lsh",              0x021B0},  // UPWARDS ARROW WITH TIP LEFTWARDS
1145     {"lsim",             0x02272},  // LESS-THAN OR EQUIVALENT TO
1146     {"lsime",            0x02A8D},  // LESS-THAN ABOVE SIMILAR OR EQUAL
1147     {"lsimg",            0x02A8F},  // LESS-THAN ABOVE SIMILAR ABOVE GREATER-THAN
1148     {"lsqb",             0x0005B},  // LEFT SQUARE BRACKET
1149     {"lsquo",            0x02018},  // LEFT SINGLE QUOTATION MARK
1150     {"lsquor",           0x0201A},  // SINGLE LOW-9 QUOTATION MARK
1151     {"Lstrok",           0x00141},  // LATIN CAPITAL LETTER L WITH STROKE
1152     {"lstrok",           0x00142},  // LATIN SMALL LETTER L WITH STROKE
1153     {"lt",               0x0003C},  // LESS-THAN SIGN
1154     {"LT",               0x0003C},  // LESS-THAN SIGN
1155     {"Lt",               0x0226A},  // MUCH LESS-THAN
1156     {"ltcc",             0x02AA6},  // LESS-THAN CLOSED BY CURVE
1157     {"ltcir",            0x02A79},  // LESS-THAN WITH CIRCLE INSIDE
1158     {"ltdot",            0x022D6},  // LESS-THAN WITH DOT
1159     {"lthree",           0x022CB},  // LEFT SEMIDIRECT PRODUCT
1160     {"ltimes",           0x022C9},  // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT
1161     {"ltlarr",           0x02976},  // LESS-THAN ABOVE LEFTWARDS ARROW
1162     {"ltquest",          0x02A7B},  // LESS-THAN WITH QUESTION MARK ABOVE
1163     {"ltri",             0x025C3},  // WHITE LEFT-POINTING SMALL TRIANGLE
1164     {"ltrie",            0x022B4},  // NORMAL SUBGROUP OF OR EQUAL TO
1165     {"ltrif",            0x025C2},  // BLACK LEFT-POINTING SMALL TRIANGLE
1166     {"ltrPar",           0x02996},  // DOUBLE RIGHT ARC LESS-THAN BRACKET
1167     {"lurdshar",         0x0294A},  // LEFT BARB UP RIGHT BARB DOWN HARPOON
1168     {"luruhar",          0x02966},  // LEFTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB UP
1169 //  "lvertneqq",        0x02268;0x0FE00},  // LESS-THAN BUT NOT EQUAL TO - with vertical stroke
1170 //  "lvnE",             0x02268;0x0FE00},  // LESS-THAN BUT NOT EQUAL TO - with vertical stroke
1171 ];
1172 
1173 immutable NameId[] namesM =
1174 [
1175     {"macr",             0x000AF},  // MACRON
1176     {"male",             0x02642},  // MALE SIGN
1177     {"malt",             0x02720},  // MALTESE CROSS
1178     {"maltese",          0x02720},  // MALTESE CROSS
1179     {"map",              0x021A6},  // RIGHTWARDS ARROW FROM BAR
1180     {"Map",              0x02905},  // RIGHTWARDS TWO-HEADED ARROW FROM BAR
1181     {"mapsto",           0x021A6},  // RIGHTWARDS ARROW FROM BAR
1182     {"mapstodown",       0x021A7},  // DOWNWARDS ARROW FROM BAR
1183     {"mapstoleft",       0x021A4},  // LEFTWARDS ARROW FROM BAR
1184     {"mapstoup",         0x021A5},  // UPWARDS ARROW FROM BAR
1185     {"marker",           0x025AE},  // BLACK VERTICAL RECTANGLE
1186     {"mcomma",           0x02A29},  // MINUS SIGN WITH COMMA ABOVE
1187     {"Mcy",              0x0041C},  // CYRILLIC CAPITAL LETTER EM
1188     {"mcy",              0x0043C},  // CYRILLIC SMALL LETTER EM
1189     {"mdash",            0x02014},  // EM DASH
1190     {"mDDot",            0x0223A},  // GEOMETRIC PROPORTION
1191     {"measuredangle",    0x02221},  // MEASURED ANGLE
1192     {"MediumSpace",      0x0205F},  // MEDIUM MATHEMATICAL SPACE
1193     {"Mellintrf",        0x02133},  // SCRIPT CAPITAL M
1194     {"Mfr",              0x1D510},  // MATHEMATICAL FRAKTUR CAPITAL M
1195     {"mfr",              0x1D52A},  // MATHEMATICAL FRAKTUR SMALL M
1196     {"Mgr",              0x0039C},  // GREEK CAPITAL LETTER MU
1197     {"mgr",              0x003BC},  // GREEK SMALL LETTER MU
1198     {"mho",              0x02127},  // INVERTED OHM SIGN
1199     {"micro",            0x000B5},  // MICRO SIGN
1200     {"mid",              0x02223},  // DIVIDES
1201     {"midast",           0x0002A},  // ASTERISK
1202     {"midcir",           0x02AF0},  // VERTICAL LINE WITH CIRCLE BELOW
1203     {"middot",           0x000B7},  // MIDDLE DOT
1204     {"minus",            0x02212},  // MINUS SIGN
1205     {"minusb",           0x0229F},  // SQUARED MINUS
1206     {"minusd",           0x02238},  // DOT MINUS
1207     {"minusdu",          0x02A2A},  // MINUS SIGN WITH DOT BELOW
1208     {"MinusPlus",        0x02213},  // MINUS-OR-PLUS SIGN
1209     {"mlcp",             0x02ADB},  // TRANSVERSAL INTERSECTION
1210     {"mldr",             0x02026},  // HORIZONTAL ELLIPSIS
1211     {"mnplus",           0x02213},  // MINUS-OR-PLUS SIGN
1212     {"models",           0x022A7},  // MODELS
1213     {"Mopf",             0x1D544},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL M
1214     {"mopf",             0x1D55E},  // MATHEMATICAL DOUBLE-STRUCK SMALL M
1215     {"mp",               0x02213},  // MINUS-OR-PLUS SIGN
1216     {"Mscr",             0x02133},  // SCRIPT CAPITAL M
1217     {"mscr",             0x1D4C2},  // MATHEMATICAL SCRIPT SMALL M
1218     {"mstpos",           0x0223E},  // INVERTED LAZY S
1219     {"Mu",               0x0039C},  // GREEK CAPITAL LETTER MU
1220     {"mu",               0x003BC},  // GREEK SMALL LETTER MU
1221     {"multimap",         0x022B8},  // MULTIMAP
1222     {"mumap",            0x022B8},  // MULTIMAP
1223 ];
1224 
1225 immutable NameId[] namesN =
1226 [
1227     {"nabla",            0x02207},  // NABLA
1228     {"Nacute",           0x00143},  // LATIN CAPITAL LETTER N WITH ACUTE
1229     {"nacute",           0x00144},  // LATIN SMALL LETTER N WITH ACUTE
1230 //  "nang",             0x02220;0x020D2},  // ANGLE with vertical line
1231     {"nap",              0x02249},  // NOT ALMOST EQUAL TO
1232 //  "napE",             0x02A70;0x00338},  // APPROXIMATELY EQUAL OR EQUAL TO with slash
1233 //  "napid",            0x0224B;0x00338},  // TRIPLE TILDE with slash
1234     {"napos",            0x00149},  // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE
1235     {"napprox",          0x02249},  // NOT ALMOST EQUAL TO
1236     {"natur",            0x0266E},  // MUSIC NATURAL SIGN
1237     {"natural",          0x0266E},  // MUSIC NATURAL SIGN
1238     {"naturals",         0x02115},  // DOUBLE-STRUCK CAPITAL N
1239     {"nbsp",             0x000A0},  // NO-BREAK SPACE
1240 //  "nbump",            0x0224E;0x00338},  // GEOMETRICALLY EQUIVALENT TO with slash
1241 //  "nbumpe",           0x0224F;0x00338},  // DIFFERENCE BETWEEN with slash
1242     {"ncap",             0x02A43},  // INTERSECTION WITH OVERBAR
1243     {"Ncaron",           0x00147},  // LATIN CAPITAL LETTER N WITH CARON
1244     {"ncaron",           0x00148},  // LATIN SMALL LETTER N WITH CARON
1245     {"Ncedil",           0x00145},  // LATIN CAPITAL LETTER N WITH CEDILLA
1246     {"ncedil",           0x00146},  // LATIN SMALL LETTER N WITH CEDILLA
1247     {"ncong",            0x02247},  // NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
1248 //  "ncongdot",         0x02A6D;0x00338},  // CONGRUENT WITH DOT ABOVE with slash
1249     {"ncup",             0x02A42},  // UNION WITH OVERBAR
1250     {"Ncy",              0x0041D},  // CYRILLIC CAPITAL LETTER EN
1251     {"ncy",              0x0043D},  // CYRILLIC SMALL LETTER EN
1252     {"ndash",            0x02013},  // EN DASH
1253     {"ne",               0x02260},  // NOT EQUAL TO
1254     {"nearhk",           0x02924},  // NORTH EAST ARROW WITH HOOK
1255     {"nearr",            0x02197},  // NORTH EAST ARROW
1256     {"neArr",            0x021D7},  // NORTH EAST DOUBLE ARROW
1257     {"nearrow",          0x02197},  // NORTH EAST ARROW
1258 //  "nedot",            0x02250;0x00338},  // APPROACHES THE LIMIT with slash
1259     {"NegativeMediumSpace", 0x0200B},  // ZERO WIDTH SPACE
1260     {"NegativeThickSpace", 0x0200B},  // ZERO WIDTH SPACE
1261     {"NegativeThinSpace", 0x0200B},  // ZERO WIDTH SPACE
1262     {"NegativeVeryThinSpace", 0x0200B},  // ZERO WIDTH SPACE
1263     {"nequiv",           0x02262},  // NOT IDENTICAL TO
1264     {"nesear",           0x02928},  // NORTH EAST ARROW AND SOUTH EAST ARROW
1265 //  "nesim",            0x02242;0x00338},  // MINUS TILDE with slash
1266     {"NestedGreaterGreater", 0x0226B},  // MUCH GREATER-THAN
1267     {"NestedLessLess",   0x0226A},  // MUCH LESS-THAN
1268     {"NewLine",          0x0000A},  // LINE FEED (LF)
1269     {"nexist",           0x02204},  // THERE DOES NOT EXIST
1270     {"nexists",          0x02204},  // THERE DOES NOT EXIST
1271     {"Nfr",              0x1D511},  // MATHEMATICAL FRAKTUR CAPITAL N
1272     {"nfr",              0x1D52B},  // MATHEMATICAL FRAKTUR SMALL N
1273 //  "ngE",              0x02267;0x00338},  // GREATER-THAN OVER EQUAL TO with slash
1274     {"nge",              0x02271},  // NEITHER GREATER-THAN NOR EQUAL TO
1275     {"ngeq",             0x02271},  // NEITHER GREATER-THAN NOR EQUAL TO
1276 //  "ngeqq",            0x02267;0x00338},  // GREATER-THAN OVER EQUAL TO with slash
1277 //  "ngeqslant",        0x02A7E;0x00338},  // GREATER-THAN OR SLANTED EQUAL TO with slash
1278 //  "nges",             0x02A7E;0x00338},  // GREATER-THAN OR SLANTED EQUAL TO with slash
1279 //  "nGg",              0x022D9;0x00338},  // VERY MUCH GREATER-THAN with slash
1280     {"Ngr",              0x0039D},  // GREEK CAPITAL LETTER NU
1281     {"ngr",              0x003BD},  // GREEK SMALL LETTER NU
1282     {"ngsim",            0x02275},  // NEITHER GREATER-THAN NOR EQUIVALENT TO
1283 //  "nGt",              0x0226B;0x020D2},  // MUCH GREATER THAN with vertical line
1284     {"ngt",              0x0226F},  // NOT GREATER-THAN
1285     {"ngtr",             0x0226F},  // NOT GREATER-THAN
1286 //  "nGtv",             0x0226B;0x00338},  // MUCH GREATER THAN with slash
1287     {"nharr",            0x021AE},  // LEFT RIGHT ARROW WITH STROKE
1288     {"nhArr",            0x021CE},  // LEFT RIGHT DOUBLE ARROW WITH STROKE
1289     {"nhpar",            0x02AF2},  // PARALLEL WITH HORIZONTAL STROKE
1290     {"ni",               0x0220B},  // CONTAINS AS MEMBER
1291     {"nis",              0x022FC},  // SMALL CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
1292     {"nisd",             0x022FA},  // CONTAINS WITH LONG HORIZONTAL STROKE
1293     {"niv",              0x0220B},  // CONTAINS AS MEMBER
1294     {"NJcy",             0x0040A},  // CYRILLIC CAPITAL LETTER NJE
1295     {"njcy",             0x0045A},  // CYRILLIC SMALL LETTER NJE
1296     {"nlarr",            0x0219A},  // LEFTWARDS ARROW WITH STROKE
1297     {"nlArr",            0x021CD},  // LEFTWARDS DOUBLE ARROW WITH STROKE
1298     {"nldr",             0x02025},  // TWO DOT LEADER
1299 //  "nlE",              0x02266;0x00338},  // LESS-THAN OVER EQUAL TO with slash
1300     {"nle",              0x02270},  // NEITHER LESS-THAN NOR EQUAL TO
1301     {"nleftarrow",       0x0219A},  // LEFTWARDS ARROW WITH STROKE
1302     {"nLeftarrow",       0x021CD},  // LEFTWARDS DOUBLE ARROW WITH STROKE
1303     {"nleftrightarrow",  0x021AE},  // LEFT RIGHT ARROW WITH STROKE
1304     {"nLeftrightarrow",  0x021CE},  // LEFT RIGHT DOUBLE ARROW WITH STROKE
1305     {"nleq",             0x02270},  // NEITHER LESS-THAN NOR EQUAL TO
1306 //  "nleqq",            0x02266;0x00338},  // LESS-THAN OVER EQUAL TO with slash
1307 //  "nleqslant",        0x02A7D;0x00338},  // LESS-THAN OR SLANTED EQUAL TO with slash
1308 //  "nles",             0x02A7D;0x00338},  // LESS-THAN OR SLANTED EQUAL TO with slash
1309     {"nless",            0x0226E},  // NOT LESS-THAN
1310 //  "nLl",              0x022D8;0x00338},  // VERY MUCH LESS-THAN with slash
1311     {"nlsim",            0x02274},  // NEITHER LESS-THAN NOR EQUIVALENT TO
1312 //  "nLt",              0x0226A;0x020D2},  // MUCH LESS THAN with vertical line
1313     {"nlt",              0x0226E},  // NOT LESS-THAN
1314     {"nltri",            0x022EA},  // NOT NORMAL SUBGROUP OF
1315     {"nltrie",           0x022EC},  // NOT NORMAL SUBGROUP OF OR EQUAL TO
1316 //  "nLtv",             0x0226A;0x00338},  // MUCH LESS THAN with slash
1317     {"nmid",             0x02224},  // DOES NOT DIVIDE
1318     {"NoBreak",          0x02060},  // WORD JOINER
1319     {"NonBreakingSpace", 0x000A0},  // NO-BREAK SPACE
1320     {"Nopf",             0x02115},  // DOUBLE-STRUCK CAPITAL N
1321     {"nopf",             0x1D55F},  // MATHEMATICAL DOUBLE-STRUCK SMALL N
1322     {"not",              0x000AC},  // NOT SIGN
1323     {"Not",              0x02AEC},  // DOUBLE STROKE NOT SIGN
1324     {"NotCongruent",     0x02262},  // NOT IDENTICAL TO
1325     {"NotCupCap",        0x0226D},  // NOT EQUIVALENT TO
1326     {"NotDoubleVerticalBar", 0x02226},  // NOT PARALLEL TO
1327     {"NotElement",       0x02209},  // NOT AN ELEMENT OF
1328     {"NotEqual",         0x02260},  // NOT EQUAL TO
1329 //  "NotEqualTilde",    0x02242;0x00338},  // MINUS TILDE with slash
1330     {"NotExists",        0x02204},  // THERE DOES NOT EXIST
1331     {"NotGreater",       0x0226F},  // NOT GREATER-THAN
1332     {"NotGreaterEqual",  0x02271},  // NEITHER GREATER-THAN NOR EQUAL TO
1333 //  "NotGreaterFullEqual", 0x02267;0x00338},  // GREATER-THAN OVER EQUAL TO with slash
1334 //  "NotGreaterGreater", 0x0226B;0x00338},  // MUCH GREATER THAN with slash
1335     {"NotGreaterLess",   0x02279},  // NEITHER GREATER-THAN NOR LESS-THAN
1336 //  "NotGreaterSlantEqual", 0x02A7E;0x00338},  // GREATER-THAN OR SLANTED EQUAL TO with slash
1337     {"NotGreaterTilde",  0x02275},  // NEITHER GREATER-THAN NOR EQUIVALENT TO
1338 //  "NotHumpDownHump",  0x0224E;0x00338},  // GEOMETRICALLY EQUIVALENT TO with slash
1339 //  "NotHumpEqual",     0x0224F;0x00338},  // DIFFERENCE BETWEEN with slash
1340     {"notin",            0x02209},  // NOT AN ELEMENT OF
1341 //  "notindot",         0x022F5;0x00338},  // ELEMENT OF WITH DOT ABOVE with slash
1342 //  "notinE",           0x022F9;0x00338},  // ELEMENT OF WITH TWO HORIZONTAL STROKES with slash
1343     {"notinva",          0x02209},  // NOT AN ELEMENT OF
1344     {"notinvb",          0x022F7},  // SMALL ELEMENT OF WITH OVERBAR
1345     {"notinvc",          0x022F6},  // ELEMENT OF WITH OVERBAR
1346     {"NotLeftTriangle",  0x022EA},  // NOT NORMAL SUBGROUP OF
1347 //  "NotLeftTriangleBar", 0x029CF;0x00338},  // LEFT TRIANGLE BESIDE VERTICAL BAR with slash
1348     {"NotLeftTriangleEqual", 0x022EC},  // NOT NORMAL SUBGROUP OF OR EQUAL TO
1349     {"NotLess",          0x0226E},  // NOT LESS-THAN
1350     {"NotLessEqual",     0x02270},  // NEITHER LESS-THAN NOR EQUAL TO
1351     {"NotLessGreater",   0x02278},  // NEITHER LESS-THAN NOR GREATER-THAN
1352 //  "NotLessLess",      0x0226A;0x00338},  // MUCH LESS THAN with slash
1353 //  "NotLessSlantEqual", 0x02A7D;0x00338},  // LESS-THAN OR SLANTED EQUAL TO with slash
1354     {"NotLessTilde",     0x02274},  // NEITHER LESS-THAN NOR EQUIVALENT TO
1355 //  "NotNestedGreaterGreater", 0x02AA2;0x00338},  // DOUBLE NESTED GREATER-THAN with slash
1356 //  "NotNestedLessLess", 0x02AA1;0x00338},  // DOUBLE NESTED LESS-THAN with slash
1357     {"notni",            0x0220C},  // DOES NOT CONTAIN AS MEMBER
1358     {"notniva",          0x0220C},  // DOES NOT CONTAIN AS MEMBER
1359     {"notnivb",          0x022FE},  // SMALL CONTAINS WITH OVERBAR
1360     {"notnivc",          0x022FD},  // CONTAINS WITH OVERBAR
1361     {"NotPrecedes",      0x02280},  // DOES NOT PRECEDE
1362 //  "NotPrecedesEqual", 0x02AAF;0x00338},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN with slash
1363     {"NotPrecedesSlantEqual", 0x022E0},  // DOES NOT PRECEDE OR EQUAL
1364     {"NotReverseElement", 0x0220C},  // DOES NOT CONTAIN AS MEMBER
1365     {"NotRightTriangle", 0x022EB},  // DOES NOT CONTAIN AS NORMAL SUBGROUP
1366 //  "NotRightTriangleBar", 0x029D0;0x00338},  // VERTICAL BAR BESIDE RIGHT TRIANGLE with slash
1367     {"NotRightTriangleEqual", 0x022ED},  // DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL
1368 //  "NotSquareSubset",  0x0228F;0x00338},  // SQUARE IMAGE OF with slash
1369     {"NotSquareSubsetEqual", 0x022E2},  // NOT SQUARE IMAGE OF OR EQUAL TO
1370 //  "NotSquareSuperset", 0x02290;0x00338},  // SQUARE ORIGINAL OF with slash
1371     {"NotSquareSupersetEqual", 0x022E3},  // NOT SQUARE ORIGINAL OF OR EQUAL TO
1372 //  "NotSubset",        0x02282;0x020D2},  // SUBSET OF with vertical line
1373     {"NotSubsetEqual",   0x02288},  // NEITHER A SUBSET OF NOR EQUAL TO
1374     {"NotSucceeds",      0x02281},  // DOES NOT SUCCEED
1375 //  "NotSucceedsEqual", 0x02AB0;0x00338},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN with slash
1376     {"NotSucceedsSlantEqual", 0x022E1},  // DOES NOT SUCCEED OR EQUAL
1377 //  "NotSucceedsTilde", 0x0227F;0x00338},  // SUCCEEDS OR EQUIVALENT TO with slash
1378 //  "NotSuperset",      0x02283;0x020D2},  // SUPERSET OF with vertical line
1379     {"NotSupersetEqual", 0x02289},  // NEITHER A SUPERSET OF NOR EQUAL TO
1380     {"NotTilde",         0x02241},  // NOT TILDE
1381     {"NotTildeEqual",    0x02244},  // NOT ASYMPTOTICALLY EQUAL TO
1382     {"NotTildeFullEqual", 0x02247},  // NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO
1383     {"NotTildeTilde",    0x02249},  // NOT ALMOST EQUAL TO
1384     {"NotVerticalBar",   0x02224},  // DOES NOT DIVIDE
1385     {"npar",             0x02226},  // NOT PARALLEL TO
1386     {"nparallel",        0x02226},  // NOT PARALLEL TO
1387 //  "nparsl",           0x02AFD;0x020E5},  // DOUBLE SOLIDUS OPERATOR with reverse slash
1388 //  "npart",            0x02202;0x00338},  // PARTIAL DIFFERENTIAL with slash
1389     {"npolint",          0x02A14},  // LINE INTEGRATION NOT INCLUDING THE POLE
1390     {"npr",              0x02280},  // DOES NOT PRECEDE
1391     {"nprcue",           0x022E0},  // DOES NOT PRECEDE OR EQUAL
1392 //  "npre",             0x02AAF;0x00338},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN with slash
1393     {"nprec",            0x02280},  // DOES NOT PRECEDE
1394 //  "npreceq",          0x02AAF;0x00338},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN with slash
1395     {"nrarr",            0x0219B},  // RIGHTWARDS ARROW WITH STROKE
1396     {"nrArr",            0x021CF},  // RIGHTWARDS DOUBLE ARROW WITH STROKE
1397 //  "nrarrc",           0x02933;0x00338},  // WAVE ARROW POINTING DIRECTLY RIGHT with slash
1398 //  "nrarrw",           0x0219D;0x00338},  // RIGHTWARDS WAVE ARROW with slash
1399     {"nrightarrow",      0x0219B},  // RIGHTWARDS ARROW WITH STROKE
1400     {"nRightarrow",      0x021CF},  // RIGHTWARDS DOUBLE ARROW WITH STROKE
1401     {"nrtri",            0x022EB},  // DOES NOT CONTAIN AS NORMAL SUBGROUP
1402     {"nrtrie",           0x022ED},  // DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL
1403     {"nsc",              0x02281},  // DOES NOT SUCCEED
1404     {"nsccue",           0x022E1},  // DOES NOT SUCCEED OR EQUAL
1405 //  "nsce",             0x02AB0;0x00338},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN with slash
1406     {"Nscr",             0x1D4A9},  // MATHEMATICAL SCRIPT CAPITAL N
1407     {"nscr",             0x1D4C3},  // MATHEMATICAL SCRIPT SMALL N
1408     {"nshortmid",        0x02224},  // DOES NOT DIVIDE
1409     {"nshortparallel",   0x02226},  // NOT PARALLEL TO
1410     {"nsim",             0x02241},  // NOT TILDE
1411     {"nsime",            0x02244},  // NOT ASYMPTOTICALLY EQUAL TO
1412     {"nsimeq",           0x02244},  // NOT ASYMPTOTICALLY EQUAL TO
1413     {"nsmid",            0x02224},  // DOES NOT DIVIDE
1414     {"nspar",            0x02226},  // NOT PARALLEL TO
1415     {"nsqsube",          0x022E2},  // NOT SQUARE IMAGE OF OR EQUAL TO
1416     {"nsqsupe",          0x022E3},  // NOT SQUARE ORIGINAL OF OR EQUAL TO
1417     {"nsub",             0x02284},  // NOT A SUBSET OF
1418     {"nsube",            0x02288},  // NEITHER A SUBSET OF NOR EQUAL TO
1419 //  "nsubE",            0x02AC5;0x00338},  // SUBSET OF ABOVE EQUALS SIGN with slash
1420 //  "nsubset",          0x02282;0x020D2},  // SUBSET OF with vertical line
1421     {"nsubseteq",        0x02288},  // NEITHER A SUBSET OF NOR EQUAL TO
1422 //  "nsubseteqq",       0x02AC5;0x00338},  // SUBSET OF ABOVE EQUALS SIGN with slash
1423     {"nsucc",            0x02281},  // DOES NOT SUCCEED
1424 //  "nsucceq",          0x02AB0;0x00338},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN with slash
1425     {"nsup",             0x02285},  // NOT A SUPERSET OF
1426     {"nsupe",            0x02289},  // NEITHER A SUPERSET OF NOR EQUAL TO
1427 //  "nsupE",            0x02AC6;0x00338},  // SUPERSET OF ABOVE EQUALS SIGN with slash
1428 //  "nsupset",          0x02283;0x020D2},  // SUPERSET OF with vertical line
1429     {"nsupseteq",        0x02289},  // NEITHER A SUPERSET OF NOR EQUAL TO
1430 //  "nsupseteqq",       0x02AC6;0x00338},  // SUPERSET OF ABOVE EQUALS SIGN with slash
1431     {"ntgl",             0x02279},  // NEITHER GREATER-THAN NOR LESS-THAN
1432     {"Ntilde",           0x000D1},  // LATIN CAPITAL LETTER N WITH TILDE
1433     {"ntilde",           0x000F1},  // LATIN SMALL LETTER N WITH TILDE
1434     {"ntlg",             0x02278},  // NEITHER LESS-THAN NOR GREATER-THAN
1435     {"ntriangleleft",    0x022EA},  // NOT NORMAL SUBGROUP OF
1436     {"ntrianglelefteq",  0x022EC},  // NOT NORMAL SUBGROUP OF OR EQUAL TO
1437     {"ntriangleright",   0x022EB},  // DOES NOT CONTAIN AS NORMAL SUBGROUP
1438     {"ntrianglerighteq", 0x022ED},  // DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL
1439     {"Nu",               0x0039D},  // GREEK CAPITAL LETTER NU
1440     {"nu",               0x003BD},  // GREEK SMALL LETTER NU
1441     {"num",              0x00023},  // NUMBER SIGN
1442     {"numero",           0x02116},  // NUMERO SIGN
1443     {"numsp",            0x02007},  // FIGURE SPACE
1444 //  "nvap",             0x0224D;0x020D2},  // EQUIVALENT TO with vertical line
1445     {"nvdash",           0x022AC},  // DOES NOT PROVE
1446     {"nvDash",           0x022AD},  // NOT TRUE
1447     {"nVdash",           0x022AE},  // DOES NOT FORCE
1448     {"nVDash",           0x022AF},  // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
1449 //  "nvge",             0x02265;0x020D2},  // GREATER-THAN OR EQUAL TO with vertical line
1450 //  "nvgt",             0x0003E;0x020D2},  // GREATER-THAN SIGN with vertical line
1451     {"nvHarr",           0x02904},  // LEFT RIGHT DOUBLE ARROW WITH VERTICAL STROKE
1452     {"nvinfin",          0x029DE},  // INFINITY NEGATED WITH VERTICAL BAR
1453     {"nvlArr",           0x02902},  // LEFTWARDS DOUBLE ARROW WITH VERTICAL STROKE
1454 //  "nvle",             0x02264;0x020D2},  // LESS-THAN OR EQUAL TO with vertical line
1455 //  "nvlt",             0x0003C;0x020D2},  // LESS-THAN SIGN with vertical line
1456 //  "nvltrie",          0x022B4;0x020D2},  // NORMAL SUBGROUP OF OR EQUAL TO with vertical line
1457     {"nvrArr",           0x02903},  // RIGHTWARDS DOUBLE ARROW WITH VERTICAL STROKE
1458 //  "nvrtrie",          0x022B5;0x020D2},  // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO with vertical line
1459 //  "nvsim",            0x0223C;0x020D2},  // TILDE OPERATOR with vertical line
1460     {"nwarhk",           0x02923},  // NORTH WEST ARROW WITH HOOK
1461     {"nwarr",            0x02196},  // NORTH WEST ARROW
1462     {"nwArr",            0x021D6},  // NORTH WEST DOUBLE ARROW
1463     {"nwarrow",          0x02196},  // NORTH WEST ARROW
1464     {"nwnear",           0x02927},  // NORTH WEST ARROW AND NORTH EAST ARROW
1465 ];
1466 
1467 immutable NameId[] namesO =
1468 [
1469     {"Oacgr",            0x0038C},  // GREEK CAPITAL LETTER OMICRON WITH TONOS
1470     {"oacgr",            0x003CC},  // GREEK SMALL LETTER OMICRON WITH TONOS
1471     {"Oacute",           0x000D3},  // LATIN CAPITAL LETTER O WITH ACUTE
1472     {"oacute",           0x000F3},  // LATIN SMALL LETTER O WITH ACUTE
1473     {"oast",             0x0229B},  // CIRCLED ASTERISK OPERATOR
1474     {"ocir",             0x0229A},  // CIRCLED RING OPERATOR
1475     {"Ocirc",            0x000D4},  // LATIN CAPITAL LETTER O WITH CIRCUMFLEX
1476     {"ocirc",            0x000F4},  // LATIN SMALL LETTER O WITH CIRCUMFLEX
1477     {"Ocy",              0x0041E},  // CYRILLIC CAPITAL LETTER O
1478     {"ocy",              0x0043E},  // CYRILLIC SMALL LETTER O
1479     {"odash",            0x0229D},  // CIRCLED DASH
1480     {"Odblac",           0x00150},  // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE
1481     {"odblac",           0x00151},  // LATIN SMALL LETTER O WITH DOUBLE ACUTE
1482     {"odiv",             0x02A38},  // CIRCLED DIVISION SIGN
1483     {"odot",             0x02299},  // CIRCLED DOT OPERATOR
1484     {"odsold",           0x029BC},  // CIRCLED ANTICLOCKWISE-ROTATED DIVISION SIGN
1485     {"OElig",            0x00152},  // LATIN CAPITAL LIGATURE OE
1486     {"oelig",            0x00153},  // LATIN SMALL LIGATURE OE
1487     {"ofcir",            0x029BF},  // CIRCLED BULLET
1488     {"Ofr",              0x1D512},  // MATHEMATICAL FRAKTUR CAPITAL O
1489     {"ofr",              0x1D52C},  // MATHEMATICAL FRAKTUR SMALL O
1490     {"ogon",             0x002DB},  // OGONEK
1491     {"Ogr",              0x0039F},  // GREEK CAPITAL LETTER OMICRON
1492     {"ogr",              0x003BF},  // GREEK SMALL LETTER OMICRON
1493     {"Ograve",           0x000D2},  // LATIN CAPITAL LETTER O WITH GRAVE
1494     {"ograve",           0x000F2},  // LATIN SMALL LETTER O WITH GRAVE
1495     {"ogt",              0x029C1},  // CIRCLED GREATER-THAN
1496     {"OHacgr",           0x0038F},  // GREEK CAPITAL LETTER OMEGA WITH TONOS
1497     {"ohacgr",           0x003CE},  // GREEK SMALL LETTER OMEGA WITH TONOS
1498     {"ohbar",            0x029B5},  // CIRCLE WITH HORIZONTAL BAR
1499     {"OHgr",             0x003A9},  // GREEK CAPITAL LETTER OMEGA
1500     {"ohgr",             0x003C9},  // GREEK SMALL LETTER OMEGA
1501     {"ohm",              0x003A9},  // GREEK CAPITAL LETTER OMEGA
1502     {"oint",             0x0222E},  // CONTOUR INTEGRAL
1503     {"olarr",            0x021BA},  // ANTICLOCKWISE OPEN CIRCLE ARROW
1504     {"olcir",            0x029BE},  // CIRCLED WHITE BULLET
1505     {"olcross",          0x029BB},  // CIRCLE WITH SUPERIMPOSED X
1506     {"oline",            0x0203E},  // OVERLINE
1507     {"olt",              0x029C0},  // CIRCLED LESS-THAN
1508     {"Omacr",            0x0014C},  // LATIN CAPITAL LETTER O WITH MACRON
1509     {"omacr",            0x0014D},  // LATIN SMALL LETTER O WITH MACRON
1510     {"Omega",            0x003A9},  // GREEK CAPITAL LETTER OMEGA
1511     {"omega",            0x003C9},  // GREEK SMALL LETTER OMEGA
1512     {"Omicron",          0x0039F},  // GREEK CAPITAL LETTER OMICRON
1513     {"omicron",          0x003BF},  // GREEK SMALL LETTER OMICRON
1514     {"omid",             0x029B6},  // CIRCLED VERTICAL BAR
1515     {"ominus",           0x02296},  // CIRCLED MINUS
1516     {"Oopf",             0x1D546},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL O
1517     {"oopf",             0x1D560},  // MATHEMATICAL DOUBLE-STRUCK SMALL O
1518     {"opar",             0x029B7},  // CIRCLED PARALLEL
1519     {"OpenCurlyDoubleQuote", 0x0201C},  // LEFT DOUBLE QUOTATION MARK
1520     {"OpenCurlyQuote",   0x02018},  // LEFT SINGLE QUOTATION MARK
1521     {"operp",            0x029B9},  // CIRCLED PERPENDICULAR
1522     {"oplus",            0x02295},  // CIRCLED PLUS
1523     {"or",               0x02228},  // LOGICAL OR
1524     {"Or",               0x02A54},  // DOUBLE LOGICAL OR
1525     {"orarr",            0x021BB},  // CLOCKWISE OPEN CIRCLE ARROW
1526     {"ord",              0x02A5D},  // LOGICAL OR WITH HORIZONTAL DASH
1527     {"order",            0x02134},  // SCRIPT SMALL O
1528     {"orderof",          0x02134},  // SCRIPT SMALL O
1529     {"ordf",             0x000AA},  // FEMININE ORDINAL INDICATOR
1530     {"ordm",             0x000BA},  // MASCULINE ORDINAL INDICATOR
1531     {"origof",           0x022B6},  // ORIGINAL OF
1532     {"oror",             0x02A56},  // TWO INTERSECTING LOGICAL OR
1533     {"orslope",          0x02A57},  // SLOPING LARGE OR
1534     {"orv",              0x02A5B},  // LOGICAL OR WITH MIDDLE STEM
1535     {"oS",               0x024C8},  // CIRCLED LATIN CAPITAL LETTER S
1536     {"oscr",             0x02134},  // SCRIPT SMALL O
1537     {"Oscr",             0x1D4AA},  // MATHEMATICAL SCRIPT CAPITAL O
1538     {"Oslash",           0x000D8},  // LATIN CAPITAL LETTER O WITH STROKE
1539     {"oslash",           0x000F8},  // LATIN SMALL LETTER O WITH STROKE
1540     {"osol",             0x02298},  // CIRCLED DIVISION SLASH
1541     {"Otilde",           0x000D5},  // LATIN CAPITAL LETTER O WITH TILDE
1542     {"otilde",           0x000F5},  // LATIN SMALL LETTER O WITH TILDE
1543     {"otimes",           0x02297},  // CIRCLED TIMES
1544     {"Otimes",           0x02A37},  // MULTIPLICATION SIGN IN DOUBLE CIRCLE
1545     {"otimesas",         0x02A36},  // CIRCLED MULTIPLICATION SIGN WITH CIRCUMFLEX ACCENT
1546     {"Ouml",             0x000D6},  // LATIN CAPITAL LETTER O WITH DIAERESIS
1547     {"ouml",             0x000F6},  // LATIN SMALL LETTER O WITH DIAERESIS
1548     {"ovbar",            0x0233D},  // APL FUNCTIONAL SYMBOL CIRCLE STILE
1549     {"OverBar",          0x0203E},  // OVERLINE
1550     {"OverBrace",        0x023DE},  // TOP CURLY BRACKET
1551     {"OverBracket",      0x023B4},  // TOP SQUARE BRACKET
1552     {"OverParenthesis",  0x023DC},  // TOP PARENTHESIS
1553 ];
1554 
1555 immutable NameId[] namesP =
1556 [
1557     {"par",              0x02225},  // PARALLEL TO
1558     {"para",             0x000B6},  // PILCROW SIGN
1559     {"parallel",         0x02225},  // PARALLEL TO
1560     {"parsim",           0x02AF3},  // PARALLEL WITH TILDE OPERATOR
1561     {"parsl",            0x02AFD},  // DOUBLE SOLIDUS OPERATOR
1562     {"part",             0x02202},  // PARTIAL DIFFERENTIAL
1563     {"PartialD",         0x02202},  // PARTIAL DIFFERENTIAL
1564     {"Pcy",              0x0041F},  // CYRILLIC CAPITAL LETTER PE
1565     {"pcy",              0x0043F},  // CYRILLIC SMALL LETTER PE
1566     {"percnt",           0x00025},  // PERCENT SIGN
1567     {"period",           0x0002E},  // FULL STOP
1568     {"permil",           0x02030},  // PER MILLE SIGN
1569     {"perp",             0x022A5},  // UP TACK
1570     {"pertenk",          0x02031},  // PER TEN THOUSAND SIGN
1571     {"Pfr",              0x1D513},  // MATHEMATICAL FRAKTUR CAPITAL P
1572     {"pfr",              0x1D52D},  // MATHEMATICAL FRAKTUR SMALL P
1573     {"Pgr",              0x003A0},  // GREEK CAPITAL LETTER PI
1574     {"pgr",              0x003C0},  // GREEK SMALL LETTER PI
1575     {"PHgr",             0x003A6},  // GREEK CAPITAL LETTER PHI
1576     {"phgr",             0x003C6},  // GREEK SMALL LETTER PHI
1577     {"Phi",              0x003A6},  // GREEK CAPITAL LETTER PHI
1578     {"phi",              0x003C6},  // GREEK SMALL LETTER PHI
1579     {"phiv",             0x003D5},  // GREEK PHI SYMBOL
1580     {"phmmat",           0x02133},  // SCRIPT CAPITAL M
1581     {"phone",            0x0260E},  // BLACK TELEPHONE
1582     {"Pi",               0x003A0},  // GREEK CAPITAL LETTER PI
1583     {"pi",               0x003C0},  // GREEK SMALL LETTER PI
1584     {"pitchfork",        0x022D4},  // PITCHFORK
1585     {"piv",              0x003D6},  // GREEK PI SYMBOL
1586     {"planck",           0x0210F},  // PLANCK CONSTANT OVER TWO PI
1587     {"planckh",          0x0210E},  // PLANCK CONSTANT
1588     {"plankv",           0x0210F},  // PLANCK CONSTANT OVER TWO PI
1589     {"plus",             0x0002B},  // PLUS SIGN
1590     {"plusacir",         0x02A23},  // PLUS SIGN WITH CIRCUMFLEX ACCENT ABOVE
1591     {"plusb",            0x0229E},  // SQUARED PLUS
1592     {"pluscir",          0x02A22},  // PLUS SIGN WITH SMALL CIRCLE ABOVE
1593     {"plusdo",           0x02214},  // DOT PLUS
1594     {"plusdu",           0x02A25},  // PLUS SIGN WITH DOT BELOW
1595     {"pluse",            0x02A72},  // PLUS SIGN ABOVE EQUALS SIGN
1596     {"PlusMinus",        0x000B1},  // PLUS-MINUS SIGN
1597     {"plusmn",           0x000B1},  // PLUS-MINUS SIGN
1598     {"plussim",          0x02A26},  // PLUS SIGN WITH TILDE BELOW
1599     {"plustwo",          0x02A27},  // PLUS SIGN WITH SUBSCRIPT TWO
1600     {"pm",               0x000B1},  // PLUS-MINUS SIGN
1601     {"Poincareplane",    0x0210C},  // BLACK-LETTER CAPITAL H
1602     {"pointint",         0x02A15},  // INTEGRAL AROUND A POINT OPERATOR
1603     {"Popf",             0x02119},  // DOUBLE-STRUCK CAPITAL P
1604     {"popf",             0x1D561},  // MATHEMATICAL DOUBLE-STRUCK SMALL P
1605     {"pound",            0x000A3},  // POUND SIGN
1606     {"pr",               0x0227A},  // PRECEDES
1607     {"Pr",               0x02ABB},  // DOUBLE PRECEDES
1608     {"prap",             0x02AB7},  // PRECEDES ABOVE ALMOST EQUAL TO
1609     {"prcue",            0x0227C},  // PRECEDES OR EQUAL TO
1610     {"pre",              0x02AAF},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN
1611     {"prE",              0x02AB3},  // PRECEDES ABOVE EQUALS SIGN
1612     {"prec",             0x0227A},  // PRECEDES
1613     {"precapprox",       0x02AB7},  // PRECEDES ABOVE ALMOST EQUAL TO
1614     {"preccurlyeq",      0x0227C},  // PRECEDES OR EQUAL TO
1615     {"Precedes",         0x0227A},  // PRECEDES
1616     {"PrecedesEqual",    0x02AAF},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN
1617     {"PrecedesSlantEqual", 0x0227C},  // PRECEDES OR EQUAL TO
1618     {"PrecedesTilde",    0x0227E},  // PRECEDES OR EQUIVALENT TO
1619     {"preceq",           0x02AAF},  // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN
1620     {"precnapprox",      0x02AB9},  // PRECEDES ABOVE NOT ALMOST EQUAL TO
1621     {"precneqq",         0x02AB5},  // PRECEDES ABOVE NOT EQUAL TO
1622     {"precnsim",         0x022E8},  // PRECEDES BUT NOT EQUIVALENT TO
1623     {"precsim",          0x0227E},  // PRECEDES OR EQUIVALENT TO
1624     {"prime",            0x02032},  // PRIME
1625     {"Prime",            0x02033},  // DOUBLE PRIME
1626     {"primes",           0x02119},  // DOUBLE-STRUCK CAPITAL P
1627     {"prnap",            0x02AB9},  // PRECEDES ABOVE NOT ALMOST EQUAL TO
1628     {"prnE",             0x02AB5},  // PRECEDES ABOVE NOT EQUAL TO
1629     {"prnsim",           0x022E8},  // PRECEDES BUT NOT EQUIVALENT TO
1630     {"prod",             0x0220F},  // N-ARY PRODUCT
1631     {"Product",          0x0220F},  // N-ARY PRODUCT
1632     {"profalar",         0x0232E},  // ALL AROUND-PROFILE
1633     {"profline",         0x02312},  // ARC
1634     {"profsurf",         0x02313},  // SEGMENT
1635     {"prop",             0x0221D},  // PROPORTIONAL TO
1636     {"Proportion",       0x02237},  // PROPORTION
1637     {"Proportional",     0x0221D},  // PROPORTIONAL TO
1638     {"propto",           0x0221D},  // PROPORTIONAL TO
1639     {"prsim",            0x0227E},  // PRECEDES OR EQUIVALENT TO
1640     {"prurel",           0x022B0},  // PRECEDES UNDER RELATION
1641     {"Pscr",             0x1D4AB},  // MATHEMATICAL SCRIPT CAPITAL P
1642     {"pscr",             0x1D4C5},  // MATHEMATICAL SCRIPT SMALL P
1643     {"PSgr",             0x003A8},  // GREEK CAPITAL LETTER PSI
1644     {"psgr",             0x003C8},  // GREEK SMALL LETTER PSI
1645     {"Psi",              0x003A8},  // GREEK CAPITAL LETTER PSI
1646     {"psi",              0x003C8},  // GREEK SMALL LETTER PSI
1647     {"puncsp",           0x02008},  // PUNCTUATION SPACE
1648 ];
1649 
1650 immutable NameId[] namesQ =
1651 [
1652     {"Qfr",              0x1D514},  // MATHEMATICAL FRAKTUR CAPITAL Q
1653     {"qfr",              0x1D52E},  // MATHEMATICAL FRAKTUR SMALL Q
1654     {"qint",             0x02A0C},  // QUADRUPLE INTEGRAL OPERATOR
1655     {"Qopf",             0x0211A},  // DOUBLE-STRUCK CAPITAL Q
1656     {"qopf",             0x1D562},  // MATHEMATICAL DOUBLE-STRUCK SMALL Q
1657     {"qprime",           0x02057},  // QUADRUPLE PRIME
1658     {"Qscr",             0x1D4AC},  // MATHEMATICAL SCRIPT CAPITAL Q
1659     {"qscr",             0x1D4C6},  // MATHEMATICAL SCRIPT SMALL Q
1660     {"quaternions",      0x0210D},  // DOUBLE-STRUCK CAPITAL H
1661     {"quatint",          0x02A16},  // QUATERNION INTEGRAL OPERATOR
1662     {"quest",            0x0003F},  // QUESTION MARK
1663     {"questeq",          0x0225F},  // QUESTIONED EQUAL TO
1664     {"quot",             0x00022},  // QUOTATION MARK
1665     {"QUOT",             0x00022},  // QUOTATION MARK
1666 ];
1667 
1668 immutable NameId[] namesR =
1669 [
1670     {"rAarr",            0x021DB},  // RIGHTWARDS TRIPLE ARROW
1671 //  "race",             0x0223D;0x00331},  // REVERSED TILDE with underline
1672     {"Racute",           0x00154},  // LATIN CAPITAL LETTER R WITH ACUTE
1673     {"racute",           0x00155},  // LATIN SMALL LETTER R WITH ACUTE
1674     {"radic",            0x0221A},  // SQUARE ROOT
1675     {"raemptyv",         0x029B3},  // EMPTY SET WITH RIGHT ARROW ABOVE
1676     {"rang",             0x027E9},  // MATHEMATICAL RIGHT ANGLE BRACKET
1677     {"Rang",             0x027EB},  // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET
1678     {"rangd",            0x02992},  // RIGHT ANGLE BRACKET WITH DOT
1679     {"range",            0x029A5},  // REVERSED ANGLE WITH UNDERBAR
1680     {"rangle",           0x027E9},  // MATHEMATICAL RIGHT ANGLE BRACKET
1681     {"raquo",            0x000BB},  // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
1682     {"rarr",             0x02192},  // RIGHTWARDS ARROW
1683     {"Rarr",             0x021A0},  // RIGHTWARDS TWO HEADED ARROW
1684     {"rArr",             0x021D2},  // RIGHTWARDS DOUBLE ARROW
1685     {"rarrap",           0x02975},  // RIGHTWARDS ARROW ABOVE ALMOST EQUAL TO
1686     {"rarrb",            0x021E5},  // RIGHTWARDS ARROW TO BAR
1687     {"rarrbfs",          0x02920},  // RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND
1688     {"rarrc",            0x02933},  // WAVE ARROW POINTING DIRECTLY RIGHT
1689     {"rarrfs",           0x0291E},  // RIGHTWARDS ARROW TO BLACK DIAMOND
1690     {"rarrhk",           0x021AA},  // RIGHTWARDS ARROW WITH HOOK
1691     {"rarrlp",           0x021AC},  // RIGHTWARDS ARROW WITH LOOP
1692     {"rarrpl",           0x02945},  // RIGHTWARDS ARROW WITH PLUS BELOW
1693     {"rarrsim",          0x02974},  // RIGHTWARDS ARROW ABOVE TILDE OPERATOR
1694     {"rarrtl",           0x021A3},  // RIGHTWARDS ARROW WITH TAIL
1695     {"Rarrtl",           0x02916},  // RIGHTWARDS TWO-HEADED ARROW WITH TAIL
1696     {"rarrw",            0x0219D},  // RIGHTWARDS WAVE ARROW
1697     {"ratail",           0x0291A},  // RIGHTWARDS ARROW-TAIL
1698     {"rAtail",           0x0291C},  // RIGHTWARDS DOUBLE ARROW-TAIL
1699     {"ratio",            0x02236},  // RATIO
1700     {"rationals",        0x0211A},  // DOUBLE-STRUCK CAPITAL Q
1701     {"rbarr",            0x0290D},  // RIGHTWARDS DOUBLE DASH ARROW
1702     {"rBarr",            0x0290F},  // RIGHTWARDS TRIPLE DASH ARROW
1703     {"RBarr",            0x02910},  // RIGHTWARDS TWO-HEADED TRIPLE DASH ARROW
1704     {"rbbrk",            0x02773},  // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT
1705     {"rbrace",           0x0007D},  // RIGHT CURLY BRACKET
1706     {"rbrack",           0x0005D},  // RIGHT SQUARE BRACKET
1707     {"rbrke",            0x0298C},  // RIGHT SQUARE BRACKET WITH UNDERBAR
1708     {"rbrksld",          0x0298E},  // RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER
1709     {"rbrkslu",          0x02990},  // RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER
1710     {"Rcaron",           0x00158},  // LATIN CAPITAL LETTER R WITH CARON
1711     {"rcaron",           0x00159},  // LATIN SMALL LETTER R WITH CARON
1712     {"Rcedil",           0x00156},  // LATIN CAPITAL LETTER R WITH CEDILLA
1713     {"rcedil",           0x00157},  // LATIN SMALL LETTER R WITH CEDILLA
1714     {"rceil",            0x02309},  // RIGHT CEILING
1715     {"rcub",             0x0007D},  // RIGHT CURLY BRACKET
1716     {"Rcy",              0x00420},  // CYRILLIC CAPITAL LETTER ER
1717     {"rcy",              0x00440},  // CYRILLIC SMALL LETTER ER
1718     {"rdca",             0x02937},  // ARROW POINTING DOWNWARDS THEN CURVING RIGHTWARDS
1719     {"rdldhar",          0x02969},  // RIGHTWARDS HARPOON WITH BARB DOWN ABOVE LEFTWARDS HARPOON WITH BARB DOWN
1720     {"rdquo",            0x0201D},  // RIGHT DOUBLE QUOTATION MARK
1721     {"rdquor",           0x0201D},  // RIGHT DOUBLE QUOTATION MARK
1722     {"rdsh",             0x021B3},  // DOWNWARDS ARROW WITH TIP RIGHTWARDS
1723     {"Re",               0x0211C},  // BLACK-LETTER CAPITAL R
1724     {"real",             0x0211C},  // BLACK-LETTER CAPITAL R
1725     {"realine",          0x0211B},  // SCRIPT CAPITAL R
1726     {"realpart",         0x0211C},  // BLACK-LETTER CAPITAL R
1727     {"reals",            0x0211D},  // DOUBLE-STRUCK CAPITAL R
1728     {"rect",             0x025AD},  // WHITE RECTANGLE
1729     {"reg",              0x000AE},  // REGISTERED SIGN
1730     {"REG",              0x000AE},  // REGISTERED SIGN
1731     {"ReverseElement",   0x0220B},  // CONTAINS AS MEMBER
1732     {"ReverseEquilibrium", 0x021CB},  // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON
1733     {"ReverseUpEquilibrium", 0x0296F},  // DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT
1734     {"rfisht",           0x0297D},  // RIGHT FISH TAIL
1735     {"rfloor",           0x0230B},  // RIGHT FLOOR
1736     {"Rfr",              0x0211C},  // BLACK-LETTER CAPITAL R
1737     {"rfr",              0x1D52F},  // MATHEMATICAL FRAKTUR SMALL R
1738     {"Rgr",              0x003A1},  // GREEK CAPITAL LETTER RHO
1739     {"rgr",              0x003C1},  // GREEK SMALL LETTER RHO
1740     {"rHar",             0x02964},  // RIGHTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB DOWN
1741     {"rhard",            0x021C1},  // RIGHTWARDS HARPOON WITH BARB DOWNWARDS
1742     {"rharu",            0x021C0},  // RIGHTWARDS HARPOON WITH BARB UPWARDS
1743     {"rharul",           0x0296C},  // RIGHTWARDS HARPOON WITH BARB UP ABOVE LONG DASH
1744     {"Rho",              0x003A1},  // GREEK CAPITAL LETTER RHO
1745     {"rho",              0x003C1},  // GREEK SMALL LETTER RHO
1746     {"rhov",             0x003F1},  // GREEK RHO SYMBOL
1747     {"RightAngleBracket", 0x027E9},  // MATHEMATICAL RIGHT ANGLE BRACKET
1748     {"rightarrow",       0x02192},  // RIGHTWARDS ARROW
1749     {"RightArrow",       0x02192},  // RIGHTWARDS ARROW
1750     {"Rightarrow",       0x021D2},  // RIGHTWARDS DOUBLE ARROW
1751     {"RightArrowBar",    0x021E5},  // RIGHTWARDS ARROW TO BAR
1752     {"RightArrowLeftArrow", 0x021C4},  // RIGHTWARDS ARROW OVER LEFTWARDS ARROW
1753     {"rightarrowtail",   0x021A3},  // RIGHTWARDS ARROW WITH TAIL
1754     {"RightCeiling",     0x02309},  // RIGHT CEILING
1755     {"RightDoubleBracket", 0x027E7},  // MATHEMATICAL RIGHT WHITE SQUARE BRACKET
1756     {"RightDownTeeVector", 0x0295D},  // DOWNWARDS HARPOON WITH BARB RIGHT FROM BAR
1757     {"RightDownVector",  0x021C2},  // DOWNWARDS HARPOON WITH BARB RIGHTWARDS
1758     {"RightDownVectorBar", 0x02955},  // DOWNWARDS HARPOON WITH BARB RIGHT TO BAR
1759     {"RightFloor",       0x0230B},  // RIGHT FLOOR
1760     {"rightharpoondown", 0x021C1},  // RIGHTWARDS HARPOON WITH BARB DOWNWARDS
1761     {"rightharpoonup",   0x021C0},  // RIGHTWARDS HARPOON WITH BARB UPWARDS
1762     {"rightleftarrows",  0x021C4},  // RIGHTWARDS ARROW OVER LEFTWARDS ARROW
1763     {"rightleftharpoons", 0x021CC},  // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON
1764     {"rightrightarrows", 0x021C9},  // RIGHTWARDS PAIRED ARROWS
1765     {"rightsquigarrow",  0x0219D},  // RIGHTWARDS WAVE ARROW
1766     {"RightTee",         0x022A2},  // RIGHT TACK
1767     {"RightTeeArrow",    0x021A6},  // RIGHTWARDS ARROW FROM BAR
1768     {"RightTeeVector",   0x0295B},  // RIGHTWARDS HARPOON WITH BARB UP FROM BAR
1769     {"rightthreetimes",  0x022CC},  // RIGHT SEMIDIRECT PRODUCT
1770     {"RightTriangle",    0x022B3},  // CONTAINS AS NORMAL SUBGROUP
1771     {"RightTriangleBar", 0x029D0},  // VERTICAL BAR BESIDE RIGHT TRIANGLE
1772     {"RightTriangleEqual", 0x022B5},  // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO
1773     {"RightUpDownVector", 0x0294F},  // UP BARB RIGHT DOWN BARB RIGHT HARPOON
1774     {"RightUpTeeVector", 0x0295C},  // UPWARDS HARPOON WITH BARB RIGHT FROM BAR
1775     {"RightUpVector",    0x021BE},  // UPWARDS HARPOON WITH BARB RIGHTWARDS
1776     {"RightUpVectorBar", 0x02954},  // UPWARDS HARPOON WITH BARB RIGHT TO BAR
1777     {"RightVector",      0x021C0},  // RIGHTWARDS HARPOON WITH BARB UPWARDS
1778     {"RightVectorBar",   0x02953},  // RIGHTWARDS HARPOON WITH BARB UP TO BAR
1779     {"ring",             0x002DA},  // RING ABOVE
1780     {"risingdotseq",     0x02253},  // IMAGE OF OR APPROXIMATELY EQUAL TO
1781     {"rlarr",            0x021C4},  // RIGHTWARDS ARROW OVER LEFTWARDS ARROW
1782     {"rlhar",            0x021CC},  // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON
1783     {"rlm",              0x0200F},  // RIGHT-TO-LEFT MARK
1784     {"rmoust",           0x023B1},  // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION
1785     {"rmoustache",       0x023B1},  // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION
1786     {"rnmid",            0x02AEE},  // DOES NOT DIVIDE WITH REVERSED NEGATION SLASH
1787     {"roang",            0x027ED},  // MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET
1788     {"roarr",            0x021FE},  // RIGHTWARDS OPEN-HEADED ARROW
1789     {"robrk",            0x027E7},  // MATHEMATICAL RIGHT WHITE SQUARE BRACKET
1790     {"ropar",            0x02986},  // RIGHT WHITE PARENTHESIS
1791     {"Ropf",             0x0211D},  // DOUBLE-STRUCK CAPITAL R
1792     {"ropf",             0x1D563},  // MATHEMATICAL DOUBLE-STRUCK SMALL R
1793     {"roplus",           0x02A2E},  // PLUS SIGN IN RIGHT HALF CIRCLE
1794     {"rotimes",          0x02A35},  // MULTIPLICATION SIGN IN RIGHT HALF CIRCLE
1795     {"RoundImplies",     0x02970},  // RIGHT DOUBLE ARROW WITH ROUNDED HEAD
1796     {"rpar",             0x00029},  // RIGHT PARENTHESIS
1797     {"rpargt",           0x02994},  // RIGHT ARC GREATER-THAN BRACKET
1798     {"rppolint",         0x02A12},  // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE
1799     {"rrarr",            0x021C9},  // RIGHTWARDS PAIRED ARROWS
1800     {"Rrightarrow",      0x021DB},  // RIGHTWARDS TRIPLE ARROW
1801     {"rsaquo",           0x0203A},  // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
1802     {"Rscr",             0x0211B},  // SCRIPT CAPITAL R
1803     {"rscr",             0x1D4C7},  // MATHEMATICAL SCRIPT SMALL R
1804     {"rsh",              0x021B1},  // UPWARDS ARROW WITH TIP RIGHTWARDS
1805     {"Rsh",              0x021B1},  // UPWARDS ARROW WITH TIP RIGHTWARDS
1806     {"rsqb",             0x0005D},  // RIGHT SQUARE BRACKET
1807     {"rsquo",            0x02019},  // RIGHT SINGLE QUOTATION MARK
1808     {"rsquor",           0x02019},  // RIGHT SINGLE QUOTATION MARK
1809     {"rthree",           0x022CC},  // RIGHT SEMIDIRECT PRODUCT
1810     {"rtimes",           0x022CA},  // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT
1811     {"rtri",             0x025B9},  // WHITE RIGHT-POINTING SMALL TRIANGLE
1812     {"rtrie",            0x022B5},  // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO
1813     {"rtrif",            0x025B8},  // BLACK RIGHT-POINTING SMALL TRIANGLE
1814     {"rtriltri",         0x029CE},  // RIGHT TRIANGLE ABOVE LEFT TRIANGLE
1815     {"RuleDelayed",      0x029F4},  // RULE-DELAYED
1816     {"ruluhar",          0x02968},  // RIGHTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB UP
1817     {"rx",               0x0211E},  // PRESCRIPTION TAKE
1818 ];
1819 
1820 immutable NameId[] namesS =
1821 [
1822     {"Sacute",           0x0015A},  // LATIN CAPITAL LETTER S WITH ACUTE
1823     {"sacute",           0x0015B},  // LATIN SMALL LETTER S WITH ACUTE
1824     {"sbquo",            0x0201A},  // SINGLE LOW-9 QUOTATION MARK
1825     {"sc",               0x0227B},  // SUCCEEDS
1826     {"Sc",               0x02ABC},  // DOUBLE SUCCEEDS
1827     {"scap",             0x02AB8},  // SUCCEEDS ABOVE ALMOST EQUAL TO
1828     {"Scaron",           0x00160},  // LATIN CAPITAL LETTER S WITH CARON
1829     {"scaron",           0x00161},  // LATIN SMALL LETTER S WITH CARON
1830     {"sccue",            0x0227D},  // SUCCEEDS OR EQUAL TO
1831     {"sce",              0x02AB0},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN
1832     {"scE",              0x02AB4},  // SUCCEEDS ABOVE EQUALS SIGN
1833     {"Scedil",           0x0015E},  // LATIN CAPITAL LETTER S WITH CEDILLA
1834     {"scedil",           0x0015F},  // LATIN SMALL LETTER S WITH CEDILLA
1835     {"Scirc",            0x0015C},  // LATIN CAPITAL LETTER S WITH CIRCUMFLEX
1836     {"scirc",            0x0015D},  // LATIN SMALL LETTER S WITH CIRCUMFLEX
1837     {"scnap",            0x02ABA},  // SUCCEEDS ABOVE NOT ALMOST EQUAL TO
1838     {"scnE",             0x02AB6},  // SUCCEEDS ABOVE NOT EQUAL TO
1839     {"scnsim",           0x022E9},  // SUCCEEDS BUT NOT EQUIVALENT TO
1840     {"scpolint",         0x02A13},  // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE
1841     {"scsim",            0x0227F},  // SUCCEEDS OR EQUIVALENT TO
1842     {"Scy",              0x00421},  // CYRILLIC CAPITAL LETTER ES
1843     {"scy",              0x00441},  // CYRILLIC SMALL LETTER ES
1844     {"sdot",             0x022C5},  // DOT OPERATOR
1845     {"sdotb",            0x022A1},  // SQUARED DOT OPERATOR
1846     {"sdote",            0x02A66},  // EQUALS SIGN WITH DOT BELOW
1847     {"searhk",           0x02925},  // SOUTH EAST ARROW WITH HOOK
1848     {"searr",            0x02198},  // SOUTH EAST ARROW
1849     {"seArr",            0x021D8},  // SOUTH EAST DOUBLE ARROW
1850     {"searrow",          0x02198},  // SOUTH EAST ARROW
1851     {"sect",             0x000A7},  // SECTION SIGN
1852     {"semi",             0x0003B},  // SEMICOLON
1853     {"seswar",           0x02929},  // SOUTH EAST ARROW AND SOUTH WEST ARROW
1854     {"setminus",         0x02216},  // SET MINUS
1855     {"setmn",            0x02216},  // SET MINUS
1856     {"sext",             0x02736},  // SIX POINTED BLACK STAR
1857     {"sfgr",             0x003C2},  // GREEK SMALL LETTER FINAL SIGMA
1858     {"Sfr",              0x1D516},  // MATHEMATICAL FRAKTUR CAPITAL S
1859     {"sfr",              0x1D530},  // MATHEMATICAL FRAKTUR SMALL S
1860     {"sfrown",           0x02322},  // FROWN
1861     {"Sgr",              0x003A3},  // GREEK CAPITAL LETTER SIGMA
1862     {"sgr",              0x003C3},  // GREEK SMALL LETTER SIGMA
1863     {"sharp",            0x0266F},  // MUSIC SHARP SIGN
1864     {"SHCHcy",           0x00429},  // CYRILLIC CAPITAL LETTER SHCHA
1865     {"shchcy",           0x00449},  // CYRILLIC SMALL LETTER SHCHA
1866     {"SHcy",             0x00428},  // CYRILLIC CAPITAL LETTER SHA
1867     {"shcy",             0x00448},  // CYRILLIC SMALL LETTER SHA
1868     {"ShortDownArrow",   0x02193},  // DOWNWARDS ARROW
1869     {"ShortLeftArrow",   0x02190},  // LEFTWARDS ARROW
1870     {"shortmid",         0x02223},  // DIVIDES
1871     {"shortparallel",    0x02225},  // PARALLEL TO
1872     {"ShortRightArrow",  0x02192},  // RIGHTWARDS ARROW
1873     {"ShortUpArrow",     0x02191},  // UPWARDS ARROW
1874     {"shy",              0x000AD},  // SOFT HYPHEN
1875     {"Sigma",            0x003A3},  // GREEK CAPITAL LETTER SIGMA
1876     {"sigma",            0x003C3},  // GREEK SMALL LETTER SIGMA
1877     {"sigmaf",           0x003C2},  // GREEK SMALL LETTER FINAL SIGMA
1878     {"sigmav",           0x003C2},  // GREEK SMALL LETTER FINAL SIGMA
1879     {"sim",              0x0223C},  // TILDE OPERATOR
1880     {"simdot",           0x02A6A},  // TILDE OPERATOR WITH DOT ABOVE
1881     {"sime",             0x02243},  // ASYMPTOTICALLY EQUAL TO
1882     {"simeq",            0x02243},  // ASYMPTOTICALLY EQUAL TO
1883     {"simg",             0x02A9E},  // SIMILAR OR GREATER-THAN
1884     {"simgE",            0x02AA0},  // SIMILAR ABOVE GREATER-THAN ABOVE EQUALS SIGN
1885     {"siml",             0x02A9D},  // SIMILAR OR LESS-THAN
1886     {"simlE",            0x02A9F},  // SIMILAR ABOVE LESS-THAN ABOVE EQUALS SIGN
1887     {"simne",            0x02246},  // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO
1888     {"simplus",          0x02A24},  // PLUS SIGN WITH TILDE ABOVE
1889     {"simrarr",          0x02972},  // TILDE OPERATOR ABOVE RIGHTWARDS ARROW
1890     {"slarr",            0x02190},  // LEFTWARDS ARROW
1891     {"SmallCircle",      0x02218},  // RING OPERATOR
1892     {"smallsetminus",    0x02216},  // SET MINUS
1893     {"smashp",           0x02A33},  // SMASH PRODUCT
1894     {"smeparsl",         0x029E4},  // EQUALS SIGN AND SLANTED PARALLEL WITH TILDE ABOVE
1895     {"smid",             0x02223},  // DIVIDES
1896     {"smile",            0x02323},  // SMILE
1897     {"smt",              0x02AAA},  // SMALLER THAN
1898     {"smte",             0x02AAC},  // SMALLER THAN OR EQUAL TO
1899 //  "smtes",            0x02AAC;0x0FE00},  // SMALLER THAN OR slanted EQUAL
1900     {"SOFTcy",           0x0042C},  // CYRILLIC CAPITAL LETTER SOFT SIGN
1901     {"softcy",           0x0044C},  // CYRILLIC SMALL LETTER SOFT SIGN
1902     {"sol",              0x0002F},  // SOLIDUS
1903     {"solb",             0x029C4},  // SQUARED RISING DIAGONAL SLASH
1904     {"solbar",           0x0233F},  // APL FUNCTIONAL SYMBOL SLASH BAR
1905     {"Sopf",             0x1D54A},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL S
1906     {"sopf",             0x1D564},  // MATHEMATICAL DOUBLE-STRUCK SMALL S
1907     {"spades",           0x02660},  // BLACK SPADE SUIT
1908     {"spadesuit",        0x02660},  // BLACK SPADE SUIT
1909     {"spar",             0x02225},  // PARALLEL TO
1910     {"sqcap",            0x02293},  // SQUARE CAP
1911 //  "sqcaps",           0x02293;0x0FE00},  // SQUARE CAP with serifs
1912     {"sqcup",            0x02294},  // SQUARE CUP
1913 //  "sqcups",           0x02294;0x0FE00},  // SQUARE CUP with serifs
1914     {"Sqrt",             0x0221A},  // SQUARE ROOT
1915     {"sqsub",            0x0228F},  // SQUARE IMAGE OF
1916     {"sqsube",           0x02291},  // SQUARE IMAGE OF OR EQUAL TO
1917     {"sqsubset",         0x0228F},  // SQUARE IMAGE OF
1918     {"sqsubseteq",       0x02291},  // SQUARE IMAGE OF OR EQUAL TO
1919     {"sqsup",            0x02290},  // SQUARE ORIGINAL OF
1920     {"sqsupe",           0x02292},  // SQUARE ORIGINAL OF OR EQUAL TO
1921     {"sqsupset",         0x02290},  // SQUARE ORIGINAL OF
1922     {"sqsupseteq",       0x02292},  // SQUARE ORIGINAL OF OR EQUAL TO
1923     {"squ",              0x025A1},  // WHITE SQUARE
1924     {"square",           0x025A1},  // WHITE SQUARE
1925     {"Square",           0x025A1},  // WHITE SQUARE
1926     {"SquareIntersection", 0x02293},  // SQUARE CAP
1927     {"SquareSubset",     0x0228F},  // SQUARE IMAGE OF
1928     {"SquareSubsetEqual", 0x02291},  // SQUARE IMAGE OF OR EQUAL TO
1929     {"SquareSuperset",   0x02290},  // SQUARE ORIGINAL OF
1930     {"SquareSupersetEqual", 0x02292},  // SQUARE ORIGINAL OF OR EQUAL TO
1931     {"SquareUnion",      0x02294},  // SQUARE CUP
1932     {"squarf",           0x025AA},  // BLACK SMALL SQUARE
1933     {"squf",             0x025AA},  // BLACK SMALL SQUARE
1934     {"srarr",            0x02192},  // RIGHTWARDS ARROW
1935     {"Sscr",             0x1D4AE},  // MATHEMATICAL SCRIPT CAPITAL S
1936     {"sscr",             0x1D4C8},  // MATHEMATICAL SCRIPT SMALL S
1937     {"ssetmn",           0x02216},  // SET MINUS
1938     {"ssmile",           0x02323},  // SMILE
1939     {"sstarf",           0x022C6},  // STAR OPERATOR
1940     {"Star",             0x022C6},  // STAR OPERATOR
1941     {"star",             0x02606},  // WHITE STAR
1942     {"starf",            0x02605},  // BLACK STAR
1943     {"straightepsilon",  0x003F5},  // GREEK LUNATE EPSILON SYMBOL
1944     {"straightphi",      0x003D5},  // GREEK PHI SYMBOL
1945     {"strns",            0x000AF},  // MACRON
1946     {"sub",              0x02282},  // SUBSET OF
1947     {"Sub",              0x022D0},  // DOUBLE SUBSET
1948     {"subdot",           0x02ABD},  // SUBSET WITH DOT
1949     {"sube",             0x02286},  // SUBSET OF OR EQUAL TO
1950     {"subE",             0x02AC5},  // SUBSET OF ABOVE EQUALS SIGN
1951     {"subedot",          0x02AC3},  // SUBSET OF OR EQUAL TO WITH DOT ABOVE
1952     {"submult",          0x02AC1},  // SUBSET WITH MULTIPLICATION SIGN BELOW
1953     {"subne",            0x0228A},  // SUBSET OF WITH NOT EQUAL TO
1954     {"subnE",            0x02ACB},  // SUBSET OF ABOVE NOT EQUAL TO
1955     {"subplus",          0x02ABF},  // SUBSET WITH PLUS SIGN BELOW
1956     {"subrarr",          0x02979},  // SUBSET ABOVE RIGHTWARDS ARROW
1957     {"subset",           0x02282},  // SUBSET OF
1958     {"Subset",           0x022D0},  // DOUBLE SUBSET
1959     {"subseteq",         0x02286},  // SUBSET OF OR EQUAL TO
1960     {"subseteqq",        0x02AC5},  // SUBSET OF ABOVE EQUALS SIGN
1961     {"SubsetEqual",      0x02286},  // SUBSET OF OR EQUAL TO
1962     {"subsetneq",        0x0228A},  // SUBSET OF WITH NOT EQUAL TO
1963     {"subsetneqq",       0x02ACB},  // SUBSET OF ABOVE NOT EQUAL TO
1964     {"subsim",           0x02AC7},  // SUBSET OF ABOVE TILDE OPERATOR
1965     {"subsub",           0x02AD5},  // SUBSET ABOVE SUBSET
1966     {"subsup",           0x02AD3},  // SUBSET ABOVE SUPERSET
1967     {"succ",             0x0227B},  // SUCCEEDS
1968     {"succapprox",       0x02AB8},  // SUCCEEDS ABOVE ALMOST EQUAL TO
1969     {"succcurlyeq",      0x0227D},  // SUCCEEDS OR EQUAL TO
1970     {"Succeeds",         0x0227B},  // SUCCEEDS
1971     {"SucceedsEqual",    0x02AB0},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN
1972     {"SucceedsSlantEqual", 0x0227D},  // SUCCEEDS OR EQUAL TO
1973     {"SucceedsTilde",    0x0227F},  // SUCCEEDS OR EQUIVALENT TO
1974     {"succeq",           0x02AB0},  // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN
1975     {"succnapprox",      0x02ABA},  // SUCCEEDS ABOVE NOT ALMOST EQUAL TO
1976     {"succneqq",         0x02AB6},  // SUCCEEDS ABOVE NOT EQUAL TO
1977     {"succnsim",         0x022E9},  // SUCCEEDS BUT NOT EQUIVALENT TO
1978     {"succsim",          0x0227F},  // SUCCEEDS OR EQUIVALENT TO
1979     {"SuchThat",         0x0220B},  // CONTAINS AS MEMBER
1980     {"sum",              0x02211},  // N-ARY SUMMATION
1981     {"Sum",              0x02211},  // N-ARY SUMMATION
1982     {"sung",             0x0266A},  // EIGHTH NOTE
1983     {"sup",              0x02283},  // SUPERSET OF
1984     {"Sup",              0x022D1},  // DOUBLE SUPERSET
1985     {"sup1",             0x000B9},  // SUPERSCRIPT ONE
1986     {"sup2",             0x000B2},  // SUPERSCRIPT TWO
1987     {"sup3",             0x000B3},  // SUPERSCRIPT THREE
1988     {"supdot",           0x02ABE},  // SUPERSET WITH DOT
1989     {"supdsub",          0x02AD8},  // SUPERSET BESIDE AND JOINED BY DASH WITH SUBSET
1990     {"supe",             0x02287},  // SUPERSET OF OR EQUAL TO
1991     {"supE",             0x02AC6},  // SUPERSET OF ABOVE EQUALS SIGN
1992     {"supedot",          0x02AC4},  // SUPERSET OF OR EQUAL TO WITH DOT ABOVE
1993     {"Superset",         0x02283},  // SUPERSET OF
1994     {"SupersetEqual",    0x02287},  // SUPERSET OF OR EQUAL TO
1995     {"suphsol",          0x027C9},  // SUPERSET PRECEDING SOLIDUS
1996     {"suphsub",          0x02AD7},  // SUPERSET BESIDE SUBSET
1997     {"suplarr",          0x0297B},  // SUPERSET ABOVE LEFTWARDS ARROW
1998     {"supmult",          0x02AC2},  // SUPERSET WITH MULTIPLICATION SIGN BELOW
1999     {"supne",            0x0228B},  // SUPERSET OF WITH NOT EQUAL TO
2000     {"supnE",            0x02ACC},  // SUPERSET OF ABOVE NOT EQUAL TO
2001     {"supplus",          0x02AC0},  // SUPERSET WITH PLUS SIGN BELOW
2002     {"supset",           0x02283},  // SUPERSET OF
2003     {"Supset",           0x022D1},  // DOUBLE SUPERSET
2004     {"supseteq",         0x02287},  // SUPERSET OF OR EQUAL TO
2005     {"supseteqq",        0x02AC6},  // SUPERSET OF ABOVE EQUALS SIGN
2006     {"supsetneq",        0x0228B},  // SUPERSET OF WITH NOT EQUAL TO
2007     {"supsetneqq",       0x02ACC},  // SUPERSET OF ABOVE NOT EQUAL TO
2008     {"supsim",           0x02AC8},  // SUPERSET OF ABOVE TILDE OPERATOR
2009     {"supsub",           0x02AD4},  // SUPERSET ABOVE SUBSET
2010     {"supsup",           0x02AD6},  // SUPERSET ABOVE SUPERSET
2011     {"swarhk",           0x02926},  // SOUTH WEST ARROW WITH HOOK
2012     {"swarr",            0x02199},  // SOUTH WEST ARROW
2013     {"swArr",            0x021D9},  // SOUTH WEST DOUBLE ARROW
2014     {"swarrow",          0x02199},  // SOUTH WEST ARROW
2015     {"swnwar",           0x0292A},  // SOUTH WEST ARROW AND NORTH WEST ARROW
2016     {"szlig",            0x000DF},  // LATIN SMALL LETTER SHARP S
2017 ];
2018 
2019 immutable NameId[] namesT =
2020 [
2021     {"Tab",              0x00009},  // CHARACTER TABULATION
2022     {"target",           0x02316},  // POSITION INDICATOR
2023     {"Tau",              0x003A4},  // GREEK CAPITAL LETTER TAU
2024     {"tau",              0x003C4},  // GREEK SMALL LETTER TAU
2025     {"tbrk",             0x023B4},  // TOP SQUARE BRACKET
2026     {"Tcaron",           0x00164},  // LATIN CAPITAL LETTER T WITH CARON
2027     {"tcaron",           0x00165},  // LATIN SMALL LETTER T WITH CARON
2028     {"Tcedil",           0x00162},  // LATIN CAPITAL LETTER T WITH CEDILLA
2029     {"tcedil",           0x00163},  // LATIN SMALL LETTER T WITH CEDILLA
2030     {"Tcy",              0x00422},  // CYRILLIC CAPITAL LETTER TE
2031     {"tcy",              0x00442},  // CYRILLIC SMALL LETTER TE
2032     {"tdot",             0x020DB},  // COMBINING THREE DOTS ABOVE
2033     {"telrec",           0x02315},  // TELEPHONE RECORDER
2034     {"Tfr",              0x1D517},  // MATHEMATICAL FRAKTUR CAPITAL T
2035     {"tfr",              0x1D531},  // MATHEMATICAL FRAKTUR SMALL T
2036     {"Tgr",              0x003A4},  // GREEK CAPITAL LETTER TAU
2037     {"tgr",              0x003C4},  // GREEK SMALL LETTER TAU
2038     {"there4",           0x02234},  // THEREFORE
2039     {"therefore",        0x02234},  // THEREFORE
2040     {"Therefore",        0x02234},  // THEREFORE
2041     {"Theta",            0x00398},  // GREEK CAPITAL LETTER THETA
2042     {"theta",            0x003B8},  // GREEK SMALL LETTER THETA
2043     {"thetasym",         0x003D1},  // GREEK THETA SYMBOL
2044     {"thetav",           0x003D1},  // GREEK THETA SYMBOL
2045     {"THgr",             0x00398},  // GREEK CAPITAL LETTER THETA
2046     {"thgr",             0x003B8},  // GREEK SMALL LETTER THETA
2047     {"thickapprox",      0x02248},  // ALMOST EQUAL TO
2048     {"thicksim",         0x0223C},  // TILDE OPERATOR
2049 //  "ThickSpace",       0x0205F;0x0200A},  // space of width 5/18 em
2050     {"thinsp",           0x02009},  // THIN SPACE
2051     {"ThinSpace",        0x02009},  // THIN SPACE
2052     {"thkap",            0x02248},  // ALMOST EQUAL TO
2053     {"thksim",           0x0223C},  // TILDE OPERATOR
2054     {"THORN",            0x000DE},  // LATIN CAPITAL LETTER THORN
2055     {"thorn",            0x000FE},  // LATIN SMALL LETTER THORN
2056     {"tilde",            0x002DC},  // SMALL TILDE
2057     {"Tilde",            0x0223C},  // TILDE OPERATOR
2058     {"TildeEqual",       0x02243},  // ASYMPTOTICALLY EQUAL TO
2059     {"TildeFullEqual",   0x02245},  // APPROXIMATELY EQUAL TO
2060     {"TildeTilde",       0x02248},  // ALMOST EQUAL TO
2061     {"times",            0x000D7},  // MULTIPLICATION SIGN
2062     {"timesb",           0x022A0},  // SQUARED TIMES
2063     {"timesbar",         0x02A31},  // MULTIPLICATION SIGN WITH UNDERBAR
2064     {"timesd",           0x02A30},  // MULTIPLICATION SIGN WITH DOT ABOVE
2065     {"tint",             0x0222D},  // TRIPLE INTEGRAL
2066     {"toea",             0x02928},  // NORTH EAST ARROW AND SOUTH EAST ARROW
2067     {"top",              0x022A4},  // DOWN TACK
2068     {"topbot",           0x02336},  // APL FUNCTIONAL SYMBOL I-BEAM
2069     {"topcir",           0x02AF1},  // DOWN TACK WITH CIRCLE BELOW
2070     {"Topf",             0x1D54B},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL T
2071     {"topf",             0x1D565},  // MATHEMATICAL DOUBLE-STRUCK SMALL T
2072     {"topfork",          0x02ADA},  // PITCHFORK WITH TEE TOP
2073     {"tosa",             0x02929},  // SOUTH EAST ARROW AND SOUTH WEST ARROW
2074     {"tprime",           0x02034},  // TRIPLE PRIME
2075     {"trade",            0x02122},  // TRADE MARK SIGN
2076     {"TRADE",            0x02122},  // TRADE MARK SIGN
2077     {"triangle",         0x025B5},  // WHITE UP-POINTING SMALL TRIANGLE
2078     {"triangledown",     0x025BF},  // WHITE DOWN-POINTING SMALL TRIANGLE
2079     {"triangleleft",     0x025C3},  // WHITE LEFT-POINTING SMALL TRIANGLE
2080     {"trianglelefteq",   0x022B4},  // NORMAL SUBGROUP OF OR EQUAL TO
2081     {"triangleq",        0x0225C},  // DELTA EQUAL TO
2082     {"triangleright",    0x025B9},  // WHITE RIGHT-POINTING SMALL TRIANGLE
2083     {"trianglerighteq",  0x022B5},  // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO
2084     {"tridot",           0x025EC},  // WHITE UP-POINTING TRIANGLE WITH DOT
2085     {"trie",             0x0225C},  // DELTA EQUAL TO
2086     {"triminus",         0x02A3A},  // MINUS SIGN IN TRIANGLE
2087     {"TripleDot",        0x020DB},  // COMBINING THREE DOTS ABOVE
2088     {"triplus",          0x02A39},  // PLUS SIGN IN TRIANGLE
2089     {"trisb",            0x029CD},  // TRIANGLE WITH SERIFS AT BOTTOM
2090     {"tritime",          0x02A3B},  // MULTIPLICATION SIGN IN TRIANGLE
2091     {"trpezium",         0x023E2},  // WHITE TRAPEZIUM
2092     {"Tscr",             0x1D4AF},  // MATHEMATICAL SCRIPT CAPITAL T
2093     {"tscr",             0x1D4C9},  // MATHEMATICAL SCRIPT SMALL T
2094     {"TScy",             0x00426},  // CYRILLIC CAPITAL LETTER TSE
2095     {"tscy",             0x00446},  // CYRILLIC SMALL LETTER TSE
2096     {"TSHcy",            0x0040B},  // CYRILLIC CAPITAL LETTER TSHE
2097     {"tshcy",            0x0045B},  // CYRILLIC SMALL LETTER TSHE
2098     {"Tstrok",           0x00166},  // LATIN CAPITAL LETTER T WITH STROKE
2099     {"tstrok",           0x00167},  // LATIN SMALL LETTER T WITH STROKE
2100     {"twixt",            0x0226C},  // BETWEEN
2101     {"twoheadleftarrow", 0x0219E},  // LEFTWARDS TWO HEADED ARROW
2102     {"twoheadrightarrow", 0x021A0},  // RIGHTWARDS TWO HEADED ARROW
2103 ];
2104 
2105 immutable NameId[] namesU =
2106 [
2107     {"Uacgr",            0x0038E},  // GREEK CAPITAL LETTER UPSILON WITH TONOS
2108     {"uacgr",            0x003CD},  // GREEK SMALL LETTER UPSILON WITH TONOS
2109     {"Uacute",           0x000DA},  // LATIN CAPITAL LETTER U WITH ACUTE
2110     {"uacute",           0x000FA},  // LATIN SMALL LETTER U WITH ACUTE
2111     {"uarr",             0x02191},  // UPWARDS ARROW
2112     {"Uarr",             0x0219F},  // UPWARDS TWO HEADED ARROW
2113     {"uArr",             0x021D1},  // UPWARDS DOUBLE ARROW
2114     {"Uarrocir",         0x02949},  // UPWARDS TWO-HEADED ARROW FROM SMALL CIRCLE
2115     {"Ubrcy",            0x0040E},  // CYRILLIC CAPITAL LETTER SHORT U
2116     {"ubrcy",            0x0045E},  // CYRILLIC SMALL LETTER SHORT U
2117     {"Ubreve",           0x0016C},  // LATIN CAPITAL LETTER U WITH BREVE
2118     {"ubreve",           0x0016D},  // LATIN SMALL LETTER U WITH BREVE
2119     {"Ucirc",            0x000DB},  // LATIN CAPITAL LETTER U WITH CIRCUMFLEX
2120     {"ucirc",            0x000FB},  // LATIN SMALL LETTER U WITH CIRCUMFLEX
2121     {"Ucy",              0x00423},  // CYRILLIC CAPITAL LETTER U
2122     {"ucy",              0x00443},  // CYRILLIC SMALL LETTER U
2123     {"udarr",            0x021C5},  // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW
2124     {"Udblac",           0x00170},  // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE
2125     {"udblac",           0x00171},  // LATIN SMALL LETTER U WITH DOUBLE ACUTE
2126     {"udhar",            0x0296E},  // UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT
2127     {"udiagr",           0x003B0},  // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS
2128     {"Udigr",            0x003AB},  // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA
2129     {"udigr",            0x003CB},  // GREEK SMALL LETTER UPSILON WITH DIALYTIKA
2130     {"ufisht",           0x0297E},  // UP FISH TAIL
2131     {"Ufr",              0x1D518},  // MATHEMATICAL FRAKTUR CAPITAL U
2132     {"ufr",              0x1D532},  // MATHEMATICAL FRAKTUR SMALL U
2133     {"Ugr",              0x003A5},  // GREEK CAPITAL LETTER UPSILON
2134     {"ugr",              0x003C5},  // GREEK SMALL LETTER UPSILON
2135     {"Ugrave",           0x000D9},  // LATIN CAPITAL LETTER U WITH GRAVE
2136     {"ugrave",           0x000F9},  // LATIN SMALL LETTER U WITH GRAVE
2137     {"uHar",             0x02963},  // UPWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT
2138     {"uharl",            0x021BF},  // UPWARDS HARPOON WITH BARB LEFTWARDS
2139     {"uharr",            0x021BE},  // UPWARDS HARPOON WITH BARB RIGHTWARDS
2140     {"uhblk",            0x02580},  // UPPER HALF BLOCK
2141     {"ulcorn",           0x0231C},  // TOP LEFT CORNER
2142     {"ulcorner",         0x0231C},  // TOP LEFT CORNER
2143     {"ulcrop",           0x0230F},  // TOP LEFT CROP
2144     {"ultri",            0x025F8},  // UPPER LEFT TRIANGLE
2145     {"Umacr",            0x0016A},  // LATIN CAPITAL LETTER U WITH MACRON
2146     {"umacr",            0x0016B},  // LATIN SMALL LETTER U WITH MACRON
2147     {"uml",              0x000A8},  // DIAERESIS
2148     {"UnderBar",         0x0005F},  // LOW LINE
2149     {"UnderBrace",       0x023DF},  // BOTTOM CURLY BRACKET
2150     {"UnderBracket",     0x023B5},  // BOTTOM SQUARE BRACKET
2151     {"UnderParenthesis", 0x023DD},  // BOTTOM PARENTHESIS
2152     {"Union",            0x022C3},  // N-ARY UNION
2153     {"UnionPlus",        0x0228E},  // MULTISET UNION
2154     {"Uogon",            0x00172},  // LATIN CAPITAL LETTER U WITH OGONEK
2155     {"uogon",            0x00173},  // LATIN SMALL LETTER U WITH OGONEK
2156     {"Uopf",             0x1D54C},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL U
2157     {"uopf",             0x1D566},  // MATHEMATICAL DOUBLE-STRUCK SMALL U
2158     {"uparrow",          0x02191},  // UPWARDS ARROW
2159     {"UpArrow",          0x02191},  // UPWARDS ARROW
2160     {"Uparrow",          0x021D1},  // UPWARDS DOUBLE ARROW
2161     {"UpArrowBar",       0x02912},  // UPWARDS ARROW TO BAR
2162     {"UpArrowDownArrow", 0x021C5},  // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW
2163     {"updownarrow",      0x02195},  // UP DOWN ARROW
2164     {"UpDownArrow",      0x02195},  // UP DOWN ARROW
2165     {"Updownarrow",      0x021D5},  // UP DOWN DOUBLE ARROW
2166     {"UpEquilibrium",    0x0296E},  // UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT
2167     {"upharpoonleft",    0x021BF},  // UPWARDS HARPOON WITH BARB LEFTWARDS
2168     {"upharpoonright",   0x021BE},  // UPWARDS HARPOON WITH BARB RIGHTWARDS
2169     {"uplus",            0x0228E},  // MULTISET UNION
2170     {"UpperLeftArrow",   0x02196},  // NORTH WEST ARROW
2171     {"UpperRightArrow",  0x02197},  // NORTH EAST ARROW
2172     {"upsi",             0x003C5},  // GREEK SMALL LETTER UPSILON
2173     {"Upsi",             0x003D2},  // GREEK UPSILON WITH HOOK SYMBOL
2174     {"upsih",            0x003D2},  // GREEK UPSILON WITH HOOK SYMBOL
2175     {"Upsilon",          0x003A5},  // GREEK CAPITAL LETTER UPSILON
2176     {"upsilon",          0x003C5},  // GREEK SMALL LETTER UPSILON
2177     {"UpTee",            0x022A5},  // UP TACK
2178     {"UpTeeArrow",       0x021A5},  // UPWARDS ARROW FROM BAR
2179     {"upuparrows",       0x021C8},  // UPWARDS PAIRED ARROWS
2180     {"urcorn",           0x0231D},  // TOP RIGHT CORNER
2181     {"urcorner",         0x0231D},  // TOP RIGHT CORNER
2182     {"urcrop",           0x0230E},  // TOP RIGHT CROP
2183     {"Uring",            0x0016E},  // LATIN CAPITAL LETTER U WITH RING ABOVE
2184     {"uring",            0x0016F},  // LATIN SMALL LETTER U WITH RING ABOVE
2185     {"urtri",            0x025F9},  // UPPER RIGHT TRIANGLE
2186     {"Uscr",             0x1D4B0},  // MATHEMATICAL SCRIPT CAPITAL U
2187     {"uscr",             0x1D4CA},  // MATHEMATICAL SCRIPT SMALL U
2188     {"utdot",            0x022F0},  // UP RIGHT DIAGONAL ELLIPSIS
2189     {"Utilde",           0x00168},  // LATIN CAPITAL LETTER U WITH TILDE
2190     {"utilde",           0x00169},  // LATIN SMALL LETTER U WITH TILDE
2191     {"utri",             0x025B5},  // WHITE UP-POINTING SMALL TRIANGLE
2192     {"utrif",            0x025B4},  // BLACK UP-POINTING SMALL TRIANGLE
2193     {"uuarr",            0x021C8},  // UPWARDS PAIRED ARROWS
2194     {"Uuml",             0x000DC},  // LATIN CAPITAL LETTER U WITH DIAERESIS
2195     {"uuml",             0x000FC},  // LATIN SMALL LETTER U WITH DIAERESIS
2196     {"uwangle",          0x029A7},  // OBLIQUE ANGLE OPENING DOWN
2197 ];
2198 
2199 immutable NameId[] namesV =
2200 [
2201     {"vangrt",           0x0299C},  // RIGHT ANGLE VARIANT WITH SQUARE
2202     {"varepsilon",       0x003F5},  // GREEK LUNATE EPSILON SYMBOL
2203     {"varkappa",         0x003F0},  // GREEK KAPPA SYMBOL
2204     {"varnothing",       0x02205},  // EMPTY SET
2205     {"varphi",           0x003D5},  // GREEK PHI SYMBOL
2206     {"varpi",            0x003D6},  // GREEK PI SYMBOL
2207     {"varpropto",        0x0221D},  // PROPORTIONAL TO
2208     {"varr",             0x02195},  // UP DOWN ARROW
2209     {"vArr",             0x021D5},  // UP DOWN DOUBLE ARROW
2210     {"varrho",           0x003F1},  // GREEK RHO SYMBOL
2211     {"varsigma",         0x003C2},  // GREEK SMALL LETTER FINAL SIGMA
2212 //  "varsubsetneq",     0x0228A;0x0FE00},  // SUBSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
2213 //  "varsubsetneqq",    0x02ACB;0x0FE00},  // SUBSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
2214 //  "varsupsetneq",     0x0228B;0x0FE00},  // SUPERSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
2215 //  "varsupsetneqq",    0x02ACC;0x0FE00},  // SUPERSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
2216     {"vartheta",         0x003D1},  // GREEK THETA SYMBOL
2217     {"vartriangleleft",  0x022B2},  // NORMAL SUBGROUP OF
2218     {"vartriangleright", 0x022B3},  // CONTAINS AS NORMAL SUBGROUP
2219     {"vBar",             0x02AE8},  // SHORT UP TACK WITH UNDERBAR
2220     {"Vbar",             0x02AEB},  // DOUBLE UP TACK
2221     {"vBarv",            0x02AE9},  // SHORT UP TACK ABOVE SHORT DOWN TACK
2222     {"Vcy",              0x00412},  // CYRILLIC CAPITAL LETTER VE
2223     {"vcy",              0x00432},  // CYRILLIC SMALL LETTER VE
2224     {"vdash",            0x022A2},  // RIGHT TACK
2225     {"vDash",            0x022A8},  // TRUE
2226     {"Vdash",            0x022A9},  // FORCES
2227     {"VDash",            0x022AB},  // DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE
2228     {"Vdashl",           0x02AE6},  // LONG DASH FROM LEFT MEMBER OF DOUBLE VERTICAL
2229     {"vee",              0x02228},  // LOGICAL OR
2230     {"Vee",              0x022C1},  // N-ARY LOGICAL OR
2231     {"veebar",           0x022BB},  // XOR
2232     {"veeeq",            0x0225A},  // EQUIANGULAR TO
2233     {"vellip",           0x022EE},  // VERTICAL ELLIPSIS
2234     {"verbar",           0x0007C},  // VERTICAL LINE
2235     {"Verbar",           0x02016},  // DOUBLE VERTICAL LINE
2236     {"vert",             0x0007C},  // VERTICAL LINE
2237     {"Vert",             0x02016},  // DOUBLE VERTICAL LINE
2238     {"VerticalBar",      0x02223},  // DIVIDES
2239     {"VerticalLine",     0x0007C},  // VERTICAL LINE
2240     {"VerticalSeparator", 0x02758},  // LIGHT VERTICAL BAR
2241     {"VerticalTilde",    0x02240},  // WREATH PRODUCT
2242     {"VeryThinSpace",    0x0200A},  // HAIR SPACE
2243     {"Vfr",              0x1D519},  // MATHEMATICAL FRAKTUR CAPITAL V
2244     {"vfr",              0x1D533},  // MATHEMATICAL FRAKTUR SMALL V
2245     {"vltri",            0x022B2},  // NORMAL SUBGROUP OF
2246 //  "vnsub",            0x02282;0x020D2},  // SUBSET OF with vertical line
2247 //  "vnsup",            0x02283;0x020D2},  // SUPERSET OF with vertical line
2248     {"Vopf",             0x1D54D},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL V
2249     {"vopf",             0x1D567},  // MATHEMATICAL DOUBLE-STRUCK SMALL V
2250     {"vprop",            0x0221D},  // PROPORTIONAL TO
2251     {"vrtri",            0x022B3},  // CONTAINS AS NORMAL SUBGROUP
2252     {"Vscr",             0x1D4B1},  // MATHEMATICAL SCRIPT CAPITAL V
2253     {"vscr",             0x1D4CB},  // MATHEMATICAL SCRIPT SMALL V
2254 //  "vsubne",           0x0228A;0x0FE00},  // SUBSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
2255 //  "vsubnE",           0x02ACB;0x0FE00},  // SUBSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
2256 //  "vsupne",           0x0228B;0x0FE00},  // SUPERSET OF WITH NOT EQUAL TO - variant with stroke through bottom members
2257 //  "vsupnE",           0x02ACC;0x0FE00},  // SUPERSET OF ABOVE NOT EQUAL TO - variant with stroke through bottom members
2258     {"Vvdash",           0x022AA},  // TRIPLE VERTICAL BAR RIGHT TURNSTILE
2259     {"vzigzag",          0x0299A},  // VERTICAL ZIGZAG LINE
2260 ];
2261 
2262 immutable NameId[] namesW =
2263 [
2264     {"Wcirc",            0x00174},  // LATIN CAPITAL LETTER W WITH CIRCUMFLEX
2265     {"wcirc",            0x00175},  // LATIN SMALL LETTER W WITH CIRCUMFLEX
2266     {"wedbar",           0x02A5F},  // LOGICAL AND WITH UNDERBAR
2267     {"wedge",            0x02227},  // LOGICAL AND
2268     {"Wedge",            0x022C0},  // N-ARY LOGICAL AND
2269     {"wedgeq",           0x02259},  // ESTIMATES
2270     {"weierp",           0x02118},  // SCRIPT CAPITAL P
2271     {"Wfr",              0x1D51A},  // MATHEMATICAL FRAKTUR CAPITAL W
2272     {"wfr",              0x1D534},  // MATHEMATICAL FRAKTUR SMALL W
2273     {"Wopf",             0x1D54E},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL W
2274     {"wopf",             0x1D568},  // MATHEMATICAL DOUBLE-STRUCK SMALL W
2275     {"wp",               0x02118},  // SCRIPT CAPITAL P
2276     {"wr",               0x02240},  // WREATH PRODUCT
2277     {"wreath",           0x02240},  // WREATH PRODUCT
2278     {"Wscr",             0x1D4B2},  // MATHEMATICAL SCRIPT CAPITAL W
2279     {"wscr",             0x1D4CC},  // MATHEMATICAL SCRIPT SMALL W
2280 ];
2281 
2282 immutable NameId[] namesX =
2283 [
2284     {"xcap",             0x022C2},  // N-ARY INTERSECTION
2285     {"xcirc",            0x025EF},  // LARGE CIRCLE
2286     {"xcup",             0x022C3},  // N-ARY UNION
2287     {"xdtri",            0x025BD},  // WHITE DOWN-POINTING TRIANGLE
2288     {"Xfr",              0x1D51B},  // MATHEMATICAL FRAKTUR CAPITAL X
2289     {"xfr",              0x1D535},  // MATHEMATICAL FRAKTUR SMALL X
2290     {"Xgr",              0x0039E},  // GREEK CAPITAL LETTER XI
2291     {"xgr",              0x003BE},  // GREEK SMALL LETTER XI
2292     {"xharr",            0x027F7},  // LONG LEFT RIGHT ARROW
2293     {"xhArr",            0x027FA},  // LONG LEFT RIGHT DOUBLE ARROW
2294     {"Xi",               0x0039E},  // GREEK CAPITAL LETTER XI
2295     {"xi",               0x003BE},  // GREEK SMALL LETTER XI
2296     {"xlarr",            0x027F5},  // LONG LEFTWARDS ARROW
2297     {"xlArr",            0x027F8},  // LONG LEFTWARDS DOUBLE ARROW
2298     {"xmap",             0x027FC},  // LONG RIGHTWARDS ARROW FROM BAR
2299     {"xnis",             0x022FB},  // CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE
2300     {"xodot",            0x02A00},  // N-ARY CIRCLED DOT OPERATOR
2301     {"Xopf",             0x1D54F},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL X
2302     {"xopf",             0x1D569},  // MATHEMATICAL DOUBLE-STRUCK SMALL X
2303     {"xoplus",           0x02A01},  // N-ARY CIRCLED PLUS OPERATOR
2304     {"xotime",           0x02A02},  // N-ARY CIRCLED TIMES OPERATOR
2305     {"xrarr",            0x027F6},  // LONG RIGHTWARDS ARROW
2306     {"xrArr",            0x027F9},  // LONG RIGHTWARDS DOUBLE ARROW
2307     {"Xscr",             0x1D4B3},  // MATHEMATICAL SCRIPT CAPITAL X
2308     {"xscr",             0x1D4CD},  // MATHEMATICAL SCRIPT SMALL X
2309     {"xsqcup",           0x02A06},  // N-ARY SQUARE UNION OPERATOR
2310     {"xuplus",           0x02A04},  // N-ARY UNION OPERATOR WITH PLUS
2311     {"xutri",            0x025B3},  // WHITE UP-POINTING TRIANGLE
2312     {"xvee",             0x022C1},  // N-ARY LOGICAL OR
2313     {"xwedge",           0x022C0},  // N-ARY LOGICAL AND
2314 ];
2315 
2316 immutable NameId[] namesY =
2317 [
2318     {"Yacute",           0x000DD},  // LATIN CAPITAL LETTER Y WITH ACUTE
2319     {"yacute",           0x000FD},  // LATIN SMALL LETTER Y WITH ACUTE
2320     {"YAcy",             0x0042F},  // CYRILLIC CAPITAL LETTER YA
2321     {"yacy",             0x0044F},  // CYRILLIC SMALL LETTER YA
2322     {"Ycirc",            0x00176},  // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX
2323     {"ycirc",            0x00177},  // LATIN SMALL LETTER Y WITH CIRCUMFLEX
2324     {"Ycy",              0x0042B},  // CYRILLIC CAPITAL LETTER YERU
2325     {"ycy",              0x0044B},  // CYRILLIC SMALL LETTER YERU
2326     {"yen",              0x000A5},  // YEN SIGN
2327     {"Yfr",              0x1D51C},  // MATHEMATICAL FRAKTUR CAPITAL Y
2328     {"yfr",              0x1D536},  // MATHEMATICAL FRAKTUR SMALL Y
2329     {"YIcy",             0x00407},  // CYRILLIC CAPITAL LETTER YI
2330     {"yicy",             0x00457},  // CYRILLIC SMALL LETTER YI
2331     {"Yopf",             0x1D550},  // MATHEMATICAL DOUBLE-STRUCK CAPITAL Y
2332     {"yopf",             0x1D56A},  // MATHEMATICAL DOUBLE-STRUCK SMALL Y
2333     {"Yscr",             0x1D4B4},  // MATHEMATICAL SCRIPT CAPITAL Y
2334     {"yscr",             0x1D4CE},  // MATHEMATICAL SCRIPT SMALL Y
2335     {"YUcy",             0x0042E},  // CYRILLIC CAPITAL LETTER YU
2336     {"yucy",             0x0044E},  // CYRILLIC SMALL LETTER YU
2337     {"yuml",             0x000FF},  // LATIN SMALL LETTER Y WITH DIAERESIS
2338     {"Yuml",             0x00178},  // LATIN CAPITAL LETTER Y WITH DIAERESIS
2339 ];
2340 
2341 immutable NameId[] namesZ =
2342 [
2343     {"Zacute",           0x00179},  // LATIN CAPITAL LETTER Z WITH ACUTE
2344     {"zacute",           0x0017A},  // LATIN SMALL LETTER Z WITH ACUTE
2345     {"Zcaron",           0x0017D},  // LATIN CAPITAL LETTER Z WITH CARON
2346     {"zcaron",           0x0017E},  // LATIN SMALL LETTER Z WITH CARON
2347     {"Zcy",              0x00417},  // CYRILLIC CAPITAL LETTER ZE
2348     {"zcy",              0x00437},  // CYRILLIC SMALL LETTER ZE
2349     {"Zdot",             0x0017B},  // LATIN CAPITAL LETTER Z WITH DOT ABOVE
2350     {"zdot",             0x0017C},  // LATIN SMALL LETTER Z WITH DOT ABOVE
2351     {"zeetrf",           0x02128},  // BLACK-LETTER CAPITAL Z
2352     {"ZeroWidthSpace",   0x0200B},  // ZERO WIDTH SPACE
2353     {"Zeta",             0x00396},  // GREEK CAPITAL LETTER ZETA
2354     {"zeta",             0x003B6},  // GREEK SMALL LETTER ZETA
2355     {"Zfr",              0x02128},  // BLACK-LETTER CAPITAL Z
2356     {"zfr",              0x1D537},  // MATHEMATICAL FRAKTUR SMALL Z
2357     {"Zgr",              0x00396},  // GREEK CAPITAL LETTER ZETA
2358     {"zgr",              0x003B6},  // GREEK SMALL LETTER ZETA
2359     {"ZHcy",             0x00416},  // CYRILLIC CAPITAL LETTER ZHE
2360     {"zhcy",             0x00436},  // CYRILLIC SMALL LETTER ZHE
2361     {"zigrarr",          0x021DD},  // RIGHTWARDS SQUIGGLE ARROW
2362     {"Zopf",             0x02124},  // DOUBLE-STRUCK CAPITAL Z
2363     {"zopf",             0x1D56B},  // MATHEMATICAL DOUBLE-STRUCK SMALL Z
2364     {"Zscr",             0x1D4B5},  // MATHEMATICAL SCRIPT CAPITAL Z
2365     {"zscr",             0x1D4CF},  // MATHEMATICAL SCRIPT SMALL Z
2366     {"zwj",              0x0200D},  // ZERO WIDTH JOINER
2367     {"zwnj",             0x0200C},  // ZERO WIDTH NON-JOINER
2368 ];
2369 
2370 // @todo@ order namesTable and names? by frequency
2371 immutable NameId[][] namesTable =
2372 [
2373     namesA, namesB, namesC, namesD, namesE, namesF, namesG, namesH, namesI,
2374     namesJ, namesK, namesL, namesM, namesN, namesO, namesP, namesQ, namesR,
2375     namesS, namesT, namesU, namesV, namesW, namesX, namesY, namesZ
2376 ];
2377 
2378 public int HtmlNamedEntity(const(char)* p, size_t length)
2379 {
2380     int tableIndex = tolower(*p) - 'a';
2381     if (tableIndex >= 0 && tableIndex < 26)
2382     {
2383         foreach (entity; namesTable[tableIndex])
2384         {
2385             if (entity.name == p[0 .. length])
2386                 return entity.value;
2387         }
2388     }
2389     return -1;
2390 }