1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8;-*-
3 ;; Copyright (C) 1997-2015 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 | ~ | ~> -> » ~< -> «
268 " nil t nil nil nil nil nil nil nil nil t
)
312 (quail-define-package
313 "romanian-prefix" "Romanian" "RO>" t
314 "Romanian (româneşte) input method with prefix modifiers
316 effect | prefix | examples
317 ------------+--------+------------------
319 circumflex | ^ | ^a -> â, ^i -> î
320 cedilla | , | ,s -> ş, ,t -> ţ
324 " nil t nil nil nil nil nil nil nil nil t
)
332 ("^^" ?^
) ("~~" ?~
) (",," ?
,))
334 (quail-define-package
335 "romanian-alt-prefix" "Romanian" "RO>" t
336 "Alternative Romanian (româneşte) input method with prefix modifiers
338 effect | prefix | examples
339 ------------+--------+------------------
340 tilde | \" | \"a -> â
341 circumflex | ' | 'a -> â, 'i -> î
342 cedilla | ' | 's -> ş, 't -> ţ
345 " nil t nil nil nil nil nil nil nil nil t
)
349 ("\"A" ?Â
) ("\"a" ?â
)
353 ("''" ?
') ("\"\"" ?
\"))
355 (quail-define-package
356 "german-prefix" "German" "DE>" t
357 "German (Deutsch) input method with prefix modifiers
358 Key translation rules are:
359 \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ß
360 " nil t nil nil nil nil nil nil nil nil t
)
373 (quail-define-package
374 "irish-prefix" "Latin-1" "GA>" t
375 "Irish input method with prefix modifiers
376 Key translation rules are:
377 'A -> Á 'E -> É 'I -> Í 'O -> Ó 'U -> Ú
378 " nil t nil nil nil nil nil nil nil nil t
)
394 (quail-define-package
395 "portuguese-prefix" "Latin-1" "PT>" t
396 "Portuguese input method with prefix modifiers
398 effect | prefix | examples
399 ------------+--------+----------
400 acute | ' | 'a -> á '' -> ´
402 circumflex | ^ | ^a -> â
403 diaeresis | \" | \"u -> ü
405 cedilla | ' or , | 'c -> ç ,c -> ç
406 " nil t nil nil nil nil nil nil nil nil t
)
445 (quail-define-package
446 "spanish-prefix" "Spanish" "ES>" t
447 "Spanish (Español) input method with prefix modifiers
449 effect | prefix | examples
450 ------------+--------+----------
452 diaeresis | \" | \"u -> ü
454 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
455 " nil t nil nil nil nil nil nil nil nil t
)
481 (quail-define-package
482 "latin-2-prefix" "Latin-2" "2>" t
483 "Latin-2 characters input method with prefix modifiers
485 effect | prefix | examples
486 ------------+--------+----------
487 acute | ' | 'a -> á '' -> ?´
488 circumflex | ^ | ^a -> â
489 diaeresis | \" | \"a -> ä \"\" -> ¨
492 cedilla | ` | `c -> ç `e -> ?ę
493 misc | ' ` ~ | 'd -> đ `l -> ł `z -> ż ~o -> ő ~u -> ű
494 symbol | ~ | `. -> ˙ ~~ -> ˘ ~. -> ?¸
495 " nil t nil nil nil nil nil nil nil nil t
)
592 (quail-define-package
593 "latin-3-prefix" "Latin-3" "3>" t
594 "Latin-3 characters input method with prefix modifiers
596 effect | prefix | examples
597 ------------+--------+----------
598 acute | ' | 'a -> á '' -> ?´
600 circumflex | ^ | ^a -> â
601 diaeresis | \" | \"a -> ä \"\" -> ¨
602 cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
603 dot above | / . | /g -> ġ .o -> ġ
604 misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
605 symbol | ~ | ~` -> ˘ /# -> £ /$ -> ¤ // -> °
606 " nil t nil nil nil nil nil nil nil nil t
)
706 (quail-define-package
707 "polish-slash" "Polish" "PL>" nil
708 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
709 For example, the character named `aogonek' is obtained by `/a'."
710 nil t t t nil nil nil nil nil nil t
)
733 (quail-define-package
734 "latin-9-prefix" "Latin-9" "0>" t
735 "Latin-9 characters input method with prefix modifiers
737 effect | prefix | examples
738 ------------+--------+----------
741 circumflex | ^ | ^a -> â
742 diaeresis | \" | \"a -> ä, \"Y -> Ÿ
745 cedilla | ~ | ~c -> ç
746 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
748 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
749 | ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
750 | ~ | ~- -> ~= -> ¯
751 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
752 | _ / | _: -> ÷ /c -> ¢ ~p -> ¶
754 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
755 " nil t nil nil nil nil nil nil nil nil t
)
846 ("/o" ?œ
) ; clash with ø, but æ uses /
851 ;; Is this the best option for Euro entry?
865 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
868 (quail-define-package
869 "latin-8-prefix" "Latin-8" "8>" t
870 "Latin-8 characters input method with prefix modifiers
872 effect | prefix | examples
873 ------------+--------+----------
876 circumflex | ^ | ^w -> ŵ
877 diaeresis | \" | \"a -> ä
878 dot above | . | .b -> ḃ
880 cedilla | ~ | ~c -> ç
881 misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
882 | ~ | ~s -> § ~$ -> £ ~p -> ¶
883 symbol | ^ | ^r -> ® ^c -> ©
884 " nil t nil nil nil nil nil nil nil nil t
)
886 ;; Basically following Latin-1, plus dottiness from Latin-3.
991 (quail-define-package
992 "latin-prefix" "Latin" "L>" t
993 "Latin characters input method with prefix modifiers.
994 This is the union of various input methods originally made for input
995 of characters from a single Latin-N charset.
997 effect | prefix | examples
998 ------------+--------+----------
999 acute | ' | 'a -> á, '' -> ´
1001 circumflex | ^ | ^a -> â
1002 diaeresis | \" | \"a -> ä \"\" -> ¨
1004 cedilla | ~ | ~c -> ç
1007 dot above | ~ / . | ~o -> ġ /o -> ġ .o -> ġ
1008 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
1009 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
1010 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
1011 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
1012 " nil t nil nil nil nil nil nil nil nil t
)
1194 ;;; latin-pre.el ends here