1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8;-*-
3 ;; Copyright (C) 1997-2011
4 ;; Free Software Foundation, Inc.
5 ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
6 ;; 2006, 2007, 2008, 2009, 2010, 2011
7 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8 ;; Registration Number H14PRO021
10 ;; Keywords: mule, multilingual, latin, input method
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/>.
29 ;; Key translation maps were originally copied from iso-acc.el.
30 ;; latin-1-prefix: extra special characters added, adapted from the vim
31 ;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
32 ;; by R.F. Smith <rsmith@xs4all.nl>
35 ;; Author: Włodek Bzyl <matwb@univ.gda.pl>
36 ;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl>
38 ;; latin-[89]-prefix: Dave Love <fx@gnu.org>
40 ;; You might make extra input sequences on the basis of the X
41 ;; locale/*/Compose files (which have both prefix and postfix
42 ;; sequences), but bear in mind that sequences which are logical in
43 ;; that context may not be sensible when they're not signaled with
44 ;; the Compose key. An example is a double space for NBSP.
51 "latin-1-prefix" "Latin-1" "1>" t
52 "Latin-1 characters input method with prefix modifiers
54 effect | prefix | examples
55 ------------+--------+----------
56 acute | ' | 'a -> á, '' -> ´
58 circumflex | ^ | ^a -> â
59 diaeresis | \" | \"a -> ä \"\" -> ¨
62 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
63 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
64 | ~ | ~s -> § ~x -> ¤ ~. -> · ~$ -> £ ~u -> µ
65 | ~ | ~p -> ¶ ~- -> ~= -> ¯ ~| -> ¦
66 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
67 | _ / | _: -> ÷ /c -> ¢ /2 -> ½ /4 -> ¼ /3 -> ¾
69 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
70 " nil t nil nil nil nil nil nil nil nil t)
154 ;; Symbols added by Roland Smith <rsmith@xs4all.nl>
181 (quail-define-package
182 "catalan-prefix" "Latin-1" "CA>" t
183 "Catalan and Spanish input method with prefix modifiers
185 effect | prefix | examples
186 ------------+--------+----------
187 acute | ' | 'a -> á '' -> ´
189 diaeresis | \" | \"i -> ï \"\" -> ¨
191 cedilla | ~ | ~c -> ç
192 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
193 " nil t nil nil nil nil nil nil nil nil t)
230 (quail-define-package
231 "esperanto-prefix" "Latin-3" "EO>" t
232 "Esperanto input method with prefix modifiers
233 Key translation rules are:
234 ^H -> ?Ĥ ^J -> ?Ĵ ^h -> ?ĥ ^j -> ?ĵ ^C -> ?Ĉ ^G -> ?Ĝ,
235 ^S -> ?Ŝ ^c -> ?ĉ ^g -> ?ĝ ^s -> ?ŝ ~U -> ?Ŭ ~u -> ?ŭ
236 " nil t nil nil nil nil nil nil nil nil t)
256 (quail-define-package
257 "french-prefix" "French" "FR>" t
258 "French (Français) input method with prefix modifiers
260 effect | prefix | examples
261 ------------+--------+----------
264 circumflex | ^ | ^a -> â
265 diaeresis | \" | \"i -> ï
266 cedilla | ~ or , | ~c -> ç ,c -> ç
267 symbol | ~ | ~> -> » ~< -> «
268 " nil t nil nil nil nil nil nil nil nil t)
309 (quail-define-package
310 "romanian-prefix" "Romanian" "RO>" t
311 "Romanian (româneşte) input method with prefix modifiers
313 effect | prefix | examples
314 ------------+--------+------------------
316 circumflex | ^ | ^a -> â, ^i -> î
317 cedilla | , | ,s -> ş, ,t -> ţ
321 " nil t nil nil nil nil nil nil nil nil t)
329 ("^^" ?^) ("~~" ?~) (",," ?,))
331 (quail-define-package
332 "romanian-alt-prefix" "Romanian" "RO>" t
333 "Alternative Romanian (româneşte) input method with prefix modifiers
335 effect | prefix | examples
336 ------------+--------+------------------
337 tilde | \" | \"a -> â
338 circumflex | ' | 'a -> â, 'i -> î
339 cedilla | ' | 's -> ş, 't -> ţ
342 " nil t nil nil nil nil nil nil nil nil t)
346 ("\"A" ?Â) ("\"a" ?â)
350 ("''" ?') ("\"\"" ?\"))
352 (quail-define-package
353 "german-prefix" "German" "DE>" t
354 "German (Deutsch) input method with prefix modifiers
355 Key translation rules are:
356 \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ß
357 " nil t nil nil nil nil nil nil nil nil t)
370 (quail-define-package
371 "irish-prefix" "Latin-1" "GA>" t
372 "Irish input method with prefix modifiers
373 Key translation rules are:
374 'A -> Á 'E -> É 'I -> Í 'O -> Ó 'U -> Ú
375 " nil t nil nil nil nil nil nil nil nil t)
391 (quail-define-package
392 "portuguese-prefix" "Latin-1" "PT>" t
393 "Portuguese input method with prefix modifiers
395 effect | prefix | examples
396 ------------+--------+----------
397 acute | ' | 'a -> á '' -> ´
399 circumflex | ^ | ^a -> â
400 diaeresis | \" | \"u -> ü
402 cedilla | ' or , | 'c -> ç ,c -> ç
403 " nil t nil nil nil nil nil nil nil nil t)
442 (quail-define-package
443 "spanish-prefix" "Spanish" "ES>" t
444 "Spanish (Español) input method with prefix modifiers
446 effect | prefix | examples
447 ------------+--------+----------
449 diaeresis | \" | \"u -> ü
451 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
452 " nil t nil nil nil nil nil nil nil nil t)
478 (quail-define-package
479 "latin-2-prefix" "Latin-2" "2>" t
480 "Latin-2 characters input method with prefix modifiers
482 effect | prefix | examples
483 ------------+--------+----------
484 acute | ' | 'a -> á '' -> ?´
485 circumflex | ^ | ^a -> â
486 diaeresis | \" | \"a -> ä \"\" -> ¨
489 cedilla | ` | `c -> ç `e -> ?ę
490 misc | ' ` ~ | 'd -> đ `l -> ł `z -> ż ~o -> ő ~u -> ű
491 symbol | ~ | `. -> ˙ ~~ -> ˘ ~. -> ?¸
492 " nil t nil nil nil nil nil nil nil nil t)
589 (quail-define-package
590 "latin-3-prefix" "Latin-3" "3>" t
591 "Latin-3 characters input method with prefix modifiers
593 effect | prefix | examples
594 ------------+--------+----------
595 acute | ' | 'a -> á '' -> ?´
597 circumflex | ^ | ^a -> â
598 diaeresis | \" | \"a -> ä \"\" -> ¨
599 cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
600 dot above | / . | /g -> ġ .o -> ġ
601 misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
602 symbol | ~ | ~` -> ˘ /# -> £ /$ -> ¤ // -> °
603 " nil t nil nil nil nil nil nil nil nil t)
703 (quail-define-package
704 "polish-slash" "Polish" "PL>" nil
705 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
706 For example, the character named `aogonek' is obtained by `/a'."
707 nil t t t nil nil nil nil nil nil t)
730 (quail-define-package
731 "latin-9-prefix" "Latin-9" "0>" t
732 "Latin-9 characters input method with prefix modifiers
734 effect | prefix | examples
735 ------------+--------+----------
738 circumflex | ^ | ^a -> â
739 diaeresis | \" | \"a -> ä, \"Y -> Ÿ
742 cedilla | ~ | ~c -> ç
743 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
745 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
746 | ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
747 | ~ | ~- -> ~= -> ¯
748 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
749 | _ / | _: -> ÷ /c -> ¢ ~p -> ¶
751 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
752 " nil t nil nil nil nil nil nil nil nil t)
843 ("/o" ?œ) ; clash with ø, but æ uses /
848 ;; Is this the best option for Euro entry?
862 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
865 (quail-define-package
866 "latin-8-prefix" "Latin-8" "8>" t
867 "Latin-8 characters input method with prefix modifiers
869 effect | prefix | examples
870 ------------+--------+----------
873 circumflex | ^ | ^w -> ŵ
874 diaeresis | \" | \"a -> ä
875 dot above | . | .b -> ḃ
877 cedilla | ~ | ~c -> ç
878 misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
879 | ~ | ~s -> § ~$ -> £ ~p -> ¶
880 symbol | ^ | ^r -> ® ^c -> ©
881 " nil t nil nil nil nil nil nil nil nil t)
883 ;; Basically following Latin-1, plus dottiness from Latin-3.
988 (quail-define-package
989 "latin-prefix" "Latin" "L>" t
990 "Latin characters input method with prefix modifiers.
991 This is the union of various input methods originally made for input
992 of characters from a single Latin-N charset.
994 effect | prefix | examples
995 ------------+--------+----------
996 acute | ' | 'a -> á, '' -> ´
998 circumflex | ^ | ^a -> â
999 diaeresis | \" | \"a -> ä \"\" -> ¨
1001 cedilla | ~ | ~c -> ç
1004 dot above | ~ / . | ~o -> ġ /o -> ġ .o -> ġ
1005 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
1006 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
1007 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
1008 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
1009 " nil t nil nil nil nil nil nil nil nil t)
1191 ;;; latin-pre.el ends here