1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8;-*-
3 ;; Copyright (C) 1997-2011 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 ;; Keywords: mule, multilingual, latin, input method
11 ;; This file is part of GNU Emacs.
13 ;; GNU Emacs is free software: you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation, either version 3 of the License, or
16 ;; (at your option) any later version.
18 ;; GNU Emacs is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;; GNU General Public License for more details.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
28 ;; Key translation maps were originally copied from iso-acc.el.
29 ;; latin-1-prefix: extra special characters added, adapted from the vim
30 ;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
31 ;; by R.F. Smith <rsmith@xs4all.nl>
34 ;; Author: Włodek Bzyl <matwb@univ.gda.pl>
35 ;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl>
37 ;; latin-[89]-prefix: Dave Love <fx@gnu.org>
39 ;; You might make extra input sequences on the basis of the X
40 ;; locale/*/Compose files (which have both prefix and postfix
41 ;; sequences), but bear in mind that sequences which are logical in
42 ;; that context may not be sensible when they're not signaled with
43 ;; the Compose key. An example is a double space for NBSP.
50 "latin-1-prefix" "Latin-1" "1>" t
51 "Latin-1 characters input method with prefix modifiers
53 effect | prefix | examples
54 ------------+--------+----------
55 acute | ' | 'a -> á, '' -> ´
57 circumflex | ^ | ^a -> â
58 diaeresis | \" | \"a -> ä \"\" -> ¨
61 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
62 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
63 | ~ | ~s -> § ~x -> ¤ ~. -> · ~$ -> £ ~u -> µ
64 | ~ | ~p -> ¶ ~- -> ~= -> ¯ ~| -> ¦
65 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
66 | _ / | _: -> ÷ /c -> ¢ /2 -> ½ /4 -> ¼ /3 -> ¾
68 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
69 " nil t nil nil nil nil nil nil nil nil t
)
153 ;; Symbols added by Roland Smith <rsmith@xs4all.nl>
180 (quail-define-package
181 "catalan-prefix" "Latin-1" "CA>" t
182 "Catalan and Spanish input method with prefix modifiers
184 effect | prefix | examples
185 ------------+--------+----------
186 acute | ' | 'a -> á '' -> ´
188 diaeresis | \" | \"i -> ï \"\" -> ¨
190 cedilla | ~ | ~c -> ç
191 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
192 " nil t nil nil nil nil nil nil nil nil t
)
229 (quail-define-package
230 "esperanto-prefix" "Latin-3" "EO>" t
231 "Esperanto input method with prefix modifiers
232 Key translation rules are:
233 ^H -> ?Ĥ ^J -> ?Ĵ ^h -> ?ĥ ^j -> ?ĵ ^C -> ?Ĉ ^G -> ?Ĝ,
234 ^S -> ?Ŝ ^c -> ?ĉ ^g -> ?ĝ ^s -> ?ŝ ~U -> ?Ŭ ~u -> ?ŭ
235 " nil t nil nil nil nil nil nil nil nil t
)
255 (quail-define-package
256 "french-prefix" "French" "FR>" t
257 "French (Français) input method with prefix modifiers
259 effect | prefix | examples
260 ------------+--------+----------
263 circumflex | ^ | ^a -> â
264 diaeresis | \" | \"i -> ï
265 cedilla | ~ or , | ~c -> ç ,c -> ç
266 symbol | ~ | ~> -> » ~< -> «
267 " nil t nil nil nil nil nil nil nil nil t
)
308 (quail-define-package
309 "romanian-prefix" "Romanian" "RO>" t
310 "Romanian (româneşte) input method with prefix modifiers
312 effect | prefix | examples
313 ------------+--------+------------------
315 circumflex | ^ | ^a -> â, ^i -> î
316 cedilla | , | ,s -> ş, ,t -> ţ
320 " nil t nil nil nil nil nil nil nil nil t
)
328 ("^^" ?^
) ("~~" ?~
) (",," ?
,))
330 (quail-define-package
331 "romanian-alt-prefix" "Romanian" "RO>" t
332 "Alternative Romanian (româneşte) input method with prefix modifiers
334 effect | prefix | examples
335 ------------+--------+------------------
336 tilde | \" | \"a -> â
337 circumflex | ' | 'a -> â, 'i -> î
338 cedilla | ' | 's -> ş, 't -> ţ
341 " nil t nil nil nil nil nil nil nil nil t
)
345 ("\"A" ?Â
) ("\"a" ?â
)
349 ("''" ?
') ("\"\"" ?
\"))
351 (quail-define-package
352 "german-prefix" "German" "DE>" t
353 "German (Deutsch) input method with prefix modifiers
354 Key translation rules are:
355 \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ß
356 " nil t nil nil nil nil nil nil nil nil t
)
369 (quail-define-package
370 "irish-prefix" "Latin-1" "GA>" t
371 "Irish input method with prefix modifiers
372 Key translation rules are:
373 'A -> Á 'E -> É 'I -> Í 'O -> Ó 'U -> Ú
374 " nil t nil nil nil nil nil nil nil nil t
)
390 (quail-define-package
391 "portuguese-prefix" "Latin-1" "PT>" t
392 "Portuguese input method with prefix modifiers
394 effect | prefix | examples
395 ------------+--------+----------
396 acute | ' | 'a -> á '' -> ´
398 circumflex | ^ | ^a -> â
399 diaeresis | \" | \"u -> ü
401 cedilla | ' or , | 'c -> ç ,c -> ç
402 " nil t nil nil nil nil nil nil nil nil t
)
441 (quail-define-package
442 "spanish-prefix" "Spanish" "ES>" t
443 "Spanish (Español) input method with prefix modifiers
445 effect | prefix | examples
446 ------------+--------+----------
448 diaeresis | \" | \"u -> ü
450 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
451 " nil t nil nil nil nil nil nil nil nil t
)
477 (quail-define-package
478 "latin-2-prefix" "Latin-2" "2>" t
479 "Latin-2 characters input method with prefix modifiers
481 effect | prefix | examples
482 ------------+--------+----------
483 acute | ' | 'a -> á '' -> ?´
484 circumflex | ^ | ^a -> â
485 diaeresis | \" | \"a -> ä \"\" -> ¨
488 cedilla | ` | `c -> ç `e -> ?ę
489 misc | ' ` ~ | 'd -> đ `l -> ł `z -> ż ~o -> ő ~u -> ű
490 symbol | ~ | `. -> ˙ ~~ -> ˘ ~. -> ?¸
491 " nil t nil nil nil nil nil nil nil nil t
)
588 (quail-define-package
589 "latin-3-prefix" "Latin-3" "3>" t
590 "Latin-3 characters input method with prefix modifiers
592 effect | prefix | examples
593 ------------+--------+----------
594 acute | ' | 'a -> á '' -> ?´
596 circumflex | ^ | ^a -> â
597 diaeresis | \" | \"a -> ä \"\" -> ¨
598 cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
599 dot above | / . | /g -> ġ .o -> ġ
600 misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
601 symbol | ~ | ~` -> ˘ /# -> £ /$ -> ¤ // -> °
602 " nil t nil nil nil nil nil nil nil nil t
)
702 (quail-define-package
703 "polish-slash" "Polish" "PL>" nil
704 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
705 For example, the character named `aogonek' is obtained by `/a'."
706 nil t t t nil nil nil nil nil nil t
)
729 (quail-define-package
730 "latin-9-prefix" "Latin-9" "0>" t
731 "Latin-9 characters input method with prefix modifiers
733 effect | prefix | examples
734 ------------+--------+----------
737 circumflex | ^ | ^a -> â
738 diaeresis | \" | \"a -> ä, \"Y -> Ÿ
741 cedilla | ~ | ~c -> ç
742 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
744 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
745 | ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
746 | ~ | ~- -> ~= -> ¯
747 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
748 | _ / | _: -> ÷ /c -> ¢ ~p -> ¶
750 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
751 " nil t nil nil nil nil nil nil nil nil t
)
842 ("/o" ?œ
) ; clash with ø, but æ uses /
847 ;; Is this the best option for Euro entry?
861 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
864 (quail-define-package
865 "latin-8-prefix" "Latin-8" "8>" t
866 "Latin-8 characters input method with prefix modifiers
868 effect | prefix | examples
869 ------------+--------+----------
872 circumflex | ^ | ^w -> ŵ
873 diaeresis | \" | \"a -> ä
874 dot above | . | .b -> ḃ
876 cedilla | ~ | ~c -> ç
877 misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
878 | ~ | ~s -> § ~$ -> £ ~p -> ¶
879 symbol | ^ | ^r -> ® ^c -> ©
880 " nil t nil nil nil nil nil nil nil nil t
)
882 ;; Basically following Latin-1, plus dottiness from Latin-3.
987 (quail-define-package
988 "latin-prefix" "Latin" "L>" t
989 "Latin characters input method with prefix modifiers.
990 This is the union of various input methods originally made for input
991 of characters from a single Latin-N charset.
993 effect | prefix | examples
994 ------------+--------+----------
995 acute | ' | 'a -> á, '' -> ´
997 circumflex | ^ | ^a -> â
998 diaeresis | \" | \"a -> ä \"\" -> ¨
1000 cedilla | ~ | ~c -> ç
1003 dot above | ~ / . | ~o -> ġ /o -> ġ .o -> ġ
1004 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
1005 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
1006 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
1007 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
1008 " nil t nil nil nil nil nil nil nil nil t
)
1190 ;;; latin-pre.el ends here