21196
|
1 ;;; quail/slovak.el -- Quail package for inputting Slovak
|
|
2
|
|
3 ;; Copyright (C) 1998 Free Software Foundation.
|
|
4
|
|
5 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>,
|
|
6 ;; Milan Zamazal <pdm@fi.muni.cz>
|
|
7 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz>
|
|
8 ;; Keywords: multilingual, input method, Slovak
|
|
9
|
21422
|
10 ;; This file is part of GNU Emacs.
|
|
11
|
|
12 ;; GNU Emacs is free software; you can redistribute it and/or modify
|
|
13 ;; it under the terms of the GNU General Public License as published by
|
|
14 ;; the Free Software Foundation; either version 2, or (at your option)
|
|
15 ;; any later version.
|
|
16
|
|
17 ;; GNU Emacs is distributed in the hope that it will be useful,
|
|
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20 ;; GNU General Public License for more details.
|
|
21
|
|
22 ;; You should have received a copy of the GNU General Public License
|
|
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
24 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
25 ;; Boston, MA 02111-1307, USA.
|
21196
|
26
|
|
27 ;;; Commentary:
|
|
28
|
|
29 ;; This setups some Slovak keyboards:
|
|
30 ;; - standard Slovak keyboard
|
|
31 ;; - three Slovak keyboards for programmers
|
|
32
|
|
33 ;;; Code:
|
|
34
|
|
35 (require 'quail)
|
|
36
|
|
37
|
|
38 (quail-define-package
|
|
39 "slovak" "Slovak" "SK" nil
|
|
40 "Standard Slovak keyboard."
|
|
41 nil t nil nil nil nil nil nil nil nil t)
|
|
42
|
|
43 (quail-define-rules
|
|
44 ("1" ?+)
|
|
45 ("2" ?,B5(B)
|
|
46 ("3" ?,B9(B)
|
|
47 ("4" ?,Bh(B)
|
|
48 ("5" ?,B;(B)
|
|
49 ("6" ?,B>(B)
|
|
50 ("7" ?,B}(B)
|
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
|
109 ("=u" ?,Bz(B)
|
|
110 ("+u" ?,By(B)
|
|
111 ("+=u" ?,B|(B)
|
|
112 ("=z" ?,B}(B)
|
|
113 ("+y" ?,B>(B)
|
|
114 ("=A" ?,BA(B)
|
|
115 ("+A" ?,BD(B)
|
|
116 ("+=A" ?,BD(B)
|
|
117 ("+C" ?,BH(B)
|
|
118 ("+D" ?,BO(B)
|
|
119 ("=E" ?,BI(B)
|
|
120 ("+E" ?,BL(B)
|
|
121 ("=I" ?,BM(B)
|
|
122 ("=L" ?,BE(B)
|
|
123 ("+L" ?,B%(B)
|
|
124 ("+N" ?,BR(B)
|
|
125 ("=O" ?,BS(B)
|
|
126 ("+O" ?,BT(B)
|
|
127 ("~O" ?,BT(B)
|
|
128 ("+=O" ?,BV(B)
|
|
129 ("=R" ?,B@(B)
|
|
130 ("+R" ?,BX(B)
|
|
131 ("=S" ?,B_(B)
|
|
132 ("+S" ?,B)(B)
|
|
133 ("+T" ?,B+(B)
|
|
134 ("=U" ?,BZ(B)
|
|
135 ("+U" ?,BY(B)
|
|
136 ("+=U" ?,B\(B)
|
|
137 ("=Z" ?,B](B)
|
|
138 ("+Y" ?,B.(B)
|
|
139 ("=q" ?q)
|
|
140 ("+q" ?q)
|
|
141 ("=Q" ?Q)
|
|
142 ("+Q" ?Q)
|
|
143 ("=2" ?@)
|
|
144 ("=3" ?#)
|
|
145 ("=4" ?$)
|
|
146 ("=5" ?%)
|
|
147 ("=6" ?^)
|
|
148 ("=7" ?&)
|
|
149 ("=8" ?*)
|
|
150 ("=9" ?\()
|
|
151 ("=0" ?\))
|
|
152 ("+1" ?!)
|
|
153 ("+2" ?@)
|
|
154 ("+3" ?#)
|
|
155 ("+4" ?$)
|
|
156 ("+5" ?%)
|
|
157 ("+6" ?^)
|
|
158 ("+7" ?&)
|
|
159 ("+8" ?*)
|
|
160 ("+9" ?\()
|
|
161 ("+0" ?\))
|
|
162 ([kp-1] ?1)
|
|
163 ([kp-2] ?2)
|
|
164 ([kp-3] ?3)
|
|
165 ([kp-4] ?4)
|
|
166 ([kp-5] ?5)
|
|
167 ([kp-6] ?6)
|
|
168 ([kp-7] ?7)
|
|
169 ([kp-8] ?8)
|
|
170 ([kp-9] ?9)
|
|
171 ([kp-0] ?0)
|
|
172 ([kp-add] ?+))
|
|
173
|
|
174
|
|
175 (quail-define-package
|
|
176 "slovak-prog-1" "Slovak" "SK" nil
|
|
177 "Slovak (non-standard) keyboard for programmers #1.
|
|
178
|
|
179 All digits except of `1' are replaced by Slovak characters as on the standard
|
|
180 Slovak keyboard.
|
|
181 Dead keys are on `[', `[[', and `[[['.
|
|
182 All other keys are the same as on standard US keyboard."
|
|
183 nil t nil nil nil nil nil nil nil nil t)
|
|
184
|
|
185 (quail-define-rules
|
|
186 ("[[[[" ?\[)
|
|
187 ("2" ?,B5(B)
|
|
188 ("3" ?,B9(B)
|
|
189 ("4" ?,Bh(B)
|
|
190 ("5" ?,B;(B)
|
|
191 ("6" ?,B>(B)
|
|
192 ("7" ?,B}(B)
|
|
193 ("8" ?,Ba(B)
|
|
194 ("9" ?,Bm(B)
|
|
195 ("0" ?,Bi(B)
|
|
196 ("[a" ?,Ba(B)
|
|
197 ("[[a" ?,Bd(B)
|
|
198 ("[[[a" ?,Bd(B)
|
|
199 ("[c" ?,Bh(B)
|
|
200 ("[[c" ?,Bh(B)
|
|
201 ("[d" ?,Bo(B)
|
|
202 ("[[d" ?,Bo(B)
|
|
203 ("[e" ?,Bi(B)
|
|
204 ("[[e" ?,Bl(B)
|
|
205 ("[i" ?,Bm(B)
|
|
206 ("[l" ?,Be(B)
|
|
207 ("[[l" ?,B5(B)
|
|
208 ("[n" ?,Br(B)
|
|
209 ("[[n" ?,Br(B)
|
|
210 ("[o" ?,Bs(B)
|
|
211 ("[[o" ?,Bt(B)
|
|
212 ("[[[o" ?,Bv(B)
|
|
213 ("[r" ?,B`(B)
|
|
214 ("[[r" ?,Bx(B)
|
|
215 ("[s" ?,B9(B)
|
|
216 ("[[s" ?,B9(B)
|
|
217 ("[[[s" ?,B_(B)
|
|
218 ("[t" ?,B;(B)
|
|
219 ("[[t" ?,B;(B)
|
|
220 ("[u" ?,Bz(B)
|
|
221 ("[[u" ?,By(B)
|
|
222 ("[[[u" ?,B|(B)
|
|
223 ("[y" ?,B}(B)
|
|
224 ("[z" ?,B>(B)
|
|
225 ("[[z" ?,B>(B)
|
|
226 ("[A" ?,BA(B)
|
|
227 ("[[A" ?,BD(B)
|
|
228 ("[[[A" ?,BD(B)
|
|
229 ("[C" ?,BH(B)
|
|
230 ("[[C" ?,BH(B)
|
|
231 ("[D" ?,BO(B)
|
|
232 ("[[D" ?,BO(B)
|
|
233 ("[E" ?,BI(B)
|
|
234 ("[[E" ?,BL(B)
|
|
235 ("[I" ?,BM(B)
|
|
236 ("[L" ?,BE(B)
|
|
237 ("[[L" ?,B%(B)
|
|
238 ("[N" ?,BR(B)
|
|
239 ("[[N" ?,BR(B)
|
|
240 ("[O" ?,BS(B)
|
|
241 ("[[O" ?,BT(B)
|
|
242 ("[[[O" ?,BV(B)
|
|
243 ("[R" ?,B@(B)
|
|
244 ("[[R" ?,BX(B)
|
|
245 ("[S" ?,B)(B)
|
|
246 ("[[S" ?,B)(B)
|
|
247 ("[[[S" ?,B_(B)
|
|
248 ("[T" ?,B+(B)
|
|
249 ("[[T" ?,B+(B)
|
|
250 ("[U" ?,BZ(B)
|
|
251 ("[[U" ?,BY(B)
|
|
252 ("[[[U" ?,B\(B)
|
|
253 ("[Y" ?,B](B)
|
|
254 ("[Z" ?,B.(B)
|
|
255 ("[[Z" ?,B.(B)
|
|
256 ([kp-1] ?1)
|
|
257 ([kp-2] ?2)
|
|
258 ([kp-3] ?3)
|
|
259 ([kp-4] ?4)
|
|
260 ([kp-5] ?5)
|
|
261 ([kp-6] ?6)
|
|
262 ([kp-7] ?7)
|
|
263 ([kp-8] ?8)
|
|
264 ([kp-9] ?9)
|
|
265 ([kp-0] ?0)
|
|
266 ([kp-add] ?+))
|
|
267
|
|
268
|
|
269 (quail-define-package
|
|
270 "slovak-prog-2" "Slovak" "SK" nil
|
|
271 "Slovak (non-standard) keyboard for programmers #2.
|
|
272
|
|
273 All digits except of `1' are replaced by Slovak characters as on the standard
|
|
274 Slovak keyboard.
|
|
275 Dead keys are on `=' and `+'.
|
|
276 All other keys are the same as on standard US keyboard."
|
|
277 nil t nil nil nil nil nil nil nil nil t)
|
|
278
|
|
279 (quail-define-rules
|
|
280 ("2" ?,B5(B)
|
|
281 ("3" ?,B9(B)
|
|
282 ("4" ?,Bh(B)
|
|
283 ("5" ?,B;(B)
|
|
284 ("6" ?,B>(B)
|
|
285 ("7" ?,B}(B)
|
|
286 ("8" ?,Ba(B)
|
|
287 ("9" ?,Bm(B)
|
|
288 ("0" ?,Bi(B)
|
|
289 ("==" ?=)
|
|
290 ("++" ?+)
|
|
291 ("=+" ?+)
|
|
292 ("=2" ?2)
|
|
293 ("=3" ?3)
|
|
294 ("=4" ?4)
|
|
295 ("=5" ?5)
|
|
296 ("=6" ?6)
|
|
297 ("=7" ?7)
|
|
298 ("=8" ?8)
|
|
299 ("=9" ?9)
|
|
300 ("=0" ?0)
|
|
301 ("+2" ?2)
|
|
302 ("+3" ?3)
|
|
303 ("+4" ?4)
|
|
304 ("+5" ?5)
|
|
305 ("+6" ?6)
|
|
306 ("+7" ?7)
|
|
307 ("+8" ?8)
|
|
308 ("+9" ?9)
|
|
309 ("+0" ?0)
|
|
310 ("=a" ?,Ba(B)
|
|
311 ("+a" ?,Bd(B)
|
|
312 ("+=a" ?,Bd(B)
|
|
313 ("+c" ?,Bh(B)
|
|
314 ("+d" ?,Bo(B)
|
|
315 ("=e" ?,Bi(B)
|
|
316 ("+e" ?,Bl(B)
|
|
317 ("=i" ?,Bm(B)
|
|
318 ("=l" ?,Be(B)
|
|
319 ("+l" ?,B5(B)
|
|
320 ("+n" ?,Br(B)
|
|
321 ("=o" ?,Bs(B)
|
|
322 ("+o" ?,Bt(B)
|
|
323 ("+=o" ?,Bv(B)
|
|
324 ("=r" ?,B`(B)
|
|
325 ("+r" ?,Bx(B)
|
|
326 ("=s" ?,B_(B)
|
|
327 ("+s" ?,B9(B)
|
|
328 ("+t" ?,B;(B)
|
|
329 ("=u" ?,Bz(B)
|
|
330 ("+u" ?,By(B)
|
|
331 ("+=u" ?,B|(B)
|
|
332 ("=y" ?,B}(B)
|
|
333 ("+z" ?,B>(B)
|
|
334 ("=A" ?,BA(B)
|
|
335 ("+A" ?,BD(B)
|
|
336 ("+=A" ?,BD(B)
|
|
337 ("+C" ?,BH(B)
|
|
338 ("+D" ?,BO(B)
|
|
339 ("=E" ?,BI(B)
|
|
340 ("+E" ?,BL(B)
|
|
341 ("=I" ?,BM(B)
|
|
342 ("=L" ?,BE(B)
|
|
343 ("+L" ?,B%(B)
|
|
344 ("+N" ?,BR(B)
|
|
345 ("=O" ?,BS(B)
|
|
346 ("+O" ?,BT(B)
|
|
347 ("+=O" ?,BV(B)
|
|
348 ("=R" ?,B@(B)
|
|
349 ("+R" ?,BX(B)
|
|
350 ("=S" ?,B_(B)
|
|
351 ("+S" ?,B)(B)
|
|
352 ("+T" ?,B+(B)
|
|
353 ("=U" ?,BZ(B)
|
|
354 ("+U" ?,BY(B)
|
|
355 ("+=U" ?,B\(B)
|
|
356 ("=Y" ?,B](B)
|
|
357 ("+Z" ?,B.(B)
|
|
358 ([kp-1] ?1)
|
|
359 ([kp-2] ?2)
|
|
360 ([kp-3] ?3)
|
|
361 ([kp-4] ?4)
|
|
362 ([kp-5] ?5)
|
|
363 ([kp-6] ?6)
|
|
364 ([kp-7] ?7)
|
|
365 ([kp-8] ?8)
|
|
366 ([kp-9] ?9)
|
|
367 ([kp-0] ?0)
|
|
368 ([kp-add] ?+))
|
|
369
|
|
370
|
|
371 (quail-define-package
|
|
372 "slovak-prog-3" "Slovak" "SK" nil
|
|
373 "Slovak (non-standard) keyboard for programmers #3.
|
|
374
|
|
375 Dead keys are on `[', `[[', `[[[', and `]'.
|
|
376 All other keys are the same as on standard US keyboard."
|
|
377 nil t nil nil nil nil nil nil nil nil t)
|
|
378
|
|
379 (quail-define-rules
|
|
380 ("[[[[" ?\[)
|
|
381 ("[]" ?\])
|
|
382 ("][" ?\[)
|
|
383 ("]]" ?\])
|
|
384 ("[a" ?,Ba(B)
|
|
385 ("[[a" ?,Bd(B)
|
|
386 ("[[[a" ?,Bd(B)
|
|
387 ("]a" ?,Bd(B)
|
|
388 ("][a" ?,Bd(B)
|
|
389 ("[c" ?,Bh(B)
|
|
390 ("[[c" ?,Bh(B)
|
|
391 ("]c" ?,Bh(B)
|
|
392 ("[d" ?,Bo(B)
|
|
393 ("[[d" ?,Bo(B)
|
|
394 ("]d" ?,Bo(B)
|
|
395 ("[e" ?,Bi(B)
|
|
396 ("[[e" ?,Bl(B)
|
|
397 ("]e" ?,Bl(B)
|
|
398 ("[i" ?,Bm(B)
|
|
399 ("[l" ?,Be(B)
|
|
400 ("[[l" ?,B5(B)
|
|
401 ("]l" ?,B5(B)
|
|
402 ("[n" ?,Br(B)
|
|
403 ("[[n" ?,Br(B)
|
|
404 ("]n" ?,Br(B)
|
|
405 ("[[o" ?,Bt(B)
|
|
406 ("[[[o" ?,Bv(B)
|
|
407 ("[o" ?,Bs(B)
|
|
408 ("]o" ?,Bt(B)
|
|
409 ("][o" ?,Bv(B)
|
|
410 ("[r" ?,B`(B)
|
|
411 ("[[r" ?,Bx(B)
|
|
412 ("]r" ?,Bx(B)
|
|
413 ("[s" ?,B9(B)
|
|
414 ("[[s" ?,B9(B)
|
|
415 ("[[[s" ?,B_(B)
|
|
416 ("]s" ?,B9(B)
|
|
417 ("[t" ?,B;(B)
|
|
418 ("[[t" ?,B;(B)
|
|
419 ("]t" ?,B;(B)
|
|
420 ("[u" ?,Bz(B)
|
|
421 ("[[u" ?,By(B)
|
|
422 ("[[[u" ?,B|(B)
|
|
423 ("]u" ?,By(B)
|
|
424 ("][u" ?,B|(B)
|
|
425 ("[y" ?,B}(B)
|
|
426 ("[z" ?,B>(B)
|
|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kp-4] ?4)
|
|
478 ([kp-5] ?5)
|
|
479 ([kp-6] ?6)
|
|
480 ([kp-7] ?7)
|
|
481 ([kp-8] ?8)
|
|
482 ([kp-9] ?9)
|
|
483 ([kp-0] ?0)
|
|
484 ([kp-add] ?+))
|