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