1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8;-*-
3 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4 ;; 2006, 2007, 2008, 2009, 2010, 2011
5 ;; Free Software Foundation, Inc.
6 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
7 ;; 2006, 2007, 2008, 2009, 2010, 2011
8 ;; National Institute of Advanced Industrial Science and Technology (AIST)
9 ;; Registration Number H14PRO021
11 ;; Keywords: mule, multilingual, latin, input method
13 ;; This file is part of GNU Emacs.
15 ;; GNU Emacs is free software: you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation, either version 3 of the License, or
18 ;; (at your option) any later version.
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
30 ;; Key translation maps were originally copied from iso-acc.el.
31 ;; latin-1-prefix: extra special characters added, adapted from the vim
32 ;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
33 ;; by R.F. Smith <rsmith@xs4all.nl>
36 ;; Author: Włodek Bzyl <matwb@univ.gda.pl>
37 ;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl>
39 ;; latin-[89]-prefix: Dave Love <fx@gnu.org>
41 ;; You might make extra input sequences on the basis of the X
42 ;; locale/*/Compose files (which have both prefix and postfix
43 ;; sequences), but bear in mind that sequences which are logical in
44 ;; that context may not be sensible when they're not signaled with
45 ;; the Compose key. An example is a double space for NBSP.
52 "latin-1-prefix" "Latin-1" "1>" t
53 "Latin-1 characters input method with prefix modifiers
55 effect | prefix | examples
56 ------------+--------+----------
57 acute | ' | 'a -> á, '' -> ´
59 circumflex | ^ | ^a -> â
60 diaeresis | \" | \"a -> ä \"\" -> ¨
63 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
64 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
65 | ~ | ~s -> § ~x -> ¤ ~. -> · ~$ -> £ ~u -> µ
66 | ~ | ~p -> ¶ ~- -> ~= -> ¯ ~| -> ¦
67 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
68 | _ / | _: -> ÷ /c -> ¢ /2 -> ½ /4 -> ¼ /3 -> ¾
70 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
71 " nil t nil nil nil nil nil nil nil nil t
)
155 ;; Symbols added by Roland Smith <rsmith@xs4all.nl>
182 (quail-define-package
183 "catalan-prefix" "Latin-1" "CA>" t
184 "Catalan and Spanish input method with prefix modifiers
186 effect | prefix | examples
187 ------------+--------+----------
188 acute | ' | 'a -> á '' -> ´
190 diaeresis | \" | \"i -> ï \"\" -> ¨
192 cedilla | ~ | ~c -> ç
193 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
194 " nil t nil nil nil nil nil nil nil nil t
)
231 (quail-define-package
232 "esperanto-prefix" "Latin-3" "EO>" t
233 "Esperanto input method with prefix modifiers
234 Key translation rules are:
235 ^H -> ?Ĥ ^J -> ?Ĵ ^h -> ?ĥ ^j -> ?ĵ ^C -> ?Ĉ ^G -> ?Ĝ,
236 ^S -> ?Ŝ ^c -> ?ĉ ^g -> ?ĝ ^s -> ?ŝ ~U -> ?Ŭ ~u -> ?ŭ
237 " nil t nil nil nil nil nil nil nil nil t
)
257 (quail-define-package
258 "french-prefix" "French" "FR>" t
259 "French (Français) input method with prefix modifiers
261 effect | prefix | examples
262 ------------+--------+----------
265 circumflex | ^ | ^a -> â
266 diaeresis | \" | \"i -> ï
267 cedilla | ~ or , | ~c -> ç ,c -> ç
268 symbol | ~ | ~> -> » ~< -> «
269 " nil t nil nil nil nil nil nil nil nil t
)
310 (quail-define-package
311 "romanian-prefix" "Romanian" "RO>" t
312 "Romanian (româneşte) input method with prefix modifiers
314 effect | prefix | examples
315 ------------+--------+------------------
317 circumflex | ^ | ^a -> â, ^i -> î
318 cedilla | , | ,s -> ş, ,t -> ţ
322 " nil t nil nil nil nil nil nil nil nil t
)
330 ("^^" ?^
) ("~~" ?~
) (",," ?
,))
332 (quail-define-package
333 "romanian-alt-prefix" "Romanian" "RO>" t
334 "Alternative Romanian (româneşte) input method with prefix modifiers
336 effect | prefix | examples
337 ------------+--------+------------------
338 tilde | \" | \"a -> â
339 circumflex | ' | 'a -> â, 'i -> î
340 cedilla | ' | 's -> ş, 't -> ţ
343 " nil t nil nil nil nil nil nil nil nil t
)
347 ("\"A" ?Â
) ("\"a" ?â
)
351 ("''" ?
') ("\"\"" ?
\"))
353 (quail-define-package
354 "german-prefix" "German" "DE>" t
355 "German (Deutsch) input method with prefix modifiers
356 Key translation rules are:
357 \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ß
358 " nil t nil nil nil nil nil nil nil nil t
)
371 (quail-define-package
372 "irish-prefix" "Latin-1" "GA>" t
373 "Irish input method with prefix modifiers
374 Key translation rules are:
375 'A -> Á 'E -> É 'I -> Í 'O -> Ó 'U -> Ú
376 " nil t nil nil nil nil nil nil nil nil t
)
392 (quail-define-package
393 "portuguese-prefix" "Latin-1" "PT>" t
394 "Portuguese input method with prefix modifiers
396 effect | prefix | examples
397 ------------+--------+----------
398 acute | ' | 'a -> á '' -> ´
400 circumflex | ^ | ^a -> â
401 diaeresis | \" | \"u -> ü
403 cedilla | ' or , | 'c -> ç ,c -> ç
404 " nil t nil nil nil nil nil nil nil nil t
)
443 (quail-define-package
444 "spanish-prefix" "Spanish" "ES>" t
445 "Spanish (Español) input method with prefix modifiers
447 effect | prefix | examples
448 ------------+--------+----------
450 diaeresis | \" | \"u -> ü
452 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
453 " nil t nil nil nil nil nil nil nil nil t
)
479 (quail-define-package
480 "latin-2-prefix" "Latin-2" "2>" t
481 "Latin-2 characters input method with prefix modifiers
483 effect | prefix | examples
484 ------------+--------+----------
485 acute | ' | 'a -> á '' -> ?´
486 circumflex | ^ | ^a -> â
487 diaeresis | \" | \"a -> ä \"\" -> ¨
490 cedilla | ` | `c -> ç `e -> ?ę
491 misc | ' ` ~ | 'd -> đ `l -> ł `z -> ż ~o -> ő ~u -> ű
492 symbol | ~ | `. -> ˙ ~~ -> ˘ ~. -> ?¸
493 " nil t nil nil nil nil nil nil nil nil t
)
590 (quail-define-package
591 "latin-3-prefix" "Latin-3" "3>" t
592 "Latin-3 characters input method with prefix modifiers
594 effect | prefix | examples
595 ------------+--------+----------
596 acute | ' | 'a -> á '' -> ?´
598 circumflex | ^ | ^a -> â
599 diaeresis | \" | \"a -> ä \"\" -> ¨
600 cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
601 dot above | / . | /g -> ġ .o -> ġ
602 misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
603 symbol | ~ | ~` -> ˘ /# -> £ /$ -> ¤ // -> °
604 " nil t nil nil nil nil nil nil nil nil t
)
704 (quail-define-package
705 "polish-slash" "Polish" "PL>" nil
706 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
707 For example, the character named `aogonek' is obtained by `/a'."
708 nil t t t nil nil nil nil nil nil t
)
731 (quail-define-package
732 "latin-9-prefix" "Latin-9" "0>" t
733 "Latin-9 characters input method with prefix modifiers
735 effect | prefix | examples
736 ------------+--------+----------
739 circumflex | ^ | ^a -> â
740 diaeresis | \" | \"a -> ä, \"Y -> Ÿ
743 cedilla | ~ | ~c -> ç
744 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
746 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
747 | ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
748 | ~ | ~- -> ~= -> ¯
749 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
750 | _ / | _: -> ÷ /c -> ¢ ~p -> ¶
752 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
753 " nil t nil nil nil nil nil nil nil nil t
)
844 ("/o" ?œ
) ; clash with ø, but æ uses /
849 ;; Is this the best option for Euro entry?
863 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
866 (quail-define-package
867 "latin-8-prefix" "Latin-8" "8>" t
868 "Latin-8 characters input method with prefix modifiers
870 effect | prefix | examples
871 ------------+--------+----------
874 circumflex | ^ | ^w -> ŵ
875 diaeresis | \" | \"a -> ä
876 dot above | . | .b -> ḃ
878 cedilla | ~ | ~c -> ç
879 misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
880 | ~ | ~s -> § ~$ -> £ ~p -> ¶
881 symbol | ^ | ^r -> ® ^c -> ©
882 " nil t nil nil nil nil nil nil nil nil t
)
884 ;; Basically following Latin-1, plus dottiness from Latin-3.
989 (quail-define-package
990 "latin-prefix" "Latin" "L>" t
991 "Latin characters input method with prefix modifiers.
992 This is the union of various input methods originally made for input
993 of characters from a single Latin-N charset.
995 effect | prefix | examples
996 ------------+--------+----------
997 acute | ' | 'a -> á, '' -> ´
999 circumflex | ^ | ^a -> â
1000 diaeresis | \" | \"a -> ä \"\" -> ¨
1002 cedilla | ~ | ~c -> ç
1005 dot above | ~ / . | ~o -> ġ /o -> ġ .o -> ġ
1006 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
1007 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
1008 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
1009 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
1010 " nil t nil nil nil nil nil nil nil nil t
)
1192 ;;; latin-pre.el ends here