2f4bc0d025aea67960eaf0a3259b618387bd320f
[dragonfly.git] / usr.bin / mandoc / chars.in
1 /*      $Id: chars.in,v 1.2 2009/10/19 09:56:35 schwarze Exp $ */
2 /*
3  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17
18 /*
19  * The ASCII translation tables.  STRING corresponds to predefined
20  * strings (cf. mdoc_samples.7 and tmac/mdoc/doc-nroff).  CHAR
21  * corresponds to special characters (cf. groff_char.7).  BOTH contains
22  * sequences that are equivalent in both STRING and CHAR.
23  *
24  * Either way, the left-hand side corresponds to the input sequence (\x,
25  * \(xx, \*(xx and so on) whose length is listed second element.  The
26  * right-hand side is what's produced by the front-end, with the fourth
27  * element being its length.
28  *
29  * XXX - C-escape strings!
30  * XXX - update LINES_MAX if adding more!
31  */
32
33 /* Spacing. */
34 CHAR("c",                       1,      "",             0,      "",             0)
35 CHAR("0",                       1,      " ",            1,      "&#8194;",      7)
36 CHAR(" ",                       1,      " ",            1,      "&#8194;",      7)
37 CHAR("~",                       1,      " ",            1,      "&#160;",       6)
38 CHAR("%",                       1,      "",             0,      "",             0)
39 CHAR("&",                       1,      "",             0,      "",             0)
40 CHAR("^",                       1,      "",             0,      "",             0)
41 CHAR("|",                       1,      "",             0,      "",             0)
42
43 /* Accents. */
44 CHAR("a\"",                     2,      "\"",           1,      "&#779;",       6)
45 CHAR("a-",                      2,      "-",            1,      "&#175;",       6)
46 CHAR("a.",                      2,      ".",            1,      "&#729;",       6)
47 CHAR("a^",                      2,      "^",            1,      "&#770;",       6)
48 CHAR("\'",                      1,      "\'",           1,      "&#769;",       6)
49 BOTH("aa",                      2,      "\'",           1,      "&#769;",       6)
50 BOTH("ga",                      2,      "`",            1,      "&#768;",       6)
51 CHAR("`",                       1,      "`",            1,      "&#768;",       6)
52 CHAR("ab",                      2,      "`",            1,      "&#774;",       6)
53 CHAR("ac",                      2,      ",",            1,      "&#807;",       6)
54 CHAR("ad",                      2,      "\"",           1,      "&#776;",       6)
55 CHAR("ah",                      2,      "v",            1,      "&#711;",       6)
56 CHAR("ao",                      2,      "o",            1,      "&#730;",       6)
57 CHAR("a~",                      2,      "~",            1,      "&#771;",       6)
58 CHAR("ho",                      2,      ",",            1,      "&#808;",       6)
59 CHAR("ha",                      2,      "^",            1,      "^",            1)
60 CHAR("ti",                      2,      "~",            1,      "~",            1)
61
62 /* Quotes. */
63 CHAR("Bq",                      2,      ",,",           2,      "&#8222;",      7)
64 CHAR("bq",                      2,      ",",            1,      "&#8218;",      7)
65 BOTH("lq",                      2,      "``",           2,      "&#8220;",      7)
66 BOTH("rq",                      2,      "\'\'",         2,      "&#8221;",      7)
67 CHAR("oq",                      2,      "`",            1,      "&#8216;",      7)
68 CHAR("cq",                      2,      "\'",           1,      "&#8217;",      7)
69 CHAR("aq",                      2,      "\'",           1,      "\'",           1)
70 CHAR("dq",                      2,      "\"",           1,      "\"",           1)
71 CHAR("Fo",                      2,      "<<",           2,      "&#171;",       6)
72 CHAR("Fc",                      2,      ">>",           2,      "&#187;",       6)
73 CHAR("fo",                      2,      "<",            1,      "&#8249;",      7)
74 CHAR("fc",                      2,      ">",            1,      "&#8250;",      7)
75
76 /* Brackets. */
77 CHAR("lB",                      2,      "[",            1,      "[",            1)
78 CHAR("rB",                      2,      "]",            1,      "]",            1)
79 CHAR("lC",                      2,      "{",            1,      "{",            1)
80 CHAR("rC",                      2,      "}",            1,      "}",            1)
81 CHAR("la",                      2,      "<",            1,      "&#10216;",     8)
82 CHAR("ra",                      2,      ">",            1,      "&#10217;",     8)
83 CHAR("bv",                      2,      "|",            1,      "&#9130;",      7)
84 CHAR("braceex",                 7,      "|",            1,      "&#9130;",      7)
85 CHAR("bracketlefttp",           13,     "|",            1,      "&#9121;",      7)
86 CHAR("bracketleftbp",           13,     "|",            1,      "&#9123;",      7)
87 CHAR("bracketleftex",           13,     "|",            1,      "&#9122;",      7)
88 CHAR("bracketrighttp",          14,     "|",            1,      "&#9124;",      7)
89 CHAR("bracketrightbp",          14,     "|",            1,      "&#9126;",      7)
90 CHAR("bracketrightex",          14,     "|",            1,      "&#9125;",      7)
91 CHAR("lt",                      2,      ",-",           2,      "&#9127;",      7)
92 CHAR("bracelefttp",             11,     ",-",           2,      "&#9127;",      7)
93 CHAR("lk",                      2,      "{",            1,      "&#9128;",      7)
94 CHAR("braceleftmid",            12,     "{",            1,      "&#9128;",      7)
95 CHAR("lb",                      2,      ",-",           2,      "&#9129;",      7)
96 CHAR("braceleftbp",             11,     "`-",           2,      "&#9129;",      7)
97 CHAR("braceleftex",             11,     "|",            1,      "&#9130;",      7)
98 CHAR("rt",                      2,      "-.",           2,      "&#9131;",      7)
99 CHAR("bracerighttp",            12,     "-.",           2,      "&#9131;",      7)
100 CHAR("rk",                      2,      "}",            1,      "&#9132;",      7)
101 CHAR("bracerightmid",           13,     "}",            1,      "&#9132;",      7)
102 CHAR("rb",                      2,      "-\'",          2,      "&#9133;",      7)
103 CHAR("bracerightbp",            12,     "-\'",          2,      "&#9133;",      7)
104 CHAR("bracerightex",            12,     "|",            1,      "&#9130;",      7)
105 CHAR("parenlefttp",             11,     "/",            1,      "&#9115;",      7)
106 CHAR("parenleftbp",             11,     "\\",           1,      "&#9117;",      7)
107 CHAR("parenleftex",             11,     "|",            1,      "&#9116;",      7)
108 CHAR("parenrighttp",            12,     "\\",           1,      "&#9118;",      7)
109 CHAR("parenrightbp",            12,     "/",            1,      "&#9120;",      7)
110 CHAR("parenrightex",            12,     "|",            1,      "&#9119;",      7)
111
112 /* Greek characters. */
113 CHAR("*A",                      2,      "A",            1,      "&#913;",       6)
114 CHAR("*B",                      2,      "B",            1,      "&#914;",       6)
115 CHAR("*G",                      2,      "|",            1,      "&#915;",       6)
116 CHAR("*D",                      2,      "/\\",          2,      "&#916;",       6)
117 CHAR("*E",                      2,      "E",            1,      "&#917;",       6)
118 CHAR("*Z",                      2,      "Z",            1,      "&#918;",       6)
119 CHAR("*Y",                      2,      "H",            1,      "&#919;",       6)
120 CHAR("*H",                      2,      "O",            1,      "&#920;",       6)
121 CHAR("*I",                      2,      "I",            1,      "&#921;",       6)
122 CHAR("*K",                      2,      "K",            1,      "&#922;",       6)
123 CHAR("*L",                      2,      "/\\",          2,      "&#923;",       6)
124 CHAR("*M",                      2,      "M",            1,      "&#924;",       6)
125 CHAR("*N",                      2,      "N",            1,      "&#925;",       6)
126 CHAR("*C",                      2,      "H",            1,      "&#926;",       6)
127 CHAR("*O",                      2,      "O",            1,      "&#927;",       6)
128 CHAR("*P",                      2,      "TT",           2,      "&#928;",       6)
129 CHAR("*R",                      2,      "P",            1,      "&#929;",       6)
130 CHAR("*S",                      2,      ">",            1,      "&#931;",       6)
131 CHAR("*T",                      2,      "T",            1,      "&#932;",       6)
132 CHAR("*U",                      2,      "Y",            1,      "&#933;",       6)
133 CHAR("*F",                      2,      "O_",           1,      "&#934;",       6)
134 CHAR("*X",                      2,      "X",            1,      "&#935;",       6)
135 CHAR("*Q",                      2,      "Y",            1,      "&#936;",       6)
136 CHAR("*W",                      2,      "O",            1,      "&#937;",       6)
137 CHAR("*a",                      2,      "a",            1,      "&#945;",       6)
138 CHAR("*b",                      2,      "B",            1,      "&#946;",       6)
139 CHAR("*g",                      2,      "y",            1,      "&#947;",       6)
140 CHAR("*d",                      2,      "d",            1,      "&#948;",       6)
141 CHAR("*e",                      2,      "e",            1,      "&#949;",       6)
142 CHAR("*z",                      2,      "C",            1,      "&#950;",       6)
143 CHAR("*y",                      2,      "n",            1,      "&#951;",       6)
144 CHAR("*h",                      2,      "0",            1,      "&#952;",       6)
145 CHAR("*i",                      2,      "i",            1,      "&#953;",       6)
146 CHAR("*k",                      2,      "k",            1,      "&#954;",       6)
147 CHAR("*l",                      2,      "\\",           1,      "&#955;",       6)
148 CHAR("*m",                      2,      "u",            1,      "&#956;",       6)
149 CHAR("*n",                      2,      "v",            1,      "&#957;",       6)
150 CHAR("*c",                      2,      "E",            1,      "&#958;",       6)
151 CHAR("*o",                      2,      "o",            1,      "&#959;",       6)
152 CHAR("*p",                      2,      "n",            1,      "&#960;",       6)
153 CHAR("*r",                      2,      "p",            1,      "&#961;",       6)
154 CHAR("*s",                      2,      "o",            1,      "&#963;",       6)
155 CHAR("*t",                      2,      "t",            1,      "&#964;",       6)
156 CHAR("*u",                      2,      "u",            1,      "&#965;",       6)
157 CHAR("*f",                      2,      "o",            1,      "&#981;",       6)
158 CHAR("*x",                      2,      "x",            1,      "&#967;",       6)
159 CHAR("*q",                      2,      "u",            1,      "&#968;",       6)
160 CHAR("*w",                      2,      "w",            1,      "&#969;",       6)
161 CHAR("+h",                      2,      "0",            1,      "&#977;",       6)
162 CHAR("+f",                      2,      "o",            1,      "&#966;",       6)
163 CHAR("+p",                      2,      "w",            1,      "&#982;",       6)
164 CHAR("+e",                      2,      "e",            1,      "&#1013;",      7)
165 CHAR("ts",                      2,      "s",            1,      "&#962;",       6)
166
167 /* Accented letters. */
168 CHAR(",C",                      2,      "C",            1,      "&#199;",       6)
169 CHAR(",c",                      2,      "c",            1,      "&#231;",       6)
170 CHAR("/L",                      2,      "L",            1,      "&#321;",       6)
171 CHAR("/O",                      2,      "O",            1,      "&#216;",       6)
172 CHAR("/l",                      2,      "l",            1,      "&#322;",       6)
173 CHAR("/o",                      2,      "o",            1,      "&#248;",       6)
174 CHAR("oA",                      2,      "A",            1,      "&#197;",       6)
175 CHAR("oa",                      2,      "a",            1,      "&#229;",       6)
176 CHAR(":A",                      2,      "A",            1,      "&#196;",       6)
177 CHAR(":E",                      2,      "E",            1,      "&#203;",       6)
178 CHAR(":I",                      2,      "I",            1,      "&#207;",       6)
179 CHAR(":O",                      2,      "O",            1,      "&#214;",       6)
180 CHAR(":U",                      2,      "U",            1,      "&#220;",       6)
181 CHAR(":a",                      2,      "a",            1,      "&#228;",       6)
182 CHAR(":e",                      2,      "e",            1,      "&#235;",       6)
183 CHAR(":i",                      2,      "i",            1,      "&#239;",       6)
184 CHAR(":o",                      2,      "o",            1,      "&#245;",       6)
185 CHAR(":u",                      2,      "u",            1,      "&#252;",       6)
186 CHAR(":y",                      2,      "y",            1,      "&#255;",       6)
187 CHAR("\'A",                     2,      "A",            1,      "&#193;",       6)
188 CHAR("\'E",                     2,      "E",            1,      "&#201;",       6)
189 CHAR("\'I",                     2,      "I",            1,      "&#205;",       6)
190 CHAR("\'O",                     2,      "O",            1,      "&#211;",       6)
191 CHAR("\'U",                     2,      "U",            1,      "&#218;",       6)
192 CHAR("\'a",                     2,      "a",            1,      "&#225;",       6)
193 CHAR("\'e",                     2,      "e",            1,      "&#233;",       6)
194 CHAR("\'i",                     2,      "i",            1,      "&#237;",       6)
195 CHAR("\'o",                     2,      "o",            1,      "&#243;",       6)
196 CHAR("\'u",                     2,      "u",            1,      "&#250;",       6)
197 CHAR("^A",                      2,      "A",            1,      "&#194;",       6)
198 CHAR("^E",                      2,      "E",            1,      "&#202;",       6)
199 CHAR("^I",                      2,      "I",            1,      "&#206;",       6)
200 CHAR("^O",                      2,      "O",            1,      "&#212;",       6)
201 CHAR("^U",                      2,      "U",            1,      "&#219;",       6)
202 CHAR("^a",                      2,      "a",            1,      "&#226;",       6)
203 CHAR("^e",                      2,      "e",            1,      "&#234;",       6)
204 CHAR("^i",                      2,      "i",            1,      "&#238;",       6)
205 CHAR("^o",                      2,      "o",            1,      "&#244;",       6)
206 CHAR("^u",                      2,      "u",            1,      "&#251;",       6)
207 CHAR("`A",                      2,      "A",            1,      "&#192;",       6)
208 CHAR("`E",                      2,      "E",            1,      "&#200;",       6)
209 CHAR("`I",                      2,      "I",            1,      "&#204;",       6)
210 CHAR("`O",                      2,      "O",            1,      "&#210;",       6)
211 CHAR("`U",                      2,      "U",            1,      "&#217;",       6)
212 CHAR("`a",                      2,      "a",            1,      "&#224;",       6)
213 CHAR("`e",                      2,      "e",            1,      "&#232;",       6)
214 CHAR("`i",                      2,      "i",            1,      "&#236;",       6)
215 CHAR("`o",                      2,      "o",            1,      "&#242;",       6)
216 CHAR("`u",                      2,      "u",            1,      "&#249;",       6)
217 CHAR("~A",                      2,      "A",            1,      "&#195;",       6)
218 CHAR("~N",                      2,      "N",            1,      "&#209;",       6)
219 CHAR("~O",                      2,      "O",            1,      "&#213;",       6)
220 CHAR("~a",                      2,      "a",            1,      "&#227;",       6)
221 CHAR("~n",                      2,      "n",            1,      "&#241;",       6)
222 CHAR("~o",                      2,      "o",            1,      "&#245;",       6)
223
224 /* Arrows and lines. */
225 CHAR("<-",                      2,      "<-",           2,      "&#8592;",      7)
226 CHAR("->",                      2,      "->",           2,      "&#8594;",      7)
227 CHAR("<>",                      2,      "<>",           2,      "&#8596;",      7)
228 CHAR("da",                      2,      "v",            1,      "&#8595;",      7)
229 BOTH("ua",                      2,      "^",            1,      "&#8593;",      7)
230 BOTH("va",                      2,      "^v",           2,      "&#8597;",      7)
231 CHAR("lA",                      2,      "<=",           2,      "&#8656;",      7)
232 CHAR("rA",                      2,      "=>",           2,      "&#8658;",      7)
233 CHAR("hA",                      2,      "<=>",          3,      "&#8660;",      7)
234 CHAR("dA",                      2,      "v",            1,      "&#8659;",      7)
235 CHAR("uA",                      2,      "^",            1,      "&#8657;",      7)
236 CHAR("vA",                      2,      "^=v",          3,      "&#8661;",      7)
237
238 /* Logic. */
239 CHAR("AN",                      2,      "^",            1,      "&#8743;",      7)
240 CHAR("OR",                      2,      "v",            1,      "&#8744;",      7)
241 CHAR("no",                      2,      "~",            1,      "&#172;",       6)
242 CHAR("tno",                     3,      "~",            1,      "&#172;",       6)
243 CHAR("te",                      2,      "3",            1,      "&#8707;",      7)
244 CHAR("fa",                      2,      "V",            1,      "&#8704;",      7)
245 CHAR("st",                      2,      "-)",           2,      "&#8715;",      7)
246 CHAR("tf",                      2,      ".:.",          3,      "&#8756;",      7)
247 CHAR("3d",                      2,      ".:.",          3,      "&#8756;",      7)
248 CHAR("or",                      2,      "|",            1,      "|",            1)
249
250 /* Mathematicals. */
251 CHAR("pl",                      2,      "+",            1,      "&#43;",        5)
252 CHAR("mi",                      2,      "-",            1,      "&#8722;",      7)
253 CHAR("-",                       1,      "-",            1,      "-",            1)
254 CHAR("-+",                      2,      "-+",           2,      "&#8723;",      7)
255 CHAR("+-",                      2,      "+-",           2,      "&#177;",       6)
256 CHAR("t+-",                     3,      "+-",           2,      "&#177;",       6)
257 CHAR("pc",                      2,      ".",            1,      "&#183;",       6)
258 CHAR("md",                      2,      ".",            1,      "&#8901;",      7)
259 CHAR("mu",                      2,      "x",            1,      "&#215;",       6)
260 CHAR("tmu",                     3,      "x",            1,      "&#215;",       6)
261 CHAR("c*",                      2,      "x",            1,      "&#8855;",      7)
262 CHAR("c+",                      2,      "+",            1,      "&#8853;",      7)
263 CHAR("di",                      2,      "-:-",          3,      "&#247;",       6)
264 CHAR("tdi",                     3,      "-:-",          3,      "&#247;",       6)
265 CHAR("f/",                      2,      "/",            1,      "&#8260;",      7)
266 CHAR("**",                      2,      "*",            1,      "&#8727;",      7)
267 BOTH("<=",                      2,      "<=",           2,      "&#8804;",      7)
268 BOTH(">=",                      2,      ">=",           2,      "&#8805;",      7)
269 CHAR("<<",                      2,      "<<",           2,      "&#8810;",      7)
270 CHAR(">>",                      2,      ">>",           2,      "&#8811;",      7)
271 CHAR("eq",                      2,      "=",            1,      "&#61;",        5)
272 CHAR("!=",                      2,      "!=",           2,      "&#8800;",      7)
273 CHAR("==",                      2,      "==",           2,      "&#8801;",      7)
274 CHAR("ne",                      2,      "!==",          3,      "&#8802;",      7)
275 CHAR("=~",                      2,      "=~",           2,      "&#8773;",      7)
276 CHAR("-~",                      2,      "-~",           2,      "&#8771;",      7)
277 CHAR("ap",                      2,      "~",            1,      "&#8764;",      7)
278 CHAR("~~",                      2,      "~~",           2,      "&#8776;",      7)
279 CHAR("~=",                      2,      "~=",           2,      "&#8780;",      7)
280 CHAR("pt",                      2,      "oc",           2,      "&#8733;",      7)
281 CHAR("es",                      2,      "{}",           2,      "&#8709;",      7)
282 CHAR("mo",                      2,      "E",            1,      "&#8712;",      7)
283 CHAR("nm",                      2,      "!E",           2,      "&#8713;",      7)
284 CHAR("sb",                      2,      "(=",           2,      "&#8834;",      7)
285 CHAR("nb",                      2,      "(!=",          3,      "&#8836;",      7)
286 CHAR("sp",                      2,      "=)",           2,      "&#8835;",      7)
287 CHAR("nc",                      2,      "!=)",          3,      "&#8837;",      7)
288 CHAR("ib",                      2,      "(=",           2,      "&#8838;",      7)
289 CHAR("ip",                      2,      "=)",           2,      "&#8839;",      7)
290 CHAR("ca",                      2,      "(^)",          3,      "&#8745;",      7)
291 CHAR("cu",                      2,      "U",            1,      "&#8746;",      7)
292 CHAR("/_",                      2,      "/_",           2,      "&#8736;",      7)
293 CHAR("pp",                      2,      "_|_",          3,      "&#8869;",      7)
294 CHAR("is",                      2,      "I",            1,      "&#8747;",      7)
295 CHAR("integral",                8,      "I",            1,      "&#8747;",      7)
296 CHAR("sum",                     3,      "E",            1,      "&#8721;",      7)
297 CHAR("product",                 7,      "TT",           2,      "&#8719;",      7)
298 CHAR("coproduct",               9,      "U",            1,      "&#8720;",      7)
299 CHAR("gr",                      2,      "V",            1,      "&#8711;",      7)
300 CHAR("sr",                      2,      "\\/",          2,      "&#8730;",      7)
301 CHAR("sqrt",                    4,      "\\/",          2,      "&#8730;",      7)
302 CHAR("lc",                      2,      "|~",           2,      "&#8968;",      7)
303 CHAR("rc",                      2,      "~|",           2,      "&#8969;",      7)
304 CHAR("lf",                      2,      "|_",           2,      "&#8970;",      7)
305 CHAR("rf",                      2,      "_|",           2,      "&#8971;",      7)
306 CHAR("if",                      2,      "oo",           2,      "&#8734;",      7)
307 CHAR("Ah",                      2,      "N",            1,      "&#8501;",      7)
308 CHAR("Im",                      2,      "I",            1,      "&#8465;",      7)
309 CHAR("Re",                      2,      "R",            1,      "&#8476;",      7)
310 CHAR("pd",                      2,      "a",            1,      "&#8706;",      7)
311 CHAR("-h",                      2,      "/h",           2,      "&#8463;",      7)
312
313 /* Ligatures. */
314 CHAR("ff",                      2,      "ff",           2,      "&#64256;",     8)
315 CHAR("fi",                      2,      "fi",           2,      "&#64257;",     8)
316 CHAR("fl",                      2,      "fl",           2,      "&#64258;",     8)
317 CHAR("Fi",                      2,      "ffi",          3,      "&#64259;",     8)
318 CHAR("Fl",                      2,      "ffl",          3,      "&#64260;",     8)
319 CHAR("AE",                      2,      "AE",           2,      "&#198;",       6)
320 CHAR("ae",                      2,      "ae",           2,      "&#230;",       6)
321 CHAR("OE",                      2,      "OE",           2,      "&#338;",       6)
322 CHAR("oe",                      2,      "oe",           2,      "&#339;",       6)
323 CHAR("ss",                      2,      "ss",           2,      "&#223;",       6)
324 CHAR("IJ",                      2,      "IJ",           2,      "&#306;",       6)
325 CHAR("ij",                      2,      "ij",           2,      "&#307;",       6)
326
327 /* Special letters. */
328 CHAR("-D",                      2,      "D",            1,      "&#208;",       6)
329 CHAR("Sd",                      2,      "o",            1,      "&#240;",       6)
330 CHAR("TP",                      2,      "b",            1,      "&#222;",       6)
331 CHAR("Tp",                      2,      "b",            1,      "&#254;",       6)
332 CHAR(".i",                      2,      "i",            1,      "&#305;",       6)
333 CHAR(".j",                      2,      "j",            1,      "&#567;",       6)
334
335 /* Currency. */
336 CHAR("Do",                      2,      "$",            1,      "$",            1)
337 CHAR("ct",                      2,      "c",            1,      "&#162;",       6)
338 CHAR("Eu",                      2,      "EUR",          3,      "&#8364;",      7)
339 CHAR("eu",                      2,      "EUR",          3,      "&#8364;",      7)
340 CHAR("Ye",                      2,      "Y",            1,      "&#165;",       6)
341 CHAR("Po",                      2,      "L",            1,      "&#163;",       6)
342 CHAR("Cs",                      2,      "x",            1,      "&#164;",       6)
343 CHAR("Fn",                      2,      "f",            1,      "&#402;",       6)
344
345 /* Old style. */
346 STRING("Am",                    2,      "&",            1,      "&amp;",        5)
347 STRING("Ba",                    2,      "|",            1,      "|",            1)
348 STRING("Ge",                    2,      ">=",           2,      "&#8805;",      7)
349 STRING("Gt",                    2,      ">",            1,      "&gt;",         4)
350 STRING("If",                    2,      "infinity",     8,      "infinity",     8)
351 STRING("Le",                    2,      "<=",           2,      "&#8804;",      7)
352 STRING("Lq",                    2,      "``",           2,      "&#8220;",      7)
353 STRING("Lt",                    2,      "<",            1,      "&lt;",         4)
354 STRING("Na",                    2,      "NaN",          3,      "NaN",          3)
355 STRING("Ne",                    2,      "!=",           2,      "&#8800;",      7)
356 STRING("Pi",                    2,      "pi",           2,      "&#960;",       6)
357 STRING("Pm",                    2,      "+-",           2,      "&#177;",       6)
358 STRING("R",                     1,      "(R)",          3,      "&#174;",       6)
359 STRING("Rq",                    2,      "\'\'",         2,      "&#8221;",      7)
360 STRING("Tm",                    2,      "tm",           2,      "&#8482;",      7)
361 STRING("left-bracket",          12,     "[",            1,      "[",            1)
362 STRING("left-parenthesis",      16,     "(",            1,      "(",            1)
363 STRING("left-singlequote",      16,     "`",            1,      "&#8216;",      7)
364 STRING("lp",                    2,      "(",            1,      "(",            1)
365 STRING("q",                     1,      "\"",           1,      "&quot;",       6)
366 STRING("quote-left",            10,     "`",            1,      "&#8216;",      7)
367 STRING("quote-right",           11,     "\'",           1,      "&#8217;",      7)
368 STRING("right-bracket",         13,     "]",            1,      "]",            1)
369 STRING("right-parenthesis",     17,     ")",            1,      ")",            1)
370 STRING("right-singlequote",     17,     "\'",           1,      "&#8217;",      7)
371 STRING("rp",                    2,      ")",            1,      ")",            1)
372
373 /* Lines. */
374 CHAR("ba",                      2,      "|",            1,      "&#124;",       6)
375 CHAR("br",                      2,      "|",            1,      "&#9474;",      7)
376 CHAR("ul",                      2,      "_",            1,      "&#95;",        5)
377 CHAR("rl",                      2,      "-",            1,      "&#8254;",      7)
378 CHAR("bb",                      2,      "|",            1,      "&#166;",       6)
379 CHAR("sl",                      2,      "/",            1,      "&#47;",        5)
380 CHAR("rs",                      2,      "\\",           1,      "&#92;",        5)
381
382 /* Text markers. */
383 CHAR("ci",                      2,      "o",            1,      "&#9675;",      7)
384 CHAR("bu",                      2,      "o",            1,      "&#8226;",      7)
385 CHAR("dd",                      2,      "=",            1,      "&#8225;",      7)
386 CHAR("dg",                      2,      "-",            1,      "&#8224;",      7)
387 CHAR("lz",                      2,      "<>",           2,      "&#9674;",      7)
388 CHAR("sq",                      2,      "[]",           2,      "&#9633;",      7)
389 CHAR("ps",                      2,      "9|",           2,      "&#182;",       6)
390 CHAR("sc",                      2,      "S",            1,      "&#167;",       6)
391 CHAR("lh",                      2,      "<=",           2,      "&#9756;",      7)
392 CHAR("rh",                      2,      "=>",           2,      "&#9758;",      7)
393 CHAR("at",                      2,      "@",            1,      "&#64;",        5)
394 CHAR("sh",                      2,      "#",            1,      "&#35;",        5)
395 CHAR("CR",                      2,      "_|",           2,      "&#8629;",      7)
396 CHAR("OK",                      2,      "\\/",          2,      "&#10003;",     8)
397
398 /* Legal symbols. */
399 CHAR("co",                      2,      "(C)",          3,      "&#169;",       6)
400 CHAR("rg",                      2,      "(R)",          3,      "&#174;",       6)
401 CHAR("tm",                      2,      "tm",           2,      "&#8482;",      7)
402
403 /* Punctuation. */
404 CHAR(".",                       1,      ".",            1,      ".",            1)
405 CHAR("r!",                      2,      "i",            1,      "&#161;",       6)
406 CHAR("r?",                      2,      "c",            1,      "&#191;",       6)
407 CHAR("em",                      2,      "--",           2,      "&#8212;",      7)
408 CHAR("en",                      2,      "-",            1,      "&#8211;",      7)
409 CHAR("hy",                      2,      "-",            1,      "&#8208;",      7)
410 CHAR("\\",                      1,      "\\",           1,      "\\",           1)
411 CHAR("e",                       1,      "\\",           1,      "\\",           1)
412
413 /* Units. */
414 CHAR("de",                      2,      "o",            1,      "&#176;",       6)
415 CHAR("%0",                      2,      "%o",           2,      "&#8240;",      7)
416 CHAR("fm",                      2,      "\'",           1,      "&#8242;",      7)
417 CHAR("sd",                      2,      "\"",           1,      "&#8243;",      7)
418 CHAR("mc",                      2,      "mu",           2,      "&#181;",       6)