e1dd1e21eb7dd7c1ccc17286f1b781c89e1df009
[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
100   ("/sht" ?щ)
101   ("/t" ?щ)
102
103   ("~" ?ъ)
104   ("y" ?ы)
105   ("'" ?ь)
106   ("`" ?ь)
107
108   ("e'" ?э)
109   ("e`" ?э)
110   ("e~" ?ѣ)
111
112   ("yu" ?ю)
113   ("ju" ?ю)
114
115   ("ya" ?я)
116   ("ja" ?я)
117   ("q" ?я)
118
119
120   ("A" ?А)
121   ("B" ?Б)
122   ("V" ?В)
123   ("W" ?В)
124   ("G" ?Г)
125   ("D" ?Д)
126
127   ("E" ?Е)
128   ("Je" ?Е)
129   ("JE" ?Е)
130
131   ("Yo" ?Ё)
132   ("YO" ?Ё)
133   ("Jo" ?Ё)
134   ("JO" ?Ё)
135
136   ("Zh" ?Ж)
137   ("ZH" ?Ж)
138   ("Z" ?З)
139   ("I" ?И)
140
141   ("J" ?Й)
142   ("J'" ?Й)
143   ("J`" ?Й)
144   ("K" ?К)
145   ("L" ?Л)
146
147   ("M" ?М)
148   ("N" ?Н)
149   ("O" ?О)
150   ("P" ?П)
151   ("R" ?Р)
152   ("S" ?С)
153   ("T" ?Т)
154   ("U" ?У)
155
156   ("F" ?Ф)
157   ("X" ?Х)
158   ("H" ?Х)
159   ("Kh" ?Х)
160   ("KH" ?Х)
161
162   ("C" ?Ц)
163   ("Ch" ?Ч)
164   ("CH" ?Ч)
165
166   ("Sh" ?Ш)
167   ("SH" ?Ш)
168
169   ("Shch" ?Щ)
170   ("SHCH" ?Щ)
171   ("Sj" ?Щ)
172   ("SJ" ?Щ)
173
174   ("/Sht" ?Щ)
175   ("/SHT" ?Щ)
176   ("/T" ?Щ)
177
178   ("~~" "Ъ")
179   ("Y" ?Ы)
180   ("''" "Ь")
181   ("E'" ?Э)
182   ("E`" ?Э)
183   ("E~" ?Ѣ)
184
185   ("Yu" ?Ю)
186   ("YU" ?Ю)
187   ("Ju" ?Ю)
188   ("JU" ?Ю)
189
190   ("Ya" ?Я)
191   ("YA" ?Я)
192   ("Ja" ?Я)
193   ("JA" ?Я)
194   ("Q" ?Я)
195
196
197   ("/e" ?є)
198   ("yi" ?ї)
199   ("u'" ?ў)
200
201   ("/d" ?ђ)
202   ("/ch" ?ћ)
203
204   ("/g" ?ѓ)
205   ("/s" ?ѕ)
206   ("/k" ?ќ)
207
208   ("/i" ?і)
209   ("/j" ?ј)
210   ("/l" ?љ)
211   ("/n" ?њ)
212   ("/z" ?џ)
213
214   ("/u" ?ү)
215   ("/o" ?ө)
216
217   ("/E" ?Є)
218   ("YE" ?Є)
219   ("Yi" ?Ї)
220   ("YI" ?Ї)
221   ("U'" ?Ў)
222
223   ("/D" ?Ђ)
224   ("/Ch" ?Ћ)
225   ("/CH" ?Ћ)
226
227   ("/G" ?Ѓ)
228   ("/S" ?Ѕ)
229   ("/K" ?Ќ)
230
231   ("/I" ?І)
232   ("/J" ?Ј)
233   ("/L" ?Љ)
234   ("/N" ?Њ)
235   ("/Z" ?Џ)
236
237   ("/U" ?Ү)
238   ("/O" ?Ө)))
239
240 (state
241  (init
242   (map)))
243
244 ;; Local Variables:
245 ;; coding: utf-8
246 ;; mode: lisp
247 ;; End: