1 /* Conversion of files between different charsets and surfaces.
2 Copyright � 1990, 93, 97, 98, 99, 00 Free Software Foundation, Inc.
3 Contributed by Fran�ois Pinard <pinard@iro.umontreal.ca>, 1988.
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public License
7 as published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be
11 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
12 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the `recode' Library; see the file `COPYING.LIB'.
17 If not, write to the Free Software Foundation, Inc., 59 Temple Place -
18 Suite 330, Boston, MA 02111-1307, USA. */
19
20 #include "common.h"
21
22 static const unsigned short texinfo_data[] =
23 {
24 160, '@', ' ', DONE,
25 161, '@', 'e', 'x', 'c', 'l', 'a', 'm', 'd', 'o', 'w', 'n', '{', '}',
26 DONE,
27 171, '`', '`', DONE,
28 187, '\'', '\'', DONE,
29 191, '@', 'q', 'u', 'e', 's', 't', 'i', 'o', 'n', 'd', 'o', 'w', 'n',
30 '{', '}',
31 DONE,
32 192, '@', '`', 'A', DONE,
33 194, '@', '^', 'A', DONE,
34 196, '@', '"', 'A', DONE,
35 197, '@', 'A', 'A', '{', '}', DONE,
36 199, '@', ',', '{', 'C', '}', DONE,
37 200, '@', '`', 'E', DONE,
38 201, '@', '\'', 'E', DONE,
39 202, '@', '^', 'E', DONE,
40 203, '@', '"', 'E', DONE,
41 206, '@', '^', 'I', DONE,
42 207, '@', '"', 'I', DONE,
43 210, '@', '`', 'O', DONE,
44 212, '@', '^', 'O', DONE,
45 214, '@', '"', 'O', DONE,
46 216, '@', 'O', '{', '}', DONE,
47 217, '@', '`', 'U', DONE,
48 219, '@', '^', 'U', DONE,
49 220, '@', '"', 'U', DONE,
50 223, '@', 's', 's', '{', '}', DONE,
51 224, '@', '`', 'a', DONE,
52 226, '@', '^', 'a', DONE,
53 228, '@', '"', 'a', DONE,
54 229, '@', 'a', 'a', '{', '}', DONE,
55 231, '@', ',', '{', 'c', '}', DONE,
56 232, '@', '`', 'e', DONE,
57 233, '@', '\'', 'e', DONE,
58 234, '@', '^', 'e', DONE,
59 235, '@', '"', 'e', DONE,
60 236, '@', '`', 'i', DONE,
61 237, '@', '\'', 'i', DONE,
62 238, '@', '^', '{', '@', 'd', 'o', 't', 'l', 'e', 's', 's', '{', 'i',
63 '}', '}',
64 DONE,
65 239, '@', '"', '{', '@', 'd', 'o', 't', 'l', 'e', 's', 's', '{', 'i',
66 '}', '}',
67 DONE,
68 242, '@', '`', 'o', DONE,
69 244, '@', '^', 'o', DONE,
70 246, '@', '"', 'o', DONE,
71 249, '@', '`', 'u', DONE,
72 251, '@', '^', 'u', DONE,
73 252, '@', '"', 'u', DONE,
74 DONE
75 };
76
77 bool
module_texinfo(RECODE_OUTER outer)78 module_texinfo (RECODE_OUTER outer)
79 {
80 return
81 declare_explode_data (outer, texinfo_data, "Latin-1", "Texinfo")
82 && declare_alias (outer, "texi", "Texinfo")
83 && declare_alias (outer, "ti", "Texinfo");
84 }
85
86 void
delmodule_texinfo(RECODE_OUTER outer)87 delmodule_texinfo (RECODE_OUTER outer)
88 {
89 }
90