Change method name (trans -> transliteration).
[m17n/m17n-contrib.git] / im / ru-translit.mim
1 ;; ru-translit.mim -- Cyrillic input method with translit keyboard layout
2 ;; Copyright (C) 2007
3 ;; Maxim Treskin <zerthurd@gmail.com>
4
5 ;; This file is part of the m17n contrib; a sub-part of the m17n
6 ;; library.
7
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
12
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ;; Lesser General Public License for more details.
17
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
22
23 ;; Map based on cyrillic-translit part from emacs leim by
24 ;; Ognyan Kulev <ogi@fmi.uni-sofia.bg> and Anton Zinoviev <anton@lml.bas.bg>
25
26
27 (input-method ru translit)
28
29 (description
30  "Intuitively transliterated keyboard layout.
31 Most convenient for entering Russian, but all Cyrillic characters
32 are included.  Should handle most cases.  However:
33   for ц (TSE) use \"c\", never \"ts\"
34   щ (SHCHA = Bulgarian SHT) = \"shch\", \"sj\", \"/sht\" or \"/t\",
35   э (REVERSE ROUNDED E) = \"e'\" or \"e`\"
36   х (KHA) when after с (S) = \"x\" or \"kh\"
37   ъ (HARD SIGN) = \"~\", Ъ (CAPITAL HARD SIGN) = \"~~\",
38   ь (SOFT SIGN) = \"'\", Ь (CAPITAL SOFT SIGN) = \"''\",
39   я (YA) = \"ya\", \"ja\" or \"q\".
40
41 Russian alphabet: a b v=w g d e yo=jo zh z i j=j' k l m n o p r s t
42 u f h=kh=x c ch sh shch=sj=/s=/sht ~ y ' e' yu=ju ya=ja=q
43
44 Also included are Ukrainian є (YE) = \"/e\" and ї (YI) = \"yi\",
45 Belarusian ў (SHORT U) = \"u'\",
46 Serbo-Croatian ђ (DJE) = \"/d\", ћ (CHJE)= \"/ch\",
47 Macedonian ѓ (GJE) = \"/g\", ѕ (DZE) = \"/s\", ќ (KJE) = \"/k\",
48 cyrillic і (I DECIMAL) = \"/i\", ј (JE) = \"/j\",
49 љ (LJE) = \"/l\", њ (NJE) = \"/n\" and џ (DZE) =\"/z\".
50 ")
51
52 (title "Жt")
53
54 (map
55  (map
56   ("a" ?а)
57   ("b" ?б)
58   ("v" ?в)
59   ("w" ?в)
60   ("g" ?г)
61   ("d" ?д)
62
63   ("e" ?е)
64   ("je" ?е)
65
66   ("yo" ?ё)
67   ("jo" ?ё)
68
69   ("zh" ?ж)
70   ("z" ?з)
71   ("i" ?и)
72
73   ("j" ?й)
74   ("j'" ?й)
75   ("j`" ?й)
76   ("k" ?к)
77   ("l" ?л)
78
79   ("m" ?м)
80   ("n" ?н)
81   ("o" ?о)
82   ("p" ?п)
83   ("r" ?р)
84   ("s" ?с)
85   ("t" ?т)
86   ("u" ?у)
87
88   ("f" ?ф)
89   ("x" ?х)
90   ("h" ?х)
91   ("kh" ?х)
92
93   ("c" ?ц)
94   ("ch" ?ч)
95
96   ("sh" ?ш)
97
98   ("shch" ?щ)
99   ("sj" ?щ)
100
101   ("/sht" ?щ)
102   ("/t" ?щ)
103
104   ("~" ?ъ)
105   ("y" ?ы)
106   ("'" ?ь)
107   ("`" ?ь)
108
109   ("e'" ?э)
110   ("e`" ?э)
111   ("e~" ?ѣ)
112
113   ("yu" ?ю)
114   ("ju" ?ю)
115
116   ("ya" ?я)
117   ("ja" ?я)
118   ("q" ?я)
119
120
121   ("A" ?А)
122   ("B" ?Б)
123   ("V" ?В)
124   ("W" ?В)
125   ("G" ?Г)
126   ("D" ?Д)
127
128   ("E" ?Е)
129   ("Je" ?Е)
130   ("JE" ?Е)
131
132   ("Yo" ?Ё)
133   ("YO" ?Ё)
134   ("Jo" ?Ё)
135   ("JO" ?Ё)
136
137   ("Zh" ?Ж)
138   ("ZH" ?Ж)
139   ("Z" ?З)
140   ("I" ?И)
141
142   ("J" ?Й)
143   ("J'" ?Й)
144   ("J`" ?Й)
145   ("K" ?К)
146   ("L" ?Л)
147
148   ("M" ?М)
149   ("N" ?Н)
150   ("O" ?О)
151   ("P" ?П)
152   ("R" ?Р)
153   ("S" ?С)
154   ("T" ?Т)
155   ("U" ?У)
156
157   ("F" ?Ф)
158   ("X" ?Х)
159   ("H" ?Х)
160   ("Kh" ?Х)
161   ("KH" ?Х)
162
163   ("C" ?Ц)
164   ("Ch" ?Ч)
165   ("CH" ?Ч)
166
167   ("Sh" ?Ш)
168   ("SH" ?Ш)
169
170   ("Shch" ?Щ)
171   ("SHCH" ?Щ)
172   ("Sj" ?Щ)
173   ("SJ" ?Щ)
174
175   ("/Sht" ?Щ)
176   ("/SHT" ?Щ)
177   ("/T" ?Щ)
178
179   ("~~" "Ъ")
180   ("Y" ?Ы)
181   ("''" "Ь")
182   ("E'" ?Э)
183   ("E`" ?Э)
184   ("E~" ?Ѣ)
185
186   ("Yu" ?Ю)
187   ("YU" ?Ю)
188   ("Ju" ?Ю)
189   ("JU" ?Ю)
190
191   ("Ya" ?Я)
192   ("YA" ?Я)
193   ("Ja" ?Я)
194   ("JA" ?Я)
195   ("Q" ?Я)
196
197
198   ("/e" ?є)
199   ("yi" ?ї)
200   ("u'" ?ў)
201
202   ("/d" ?ђ)
203   ("/ch" ?ћ)
204
205   ("/g" ?ѓ)
206   ("/s" ?ѕ)
207   ("/k" ?ќ)
208
209   ("/i" ?і)
210   ("/j" ?ј)
211   ("/l" ?љ)
212   ("/n" ?њ)
213   ("/z" ?џ)
214
215   ("/u" ?ү)
216   ("/o" ?ө)
217
218   ("/E" ?Є)
219   ("YE" ?Є)
220   ("Yi" ?Ї)
221   ("YI" ?Ї)
222   ("U'" ?Ў)
223
224   ("/D" ?Ђ)
225   ("/Ch" ?Ћ)
226   ("/CH" ?Ћ)
227
228   ("/G" ?Ѓ)
229   ("/S" ?Ѕ)
230   ("/K" ?Ќ)
231
232   ("/I" ?І)
233   ("/J" ?Ј)
234   ("/L" ?Љ)
235   ("/N" ?Њ)
236   ("/Z" ?Џ)
237
238   ("/U" ?Ү)
239   ("/O" ?Ө)))
240
241 (state
242  (init
243   (map)))
244
245 ;; Local Variables:
246 ;; coding: utf-8
247 ;; mode: lisp
248 ;; End: