]> git.lyx.org Git - lyx.git/blob - lib/encodings
lib/languages:
[lyx.git] / lib / encodings
1 # FIXME: Have a look at the encodings known by the inputenc package and add
2 # missing ones. Caution: File format change!
3
4 # Note that you can only add singlebyte encodings to this file.
5 # LyX does not support the output of multibyte encodings (e.g. utf16).
6 # It does support singlebyte encodings with variable with (e.g. utf8).
7 # These are marked with the "variable" keyword.
8 # Fixed width encodings are marked with the "fixed" keyword.
9
10 # Syntax: Encoding <LyX name> <LaTeX name> <iconv name> fixed|variable <package> End
11
12 # encodings used by inputenc.sty
13
14 Encoding utf8 utf8 UTF-8 variable inputenc
15 End
16
17 # This one is used by many CJK packages. utf8 is supposed to be the successor,
18 # but does not have all features of utf8x yet.
19 Encoding utf8x utf8x UTF-8 variable inputenc
20 End
21
22 # A plain utf8 encoding that does not use the inputenc package.
23 # Such an encoding is required for XeTeX.
24 Encoding utf8-plain utf8-plain UTF-8 variable none
25 End
26
27 # This encoding is used to typeset Armenian using the armtex package
28 Encoding armscii8 armscii8 ARMSCII-8 fixed inputenc
29 End
30
31 Encoding iso8859-1 latin1 ISO-8859-1 fixed inputenc
32 End
33
34 Encoding iso8859-2 latin2 ISO-8859-2 fixed inputenc
35 End
36
37 Encoding iso8859-3 latin3 ISO-8859-3 fixed inputenc
38 End
39
40 Encoding iso8859-4 latin4 ISO-8859-4 fixed inputenc
41 End
42
43 Encoding iso8859-5 iso88595 ISO-8859-5 fixed inputenc
44 End
45
46 # Not standard, see http://tug.ctan.org/tex-archive/language/arabic/arabi/arabi/texmf/latex/arabi/
47 Encoding iso8859-6 8859-6 ISO-8859-6 fixed inputenc
48 End
49
50 Encoding iso8859-7 iso-8859-7 ISO-8859-7 fixed inputenc
51 End
52
53 Encoding iso8859-8 8859-8 ISO-8859-8 fixed inputenc
54 End
55
56 Encoding iso8859-9 latin5 ISO-8859-9 fixed inputenc
57 End
58
59 # Not standard, see http://www.vtex.lt/tex/littex/index.html
60 Encoding iso8859-13 l7xenc ISO-8859-13 fixed inputenc
61 End
62
63 Encoding iso8859-15 latin9 ISO-8859-15 fixed inputenc
64 End
65
66 Encoding iso8859-16 latin10 ISO-8859-16 fixed inputenc
67 End
68
69 Encoding cp437 cp437 CP437 fixed inputenc
70 End
71
72 # cp437, but on position 225 is sz instead of beta
73 Encoding cp437de cp437de CP437 fixed inputenc
74 End
75
76 Encoding cp850 cp850 CP850 fixed inputenc
77 End
78
79 Encoding cp852 cp852 CP852 fixed inputenc
80 End
81
82 Encoding cp855 cp855 CP855 fixed inputenc
83 End
84
85 Encoding cp858 cp858 CP858 fixed inputenc
86 End
87
88 Encoding cp862 cp862 CP862 fixed inputenc
89 End
90
91 Encoding cp865 cp865 CP865 fixed inputenc
92 End
93
94 Encoding cp866 cp866 CP866 fixed inputenc
95 End
96
97 Encoding cp1250 cp1250 CP1250 fixed inputenc
98 End
99
100 Encoding cp1251 cp1251 CP1251 fixed inputenc
101 End
102
103 Encoding cp1252 cp1252 CP1252 fixed inputenc
104 End
105
106 Encoding cp1255 cp1255 CP1255 fixed inputenc
107 End
108
109 # Not standard, see http://tug.ctan.org/tex-archive/language/arabic/arabi/arabi/texmf/latex/arabi/
110 Encoding cp1256 cp1256 CP1256 fixed inputenc
111 End
112
113 Encoding cp1257 cp1257 CP1257 fixed inputenc
114 End
115
116 Encoding koi8 koi8-r KOI8-R fixed inputenc
117 End
118
119 Encoding koi8-u koi8-u KOI8-U fixed inputenc
120 End
121
122 Encoding pt154 pt154 PT154 fixed inputenc
123 End
124
125 Encoding pt254 pt254 PT254 fixed inputenc
126 End
127
128 # encodings used by CJK.sty
129
130 # The following encodings that are supported by the CJK package are not
131 # included here, because they are not widely used and lack proper iconv support:
132 # Bg5+, GBt
133 # See the NOTES file of libiconv for details.
134
135 # The following encodings can't be handled directly, because the code points
136 # of TeX control characters like {, } and \ can occur in the second byte:
137
138 # For traditional chinese
139 #Encoding big5 Bg5 BIG5 variable CJK
140 #End
141
142 # For japanese
143 #Encoding shift-jis SJIS SJIS variable CJK
144 #End
145
146 # The following encodings need hardcoded support of the encodable unicode
147 # range, but are known by iconv:
148
149 # For simplified chinese
150 Encoding euc-cn GB EUC-CN variable CJK
151 End
152
153 # For simplified chinese
154 Encoding gbk GBK GBK variable CJK
155 End
156  
157 # For japanese
158 Encoding jis JIS JIS variable CJK
159 End
160
161 # For korean
162 Encoding euc-kr KS EUC-KR variable CJK
163 End
164
165 # The CJK package has yet another name for utf8...
166 Encoding utf8-cjk UTF8 UTF-8 variable CJK
167 End
168
169 # For traditional chinese
170 Encoding euc-tw EUC-TW EUC-TW variable CJK
171 End
172
173 # For japanese
174 Encoding euc-jp EUC-JP EUC-JP variable CJK
175 End
176
177
178 # This one needs hardcoded support, since the inputenc package does not know
179 # tis620-0, and thailatex sets up babel directly to use tis620-0, so the
180 # LaTeX name is never output to .tex files (but needed for the hardcoded
181 # tis620-0 support).
182 Encoding tis620-0 tis620-0 TIS620-0 fixed none
183 End
184
185
186 # Pure 7bit ASCII encoding (partially hardcoded in LyX)
187 Encoding ascii ascii ascii fixed none
188 End
189