Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / lisp / leim / quail / cyrillic.el
blob464431d36e8409bbc58ad6f2437dcbdcf323b415
1 ;;; cyrillic.el --- Quail package for inputting Cyrillic characters
3 ;; Copyright (C) 1997-1998, 2001-2014 Free Software Foundation, Inc.
4 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
5 ;; 2006, 2007, 2008, 2009, 2010, 2011
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
7 ;; Registration Number H14PRO021
9 ;; Author: TAKAHASHI Naoto <ntakahas@m17n.org>
10 ;; Keywords: multilingual, input method, Cyrillic, i18n
12 ;; This file is part of GNU Emacs.
14 ;; GNU Emacs is free software: you can redistribute it and/or modify
15 ;; it under the terms of the GNU General Public License as published by
16 ;; the Free Software Foundation, either version 3 of the License, or
17 ;; (at your option) any later version.
19 ;; GNU Emacs is distributed in the hope that it will be useful,
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details.
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
27 ;;; Commentary:
29 ;; These methods use a mixture of 8859-5 and Unicode. Quail, used
30 ;; with ucs-tables provides support for translating on the fly to
31 ;; what's appropriate for aa buffer's file coding system, so the
32 ;; encoding shouldn't matter too much provided it supports the
33 ;; necessary characters.
35 ;;; Code:
37 (require 'quail)
39 ;; This was `cyrillic-jcuken'. Alexander Mikhailian
40 ;; <mikhailian@altern.org> says: "cyrillic-jcuken" is actually
41 ;; russian. It is ok but a bit outdated. This layout has been used
42 ;; in typewriters for ages but it has been superseded on desktops by
43 ;; a variation of this layout, implemented in M$ Windows software.
44 ;; The Windows layout is greatly preferred because of the comma and
45 ;; period being placed more conveniently and, of course, because of
46 ;; the popularity of Windows software. This layout is a common option
47 ;; in X Windows and console layouts for GNU/Linux. [See
48 ;; `russian-computer' below.]
49 (quail-define-package
50 "russian-typewriter" "Russian" "ЖЙ" nil
51 "ЙЦУКЕН Russian typewriter layout (ISO 8859-5 encoding)."
52 nil t t t t nil nil nil nil nil t)
54 ;; №1 -2 /3 "4 :5 ,6 .7 _8 ?9 %0 != ;\ |+
55 ;; Й Ц У К Е Н Г Ш Щ З Х Ъ )(
56 ;; Ф Ы В А П Р О Л Д Ж Э
57 ;; Я Ч С М И Т Ь Б Ю Ё
59 (quail-define-rules
60 ("1" ?№)
61 ("2" ?-)
62 ("3" ?/)
63 ("4" ?\")
64 ("5" ?:)
65 ("6" ?,)
66 ("7" ?.)
67 ("8" ?_)
68 ("9" ??)
69 ("0" ?%)
70 ("-" ?!)
71 ("=" ?\;)
72 ("`" ?|)
73 ("q")
74 ("w")
75 ("e")
76 ("r")
77 ("t")
78 ("y")
79 ("u")
80 ("i")
81 ("o")
82 ("p")
83 ("[")
84 ("]")
85 ("a")
86 ("s")
87 ("d")
88 ("f")
89 ("g" ?п)
90 ("h")
91 ("j")
92 ("k")
93 ("l")
94 (";")
95 ("'")
96 ("\\" ?\))
97 ("z")
98 ("x")
99 ("c")
100 ("v")
101 ("b")
102 ("n")
103 ("m")
104 (",")
105 (".")
106 ("/")
108 ("!" ?1)
109 ("@" ?2)
110 ("#" ?3)
111 ("$" ?4)
112 ("%" ?5)
113 ("^" ?6)
114 ("&" ?7)
115 ("*" ?8)
116 ("(" ?9)
117 (")" ?0)
118 ("_" ?=)
119 ("+" ?\\)
120 ("~" ?+)
121 ("Q")
122 ("W")
123 ("E")
124 ("R")
125 ("T")
126 ("Y")
127 ("U")
128 ("I")
129 ("O")
130 ("P")
131 ("{")
132 ("}")
133 ("A")
134 ("S")
135 ("D")
136 ("F")
137 ("G")
138 ("H")
139 ("J")
140 ("K")
141 ("L")
142 (":")
143 ("\"")
144 ("|" ?\()
145 ("Z")
146 ("X")
147 ("C")
148 ("V")
149 ("B")
150 ("N")
151 ("M")
152 ("<")
153 (">")
154 ("?")
157 ;; Maintain the obsolete name for now.
158 (push (cons "cyrillic-jcuken"
159 (cdr (assoc "russian-typewriter" quail-package-alist)))
160 quail-package-alist)
162 ;; This needs to be seen by quail-update-leim-list-file, but cannot be
163 ;; commented out because quail-update-leim-list-file ignores
164 ;; commented-out lines.
165 (if nil
166 (quail-define-package
167 "cyrillic-jcuken" "Russian" "ЖЙ" nil
168 "ЙЦУКЕН Russian typewriter layout (ISO 8859-5 encoding)."))
170 ;; See comment above. This is the variant `winkeys' from `ru' in XKB.
171 (quail-define-package
172 "russian-computer" "Russian" "RU" nil
173 "ЙЦУКЕН Russian computer layout"
174 nil t t t t nil nil nil nil nil t)
176 ;; 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+ \/ ёЁ
177 ;; Й Ц У К Е Н Г Ш Щ З Х Ъ
178 ;; Ф Ы В А П Р О Л Д Ж Э
179 ;; Я Ч С М И Т Ь Б Ю .,
181 (quail-define-rules
182 ("1" ?1)
183 ("2" ?2)
184 ("3" ?3)
185 ("4" ?4)
186 ("5" ?5)
187 ("6" ?6)
188 ("7" ?7)
189 ("8" ?8)
190 ("9" ?9)
191 ("0" ?0)
192 ("-" ?-)
193 ("=" ?=)
194 ("|" ?/)
195 ("`")
196 ("q")
197 ("w")
198 ("e")
199 ("r")
200 ("t")
201 ("y")
202 ("u")
203 ("i")
204 ("o")
205 ("p")
206 ("[")
207 ("]")
208 ("a")
209 ("s")
210 ("d")
211 ("f")
212 ("g" ?п)
213 ("h")
214 ("j")
215 ("k")
216 ("l")
217 (";")
218 ("'")
219 ("\\" ?\\)
220 ("z")
221 ("x")
222 ("c")
223 ("v")
224 ("b")
225 ("n")
226 ("m")
227 (",")
228 (".")
229 ("/" ?.)
230 ("!" ?!)
231 ("@" ?\")
232 ("#" ?№)
233 ("$" ?\;)
234 ("%" ?%)
235 ("^" ?:)
236 ("&" ??)
237 ("*" ?*)
238 ("(" ?()
239 (")" ?))
240 ("_" ?_)
241 ("+" ?+)
242 ("~")
243 ("Q")
244 ("W")
245 ("E")
246 ("R")
247 ("T")
248 ("Y")
249 ("U")
250 ("I")
251 ("O")
252 ("P")
253 ("{")
254 ("}")
255 ("A")
256 ("S")
257 ("D")
258 ("F")
259 ("G")
260 ("H")
261 ("J")
262 ("K")
263 ("L")
264 (":")
265 ("\"")
266 ("|" ?|)
267 ("Z")
268 ("X")
269 ("C")
270 ("V")
271 ("B")
272 ("N")
273 ("M")
274 ("<")
275 (">")
276 ("?" ?,))
278 ;; Mikhailian couldn't check the next two.
280 ;; This seems to have the same layout for letters as mk in XKB, but at
281 ;; least the top row is different.
282 (quail-define-package
283 "cyrillic-macedonian" "Cyrillic" "ЖM" nil
284 "ЉЊЕРТЗ-ЃЌ keyboard layout based on JUS.I.K1.004"
285 nil t t t t nil nil nil nil nil t)
287 ;; 1! 2" 3# 4$ 5% 6& 7' 8( 9) 0= /? +* <>
288 ;; Љ Њ Е Р Т З У И О П Ш Ѓ
289 ;; А С Д Ф Г Х Ј К Л Ч Ќ Ж
290 ;; Ѕ Џ Ц В Б Н М ,; .: -_
292 (quail-define-rules
293 ("1" ?1)
294 ("2" ?2)
295 ("3" ?3)
296 ("4" ?4)
297 ("5" ?5)
298 ("6" ?6)
299 ("7" ?7)
300 ("8" ?8)
301 ("9" ?9)
302 ("0" ?0)
303 ("-" ?/)
304 ("=" ?+)
305 ("`" ?<)
306 ("q")
307 ("w")
308 ("e")
309 ("r")
310 ("t")
311 ("y")
312 ("u")
313 ("i")
314 ("o")
315 ("p" ?п)
316 ("[")
317 ("]")
318 ("a")
319 ("s")
320 ("d")
321 ("f")
322 ("g")
323 ("h")
324 ("j")
325 ("k")
326 ("l")
327 (";")
328 ("'")
329 ("\\")
330 ("z")
331 ("x")
332 ("c")
333 ("v")
334 ("b")
335 ("n")
336 ("m")
337 ("," ?,)
338 ("." ?.)
339 ("/" ?-)
341 ("!" ?!)
342 ("@" ?\")
343 ("#" ?#)
344 ("$" ?$)
345 ("%" ?%)
346 ("^" ?&)
347 ("&" ?')
348 ("*" ?\()
349 ("(" ?\))
350 (")" ?=)
351 ("_" ??)
352 ("+" ?*)
353 ("~" ?>)
354 ("Q")
355 ("W")
356 ("E")
357 ("R")
358 ("T")
359 ("Y")
360 ("U")
361 ("I")
362 ("O")
363 ("P")
364 ("{")
365 ("}")
366 ("A")
367 ("S")
368 ("D")
369 ("F")
370 ("G")
371 ("H")
372 ("J")
373 ("K")
374 ("L")
375 (":")
376 ("\"")
377 ("|")
378 ("Z")
379 ("X")
380 ("C")
381 ("V")
382 ("B")
383 ("N")
384 ("M")
385 ("<" ?\;)
386 (">" ?:)
387 ("?" ?_))
391 (quail-define-package
392 "cyrillic-serbian" "Cyrillic" "ЖS" nil
393 "ЉЊЕРТЗ-ЂЋ keyboard layout based on JUS.I.K1.005"
394 nil t t t t nil nil nil nil nil t)
396 ;; 1! 2" 3# 4$ 5% 6& 7' 8( 9) 0= /? +* <>
397 ;; Љ Њ Е Р Т З У И О П Ш Ђ
398 ;; А С Д Ф Г Х Ј К Л Ч Ћ Ж
399 ;; Ѕ Џ Ц В Б Н М ,; .: -_
401 (quail-define-rules
402 ("1" ?1)
403 ("2" ?2)
404 ("3" ?3)
405 ("4" ?4)
406 ("5" ?5)
407 ("6" ?6)
408 ("7" ?7)
409 ("8" ?8)
410 ("9" ?9)
411 ("0" ?0)
412 ("-" ?/)
413 ("=" ?+)
414 ("`" ?<)
415 ("q")
416 ("w")
417 ("e")
418 ("r")
419 ("t")
420 ("y")
421 ("u")
422 ("i")
423 ("o")
424 ("p" ?п)
425 ("[")
426 ("]")
427 ("a")
428 ("s")
429 ("d")
430 ("f")
431 ("g")
432 ("h")
433 ("j")
434 ("k")
435 ("l")
436 (";")
437 ("'")
438 ("\\")
439 ("z")
440 ("x")
441 ("c")
442 ("v")
443 ("b")
444 ("n")
445 ("m")
446 ("," ?,)
447 ("." ?.)
448 ("/" ?-)
450 ("!" ?!)
451 ("@" ?\")
452 ("#" ?#)
453 ("$" ?$)
454 ("%" ?%)
455 ("^" ?&)
456 ("&" ?')
457 ("*" ?\()
458 ("(" ?\))
459 (")" ?=)
460 ("_" ??)
461 ("+" ?*)
462 ("~" ?>)
463 ("Q")
464 ("W")
465 ("E")
466 ("R")
467 ("T")
468 ("Y")
469 ("U")
470 ("I")
471 ("O")
472 ("P")
473 ("{")
474 ("}")
475 ("A")
476 ("S")
477 ("D")
478 ("F")
479 ("G")
480 ("H")
481 ("J")
482 ("K")
483 ("L")
484 (":")
485 ("\"")
486 ("|")
487 ("Z")
488 ("X")
489 ("C")
490 ("V")
491 ("B")
492 ("N")
493 ("M")
494 ("<" ?\;)
495 (">" ?:)
496 ("?" ?_))
500 ;; Alexander Mikhailian comments:
501 ;; Having worked for several years as a Belarusian linguist, I still
502 ;; can not find the origin of this layout which BTW does include
503 ;; several characters that are not present in Belarusian and does not
504 ;; include a few ones that do exist in Belarusian. Besides, the typo
505 ;; in the name of this layout speaks for itself since Belarusian has
506 ;; an outdated version of spelling which is "Byelorussian" and not
507 ;; "beylorussian". I suggest that you just remove this layout.
509 ;; [`derived from JUS.I.K1' according to an old Mule note -- fx]
511 ;; (quail-define-package
512 ;; "cyrillic-beylorussian" "Belarussian" "ЖB" nil
513 ;; "ЉЊЕРТЗ-ІЎ BEYLORUSSIAN (ISO 8859-5 encoding)"
514 ;; nil t t t t nil nil nil nil nil t)
516 ;; ;; 1! 2" 3# 4$ 5% 6& 7' 8( 9) 0= /? +* <>
517 ;; ;; Љ Њ Е Р Т З У И О П Ш І
518 ;; ;; А С Д Ф Г Х Ј К Л Ч Ў Ж
519 ;; ;; Ѕ Џ Ц В Б Н М ,; .: -_
521 ;; (quail-define-rules
522 ;; ("-" ?/)
523 ;; ("=" ?+)
524 ;; ("`" ?<)
525 ;; ("q" ?љ)
526 ;; ("w" ?њ)
527 ;; ("e" ?е)
528 ;; ("r" ?р)
529 ;; ("t" ?т)
530 ;; ("y" ?з)
531 ;; ("u" ?у)
532 ;; ("i" ?и)
533 ;; ("o" ?о)
534 ;; ("p" ?п)
535 ;; ("[" ?ш)
536 ;; ("]" ?і)
537 ;; ("a" ?а)
538 ;; ("s" ?с)
539 ;; ("d" ?д)
540 ;; ("f" ?ф)
541 ;; ("g" ?г)
542 ;; ("h" ?х)
543 ;; ("j" ?ј)
544 ;; ("k" ?к)
545 ;; ("l" ?л)
546 ;; (";" ?ч)
547 ;; ("'" ?ў)
548 ;; ("\\" ?ж)
549 ;; ("z" ?ѕ)
550 ;; ("x" ?џ)
551 ;; ("c" ?ц)
552 ;; ("v" ?в)
553 ;; ("b" ?б)
554 ;; ("n" ?н)
555 ;; ("m" ?м)
556 ;; ("/" ?-)
558 ;; ("@" ?\")
559 ;; ("^" ?&)
560 ;; ("&" ?')
561 ;; ("*" ?\()
562 ;; ("(" ?\))
563 ;; (")" ?=)
564 ;; ("_" ??)
565 ;; ("+" ?*)
566 ;; ("~" ?>)
567 ;; ("Q" ?Љ)
568 ;; ("W" ?Њ)
569 ;; ("E" ?Е)
570 ;; ("R" ?Р)
571 ;; ("T" ?Т)
572 ;; ("Y" ?З)
573 ;; ("U" ?У)
574 ;; ("I" ?И)
575 ;; ("O" ?О)
576 ;; ("P" ?П)
577 ;; ("{" ?Ш)
578 ;; ("}" ?І)
579 ;; ("A" ?А)
580 ;; ("S" ?С)
581 ;; ("D" ?Д)
582 ;; ("F" ?Ф)
583 ;; ("G" ?Г)
584 ;; ("H" ?Х)
585 ;; ("J" ?Ј)
586 ;; ("K" ?К)
587 ;; ("L" ?Л)
588 ;; (":" ?Ч)
589 ;; ("\"" ?Ў)
590 ;; ("|" ?Ж)
591 ;; ("Z" ?Ѕ)
592 ;; ("X" ?Џ)
593 ;; ("C" ?Ц)
594 ;; ("V" ?В)
595 ;; ("B" ?Б)
596 ;; ("N" ?Н)
597 ;; ("M" ?М)
598 ;; ("<" ?\;)
599 ;; (">" ?:)
600 ;; ("?" ?_))
604 ;; Alexander Mikhailian reports the opinion of fellow Ukrainian
605 ;; linguist Bogdan Babych <babych@altern.org>:
606 ;; He had seen this layout on some oldish systems but that the vast
607 ;; majority of the population uses a modified version of the M$ Windows
608 ;; layout. In fact, Microsoft shipped for a while a layout that was lacking
609 ;; two characters, precisely the "GHE_WITH_UPTURN" and the apostrophe. The
610 ;; latest versions of Windows software do have the "GHE_WITH_UPTURN" in the
611 ;; ukrainian keyboard layout but the apostrophe is still not there, whereas
612 ;; there is one letter, "Cyrillic_YO", not used in ukrainian. Ukrainians
613 ;; normally replace the "Cyrillic_YO" by the apostrophe sign and live
614 ;; happily with this little change. [See "ukrainian-computer" below.]
616 ;; Fixme: add GHE_WITH_UPTURN.
617 (quail-define-package
618 "cyrillic-ukrainian" "Ukrainian" "ЖU" nil
619 "ЄЇЕРТЗ-ІЎ UKRAINIAN
621 Sorry, but 'ghe with upturn' is not included in ISO 8859-5."
622 nil t t t t nil nil nil nil nil t)
624 ;; 1! 2" 3# 4$ 5% 6& 7' 8( 9) 0= /? +* <>
625 ;; Є Ї Е Р Т З У И О П Ш І
626 ;; А С Д Ф Г Х Ј К Л Ч Ў Ж
627 ;; Ѕ Џ Ц В Б Н М ,; .: -_
629 (quail-define-rules
630 ("1" ?1)
631 ("2" ?2)
632 ("3" ?3)
633 ("4" ?4)
634 ("5" ?5)
635 ("6" ?6)
636 ("7" ?7)
637 ("8" ?8)
638 ("9" ?9)
639 ("0" ?0)
640 ("-" ?/)
641 ("=" ?+)
642 ("`" ?<)
643 ("q")
644 ("w")
645 ("e")
646 ("r")
647 ("t")
648 ("y")
649 ("u")
650 ("i")
651 ("o")
652 ("p" ?п)
653 ("[")
654 ("]")
655 ("a")
656 ("s")
657 ("d")
658 ("f")
659 ("g")
660 ("h")
661 ("j")
662 ("k")
663 ("l")
664 (";")
665 ("'")
666 ("\\")
667 ("z")
668 ("x")
669 ("c")
670 ("v")
671 ("b")
672 ("n")
673 ("m")
674 ("," ?,)
675 ("." ?.)
676 ("/" ?-)
678 ("!" ?!)
679 ("@" ?\")
680 ("#" ?#)
681 ("$" ?$)
682 ("%" ?%)
683 ("^" ?&)
684 ("&" ?')
685 ("*" ?\()
686 ("(" ?\))
687 (")" ?=)
688 ("_" ??)
689 ("+" ?*)
690 ("~" ?>)
691 ("Q")
692 ("W")
693 ("E")
694 ("R")
695 ("T")
696 ("Y")
697 ("U")
698 ("I")
699 ("O")
700 ("P")
701 ("{")
702 ("}")
703 ("A")
704 ("S")
705 ("D")
706 ("F")
707 ("G")
708 ("H")
709 ("J")
710 ("K")
711 ("L")
712 (":")
713 ("\"")
714 ("|")
715 ("Z")
716 ("X")
717 ("C")
718 ("V")
719 ("B")
720 ("N")
721 ("M")
722 ("<" ?\;)
723 (">" ?:)
724 ("?" ?_))
727 (quail-define-package
728 "ukrainian-computer" "Ukrainian" "UK" nil
729 "ЙЦУКЕН Ukrainian (Unicode-based for use with KOI8-U encoding)."
730 nil t t t t nil nil nil nil nil t)
732 ;; ' 1! 2" 3№ 4; 5% 6: 7? 8* 9( 0) -_ =+
733 ;; Й Ц У К Е Н Г Ш Щ З Х Ї
734 ;; Ф І В А П Р О Л Д Ж Є Ґ
735 ;; Я Ч С М И Т Ь Б Ю .,
737 (quail-define-rules
738 ("1" ?1)
739 ("2" ?2)
740 ("3" ?3)
741 ("4" ?4)
742 ("5" ?5)
743 ("6" ?6)
744 ("7" ?7)
745 ("8" ?8)
746 ("9" ?9)
747 ("0" ?0)
748 ("-" ?-)
749 ("=" ?=)
750 ("`" ?')
751 ("q")
752 ("w")
753 ("e")
754 ("r")
755 ("t")
756 ("y")
757 ("u")
758 ("i")
759 ("o")
760 ("p")
761 ("[")
762 ("]")
763 ("a")
764 ("s")
765 ("d")
766 ("f")
767 ("g" ?п)
768 ("h")
769 ("j")
770 ("k")
771 ("l")
772 (";")
773 ("'")
774 ("z")
775 ("x")
776 ("c")
777 ("v")
778 ("b")
779 ("n")
780 ("m")
781 (",")
782 (".")
783 ("/" ?.)
784 ("!" ?!)
785 ("@" ?\")
786 ("#" ?№)
787 ("$" ?\;)
788 ("%" ?%)
789 ("^" ?:)
790 ("&" ??)
791 ("*" ?*)
792 ("(" ?()
793 (")" ?))
794 ("_" ?_)
795 ("+" ?+)
796 ("~" ?')
797 ("Q")
798 ("W")
799 ("E")
800 ("R")
801 ("T")
802 ("Y")
803 ("U")
804 ("I")
805 ("O")
806 ("P")
807 ("{")
808 ("}")
809 ("A")
810 ("S")
811 ("D")
812 ("F")
813 ("G")
814 ("H")
815 ("J")
816 ("K")
817 ("L")
818 (":")
819 ("\"")
820 ("Z")
821 ("X")
822 ("C")
823 ("V")
824 ("B")
825 ("N")
826 ("M")
827 ("<")
828 (">")
829 ("?" ?,)
830 ("\\")
831 ("|"))
834 ;; Alexander Mikhailian says this is of limited use. It has been
835 ;; popular among emigrants or foreigners who have to type in Cyrillic
836 ;; (mostly Russian) from time to time.
837 (quail-define-package
838 "cyrillic-yawerty" "Cyrillic" "ЖЯ" nil
839 "ЯВЕРТЫ Roman transcription
841 This layout is based on Roman transcription by phonemic resemblance.
842 When preceded by a '/', the second and the third rows (number key row) change
843 as follows.
845 keytop | Q W E R T Y U I O P A S D
846 --------+---------------------------------------
847 input | Ђ Ѓ Є Ѕ І Ї Ј Љ Њ Ћ Ќ Ў Џ"
848 nil t t t t nil nil nil nil nil t)
850 ;; 1! 2ё 3ъ 4Ё 5% 6^ 7& 8* 9( 0) -_ Ч Ю
851 ;; Я В Е Р Т Ы У И О П Ш Щ
852 ;; А С Д Ф Г Х Й К Л ;: '" Э
853 ;; З Ь Ц Ж Б Н М ,< .> /?
855 ;; 1! 2ё 3ъ 4Ё 5% 6^ 7& 8* 9( 0) -_ Ч Ю
856 ;; Ђ Ѓ Є Ѕ І Ї Ј Љ Њ Ћ Ш Щ
857 ;; Ќ Ў Џ Ф Г Х Й К Л ;: '" Э
858 ;; З Ь Ц Ж Б Н М ,< .> /?
860 (quail-define-rules
861 ("1" ?1)
862 ("2" ?2)
863 ("3" ?3)
864 ("4" ?4)
865 ("5" ?5)
866 ("6" ?6)
867 ("7" ?7)
868 ("8" ?8)
869 ("9" ?9)
870 ("0" ?0)
871 ("-" ?-)
872 ("=")
873 ("`")
874 ("q")
875 ("w")
876 ("e")
877 ("r")
878 ("t")
879 ("y")
880 ("u")
881 ("i")
882 ("o")
883 ("p" ?п)
884 ("[")
885 ("]")
886 ("a")
887 ("s")
888 ("d")
889 ("f")
890 ("g")
891 ("h")
892 ("j")
893 ("k")
894 ("l")
895 (";" ?\;)
896 ("'" ?')
897 ("\\")
898 ("z")
899 ("x")
900 ("c")
901 ("v")
902 ("b")
903 ("n")
904 ("m")
905 ("," ?,)
906 ("." ?.)
907 ("/" ?/)
909 ("!" ?!)
910 ("@")
911 ("#")
912 ("$")
913 ("%" ?%)
914 ("^" ?^)
915 ("&" ?&)
916 ("*" ?*)
917 ("(" ?\()
918 (")" ?\))
919 ("_" ?_)
920 ("+")
921 ("~")
922 ("Q")
923 ("W")
924 ("E")
925 ("R")
926 ("T")
927 ("Y")
928 ("U")
929 ("I")
930 ("O")
931 ("P")
932 ("{")
933 ("}")
934 ("A")
935 ("S")
936 ("D")
937 ("F")
938 ("G")
939 ("H")
940 ("J")
941 ("K")
942 ("L")
943 (":" ?:)
944 ("\"" ?\")
945 ("|")
946 ("Z")
947 ("X")
948 ("C")
949 ("V")
950 ("B")
951 ("N")
952 ("M")
953 ("<" ?<)
954 (">" ?>)
955 ("?" ??)
957 ("/q")
958 ("/w")
959 ("/e")
960 ("/r")
961 ("/t")
962 ("/y")
963 ("/u")
964 ("/i")
965 ("/o")
966 ("/p")
967 ("/a")
968 ("/s")
969 ("/d")
971 ("/Q")
972 ("/W")
973 ("/E")
974 ("/R")
975 ("/T")
976 ("/Y")
977 ("/U")
978 ("/I")
979 ("/O")
980 ("/P")
981 ("/A")
982 ("/S")
983 ("/D"))
985 ;; This was provided by Valery Alexeev <valery@domovoy.math.uga.edu>.
987 ;; Ognyan Kulev <ogi@fmi.uni-sofia.bg> wrote:
989 ;; I would suggest future `cyrillic-translit' to be with the
990 ;; modification of `cyrillic-translit-bulgarian' applied and the
991 ;; latter to disappear. It could be used by people who write
992 ;; bulgarian e-mails with latin letters for kick start (phonetic input
993 ;; method is not so obvious as translit input method but each letter
994 ;; is one keypress and a *lot* of people know it).
996 ;; Anton Zinoviev <anton@lml.bas.bg> wrote:
997 ;; I would say that the main idea for cyrillic-translit is to be
998 ;; language-independent and universal. It should be able to generate all
999 ;; Cyrillic symbols.
1000 (quail-define-package
1001 "cyrillic-translit" "Cyrillic" "Жt" t
1002 "Intuitively transliterated keyboard layout.
1003 Most convenient for entering Russian, but all Cyrillic characters
1004 are included. Should handle most cases. However:
1005 for ц (TSE) use \"c\", never \"ts\"
1006 щ (SHCHA = Bulgarian SHT) = \"shch\", \"sj\", \"/sht\" or \"/t\",
1007 э (REVERSE ROUNDED E) = \"e\\\"
1008 х (KHA) when after с (S) = \"x\" or \"kh\"
1009 ъ (HARD SIGN) = \"~\", Ъ (CAPITAL HARD SIGN) = \"~~\",
1010 ь (SOFT SIGN) = \"'\", Ь (CAPITAL SOFT SIGN) = \"''\",
1011 я (YA) = \"ya\", \"ja\" or \"q\".
1013 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
1014 u f h=kh=x c ch sh shch=sj=/s=/sht ~ y ' e\\ yu=ju ya=ja=q
1016 Also included are Ukrainian є (YE) = \"/e\", ї (YI) = \"yi\",
1017 ґ (GHE WITH UPTURN) = \"g'\",
1018 Belarusian ў (SHORT U) = \"u~\",
1019 Serbo-Croatian ђ (DJE) = \"/d\", ћ (CHJE)= \"/ch\",
1020 Macedonian ѓ (GJE) = \"/g\", ѕ (DZE) = \"/s\", ќ (KJE) = \"/k\",
1021 cyrillic і (I DECIMAL) = \"/i\", ј (JE) = \"/j\",
1022 љ (LJE) = \"/l\", њ (NJE) = \"/n\" and џ (DZE) =\"/z\"."
1023 nil t t t t nil nil nil nil nil t)
1025 (quail-define-rules
1026 ("a") ("b") ("v") ("w") ("g") ("d")
1027 ("e") ("je")
1028 ("yo") ("jo")
1029 ("zh") ("z") ("i")
1030 ("j") ("j'") ("j`") ("k") ("l")
1031 ("m") ("n") ("o") ("p" ?п) ("r") ("s") ("t") ("u")
1032 ("f") ("x") ("h") ("kh")
1033 ("c") ("ch")
1034 ("sh")
1035 ("shch") ("sj")
1036 ("/sht") ("/t")
1037 ("~") ("y") ("'") ("`")
1038 ("e\\") ("e'") ("e`") ("@")
1039 ("yu") ("ju")
1040 ("ya") ("ja") ("q")
1042 ("A") ("B") ("V") ("W") ("G") ("D")
1043 ("E") ("Je") ("JE")
1044 ("Yo") ("YO") ("Jo") ("JO")
1045 ("Zh") ("ZH") ("Z") ("I")
1046 ("J") ("J'") ("J`") ("K") ("L")
1047 ("M") ("N") ("O") ("P") ("R") ("S") ("T") ("U")
1048 ("F") ("X") ("H") ("Kh") ("KH")
1049 ("C") ("Ch") ("CH")
1050 ("Sh") ("SH")
1051 ("Shch") ("SHCH") ("Sj") ("SJ")
1052 ("/Sht") ("/SHT") ("/T")
1053 ("~~") ("Y") ("''")
1054 ("E\\") ("E'") ("E`") ("@@")
1055 ("Yu") ("YU") ("Ju") ("JU")
1056 ("Ya") ("YA") ("Ja") ("JA") ("Q")
1058 ("/e") ("yi") ("u'") ("u~")
1059 ("g'")
1060 ("/d") ("/ch")
1061 ("/g") ("/s") ("/k")
1062 ("/i") ("/j") ("/l") ("/n") ("/z")
1063 ("/E") ("YE") ("Yi") ("YI") ("U'") ("U~")
1064 ("G'")
1065 ("/D") ("/Ch") ("/CH")
1066 ("/G") ("/S") ("/K")
1067 ("/I") ("/J") ("/L") ("/N") ("/Z")
1069 ;; Combining accents as a separate character
1070 ("//'") ("//`")
1072 ;; In the following two rules the accent is not a separate character
1073 ("i`") ("I`")
1075 ("/-" ?–) ;; EN DASH
1076 ("/--" ?—) ;; EM DASH
1077 ("/*" ?•) ;; BULLET
1078 ("/." ?․) ;; ONE DOT LEADER
1079 ("/.." ?‥) ;; TWO DOT LEADER
1080 ("/..." ?…) ;; HORIZONTAL ELLIPSIS
1081 ("/,," ?„) ;; DOUBLE LOW-9 QUOTATION MARK
1082 ("/," ?‚) ;; SINGLE LOW-9 QUOTATION MARK
1083 ("/''" ?”) ;; RIGHT DOUBLE QUOTATION MARK
1084 ("/'" ?’) ;; RIGHT SINGLE QUOTATION MARK
1085 ("/``" ?“) ;; LEFT DOUBLE QUOTATION MARK
1086 ("/`" ?‘) ;; LEFT SINGLE QUOTATION MARK
1087 ("/<<") ;; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
1088 ("/>>") ;; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
1090 ("/&")
1091 ("/ab") ; _аб_зац
1092 ("/pa") ; _pa_ragraph
1093 ("/#" ?№)
1094 ("/no" ?№) ; _но_мер
1096 ("/c")
1097 ("/tm" ?™)
1098 ("/reg")
1099 ("/eu" ?€)
1100 ("/ce")
1102 ;; fractions
1103 ("/78" ?⅞)
1104 ("/58" ?⅝)
1105 ("/38" ?⅜)
1106 ("/18" ?⅛)
1107 ("/56" ?⅚)
1108 ("/16" ?⅙)
1109 ("/45" ?⅘)
1110 ("/35" ?⅗)
1111 ("/25" ?⅖)
1112 ("/15" ?⅕)
1113 ("/23" ?⅔)
1114 ("/13" ?⅓)
1115 ("/34")
1116 ("/12")
1117 ("/14")
1119 ;; Roman numerals, commonly used for months and section/subsection numbers
1120 ("/RI" ?Ⅰ)
1121 ("/RII" ?Ⅱ)
1122 ("/RIII" ?Ⅲ)
1123 ("/RIV" ?Ⅳ)
1124 ("/RV" ?Ⅴ)
1125 ("/RVI" ?Ⅵ)
1126 ("/RVII" ?Ⅶ)
1127 ("/RVIII" ?Ⅷ)
1128 ("/RIX" ?Ⅸ)
1129 ("/RX" ?Ⅹ)
1130 ("/RXI" ?Ⅺ)
1131 ("/RXII" ?Ⅻ)
1133 ("/ri" ?ⅰ)
1134 ("/rii" ?ⅱ)
1135 ("/riii" ?ⅲ)
1136 ("/riv" ?ⅳ)
1137 ("/rv" ?ⅴ)
1138 ("/rvi" ?ⅵ)
1139 ("/rvii" ?ⅶ)
1140 ("/rviii" ?ⅷ)
1141 ("/rix" ?ⅸ)
1142 ("/rx" ?ⅹ)
1143 ("/rxi" ?ⅺ)
1144 ("/rxii" ?ⅻ)
1147 ;; Originally from Yudit's `Belarusian input table according to
1148 ;; STB955-94 belarusian standard' (not all) by Alexander Mikhailian
1149 ;; <mikhailian@altern.org>, subsequently amended by AM.
1150 (quail-define-package
1151 "belarusian" "Belarusian" "BE" nil
1152 "ЙЦУКЕН keyboard layout registered as STB955-94 Belarusian standard.
1153 Unicode based."
1154 nil t t t t nil nil nil nil nil t)
1156 ;; ёЁ 1! 2" 3N 4; 5% 6: 7? 8* 9( 0) -_ =+
1157 ;; Й Ц У К Е Н Г Ш Ў З Х '
1158 ;; Ф Ы В А П Р О Л Д Ж Э
1159 ;; Я Ч С М І Т Ь Б Ю .,
1161 (quail-define-rules
1162 ("~")
1163 ("@" ?\")
1164 ("#" ?№)
1165 ("$" ?\;)
1166 ("%" ?%)
1167 ("^" ?:)
1168 ("&" ??)
1169 ("Q")
1170 ("W")
1171 ("E")
1172 ("R")
1173 ("T")
1174 ("Y")
1175 ("U")
1176 ("I")
1177 ("O")
1178 ("P")
1179 ("{")
1180 ("}" ?')
1181 ("A")
1182 ("S")
1183 ("D")
1184 ("F")
1185 ("G")
1186 ("H")
1187 ("J")
1188 ("K")
1189 ("L")
1190 (":")
1191 ("\"")
1192 ("|" ?|)
1193 ("Z")
1194 ("X")
1195 ("C")
1196 ("V")
1197 ("B")
1198 ("N")
1199 ("M")
1200 ("<")
1201 (">")
1202 ("?" ?,)
1204 ("`")
1205 ("q")
1206 ("w")
1207 ("e")
1208 ("r")
1209 ("t")
1210 ("y")
1211 ("u")
1212 ("i")
1213 ("o")
1214 ("p")
1215 ("[")
1216 ("]" ?')
1217 ("a")
1218 ("s")
1219 ("d")
1220 ("f")
1221 ("g" ?п)
1222 ("h")
1223 ("j")
1224 ("k")
1225 ("l")
1226 (";")
1227 ("'")
1228 ("z")
1229 ("x")
1230 ("c")
1231 ("v")
1232 ("b")
1233 ("n")
1234 ("m")
1235 (",")
1236 (".")
1237 ("/" ?.))
1239 (quail-define-package
1240 "bulgarian-alt-phonetic" "Bulgarian" "БНФ"
1242 "Bulgarian alternative Phonetic keyboard layout, producing Unicode.
1244 This phonetic layout replaces all the Latin letters with Bulgarian
1245 \(Cyrillic) letters based on similarities in their pronunciation or look.
1247 Note that, since the letters 'щ', 'ь', 'ю' and 'я' are attached to the
1248 ']', '\', '`' and '[' keys respectively, Caps Lock does not affect them."
1249 nil t t t t nil nil nil nil nil t)
1251 ;; Ю 1! 2@ 3№ 4$ 5% 6€ 7§ 8* 9( 0) -– =+ ьѝ
1252 ;; Ч Ш Е Р Т Ъ У И О П Я Щ
1253 ;; А С Д Ф Г Х Й К Л :; '"
1254 ;; З Ж Ц В Б Н М ,„ .“ /?
1256 (quail-define-rules
1257 ("#" ?№)
1258 ("&")
1259 ("/#" ?#)
1260 ("/&" ?&)
1261 ("/<" ?<)
1262 ("/>" ?>)
1263 ("/[" ?\[)
1264 ("/\\" ?\\)
1265 ("/]" ?\])
1266 ("/^" ?^)
1267 ("/_" ?_)
1268 ("/`" ?`)
1269 ("/{" ?{)
1270 ("/|" ?|)
1271 ("/}" ?})
1272 ("/~" ?~)
1273 ("<" ?„)
1274 (">" ?“)
1275 ("A") ("a")
1276 ("B") ("b")
1277 ("C") ("c")
1278 ("D") ("d")
1279 ("E") ("e")
1280 ("F") ("f")
1281 ("G") ("g")
1282 ("H") ("h")
1283 ("I") ("i")
1284 ("J") ("j")
1285 ("K") ("k")
1286 ("L") ("l")
1287 ("M") ("m")
1288 ("N") ("n")
1289 ("O") ("o")
1290 ("P") ("p" ?п)
1291 ("Q") ("q")
1292 ("R") ("r")
1293 ("S") ("s")
1294 ("T") ("t")
1295 ("U") ("u")
1296 ("V") ("v")
1297 ("W") ("w")
1298 ("X") ("x")
1299 ("Y") ("y")
1300 ("Z") ("z")
1301 ("[")
1302 ("\\")
1303 ("]")
1304 ("^" ?€)
1305 ("_" ?–)
1306 ("`")
1307 ("{")
1308 ("|")
1309 ("}")
1310 ("~"))
1312 ;; From `Bulgarian-PHO.kmap for Yudit', Alexander Shopov
1313 ;; <al_shopov@web.bg>.
1315 ;; Extra commentary and the indicator from an independent
1316 ;; (cyrillic-iso8859-5) implementation by Ognyan Kulev
1317 ;; <ogi@fmi.uni-sofia.bg> and name changes from Anton Zinoviev
1318 ;; <anton@lml.bas.bg>.
1319 (quail-define-package
1320 "bulgarian-phonetic" "Bulgarian" "ЖБФ"
1322 "Bulgarian Phonetic keyboard layout, producing Unicode.
1324 The layout is similar to `cyrillic-translit', but all Bulgarian
1325 characters are typed with a single key.
1327 Use /& for § (Cyrillic paragraph) and /# for №.
1329 The letters Ч, Ш, Щ and Ю are not affected by Caps Lock."
1330 nil t t t t nil nil nil nil nil t)
1332 ;; Ч
1333 ;; Я В Е Р Т Ъ У И О П Ш Щ
1334 ;; А С Д Ф Г Х Й К Л Ю
1335 ;; З Ь Ц Ж Б Н М
1337 (quail-define-rules
1338 ("/&")
1339 ("/#" ?№)
1340 ("A")
1341 ("B")
1342 ("W")
1343 ("G")
1344 ("D")
1345 ("E")
1346 ("V")
1347 ("Z")
1348 ("I")
1349 ("J")
1350 ("K")
1351 ("L")
1352 ("M")
1353 ("N")
1354 ("O")
1355 ("P")
1356 ("R")
1357 ("S")
1358 ("T")
1359 ("U")
1360 ("F")
1361 ("H")
1362 ("C")
1363 ("~")
1364 ("{")
1365 ("}")
1366 ("Y")
1367 ("X")
1368 ("|")
1369 ("Q")
1370 ("a")
1371 ("b")
1372 ("w")
1373 ("g")
1374 ("d")
1375 ("e")
1376 ("v")
1377 ("z")
1378 ("i")
1379 ("j")
1380 ("k")
1381 ("l")
1382 ("m")
1383 ("n")
1384 ("o")
1385 ("p" ?п)
1386 ("r")
1387 ("s")
1388 ("t")
1389 ("u")
1390 ("f")
1391 ("h")
1392 ("c")
1393 ("`")
1394 ("[")
1395 ("]")
1396 ("y")
1397 ("x")
1398 ("\\")
1399 ("q"))
1401 ;; Based on an implementation by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
1402 ;; This follows XKB bg.
1404 (quail-define-package
1405 "bulgarian-bds" "Bulgarian" "БДС" nil
1406 "Bulgarian standard keyboard layout (BDS)
1408 This keyboard layout is standard for Bulgarian typewriters.
1410 The letters Ц, М, Ч, Р, Л, Б and Ы are not affected by Caps Lock.
1412 In addition to original Bulgarian typewriter layout, keys \\ and |
1413 are transformed into ' and Ы respectively. Some keyboards mark these
1414 keys as being transformed into ( and ) respectively. For ( and ), use
1415 ` and ~ respectively. This input method follows XKB."
1416 nil t t t t nil nil nil nil nil t)
1418 ;; () 1! 2? 3+ 4" 5% 6= 7: 8/ 9_ 0№ -I .V
1419 ;; ,ы У Е И Ш Щ К С Д З Ц ;§
1420 ;; Ь Я А О Ж Г Т Н В М Ч 'Ы
1421 ;; Ю Й Ъ Э Ф Х П Р Л Б
1423 (quail-define-rules
1425 ("1" ?1) ("!" ?!)
1426 ("2" ?2) ("@" ??)
1427 ("3" ?3) ("#" ?+)
1428 ("4" ?4) ("$" ?\")
1429 ("5" ?5) ("%" ?%)
1430 ("6" ?6) ("^" ?=)
1431 ("7" ?7) ("&" ?:)
1432 ("8" ?8) ("*" ?/)
1433 ("9" ?9) ("(" ?_)
1434 ("0" ?0) (")" ?№)
1435 ("-" ?-) ("_" ?I)
1436 ("=" ?.) ("+" ?V)
1438 ("q" ?,) ("Q")
1439 ("w") ("W")
1440 ("e") ("E")
1441 ("r") ("R")
1442 ("t") ("T")
1443 ("y") ("Y")
1444 ("u") ("U")
1445 ("i") ("I")
1446 ("o") ("O")
1447 ("p") ("P")
1448 ("[") ("{")
1449 ("]" ?\;) ("}" ?§)
1451 ("a") ("A")
1452 ("s") ("S")
1453 ("d") ("D")
1454 ("f") ("F")
1455 ("g") ("G")
1456 ("h") ("H")
1457 ("j") ("J")
1458 ("k") ("K")
1459 ("l") ("L")
1460 (";") (":")
1461 ("'") ("\"")
1462 ("`" ?\() ("~" ?\))
1464 ("z") ("Z")
1465 ("x") ("X")
1466 ("c") ("C")
1467 ("v") ("V")
1468 ("b") ("B")
1469 ("n") ("N")
1470 ("m" ?п) ("M")
1471 (",") ("<")
1472 (".") (">")
1473 ("/") ("?")
1474 ("\\" ?') ("|"))
1476 ;; Local Variables:
1477 ;; coding: utf-8
1478 ;; End:
1480 ;;; cyrillic.el ends here