1 ;;; latin-pre.el --- Quail packages for inputting various European characters -*-coding: utf-8;-*-
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2000, 2002 Free Software Foundation, Inc.
7 ;; Keywords: mule, multilingual, latin, input method
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
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 signalled 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>
179 (quail-define-package
180 "catalan-prefix" "Latin-1" "CA>" t
181 "Catalan and Spanish input method with prefix modifiers
183 effect | prefix | examples
184 ------------+--------+----------
185 acute | ' | 'a -> á '' -> ´
187 diaeresis | \" | \"i -> ï \"\" -> ¨
189 cedilla | ~ | ~c -> ç
190 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
191 " nil t nil nil nil nil nil nil nil nil t)
228 (quail-define-package
229 "esperanto-prefix" "Latin-3" "EO>" t
230 "Esperanto input method with prefix modifiers
231 Key translation rules are:
232 ^H -> ?Ĥ ^J -> ?Ĵ ^h -> ?ĥ ^j -> ?ĵ ^C -> ?Ĉ ^G -> ?Ĝ,
233 ^S -> ?Ŝ ^c -> ?ĉ ^g -> ?ĝ ^s -> ?ŝ ~U -> ?Ŭ ~u -> ?ŭ
234 " nil t nil nil nil nil nil nil nil nil t)
254 (quail-define-package
255 "french-prefix" "French" "FR>" t
256 "French (Français) input method with prefix modifiers
258 effect | prefix | examples
259 ------------+--------+----------
262 circumflex | ^ | ^a -> â
263 diaeresis | \" | \"i -> ï
264 cedilla | ~ or , | ~c -> ç ,c -> ç
265 symbol | ~ | ~> -> » ~< -> «
266 " nil t nil nil nil nil nil nil nil nil t)
307 (quail-define-package
308 "romanian-prefix" "Romanian" "RO>" t
309 "Romanian (româneşte) input method with prefix modifiers
311 effect | prefix | examples
312 ------------+--------+------------------
314 circumflex | ^ | ^a -> â, ^i -> î
315 cedilla | , | ,s -> ş, ,t -> ţ
319 " nil t nil nil nil nil nil nil nil nil t)
327 ("^^" ?^) ("~~" ?~) (",," ?,))
329 (quail-define-package
330 "romanian-alt-prefix" "Romanian" "RO>" t
331 "Alternative Romanian (româneşte) input method with prefix modifiers
333 effect | prefix | examples
334 ------------+--------+------------------
335 tilde | \" | \"a -> â
336 circumflex | ' | 'a -> â, 'i -> î
337 cedilla | ' | 's -> ş, 't -> ţ
340 " nil t nil nil nil nil nil nil nil nil t)
344 ("\"A" ?Â) ("\"a" ?â)
348 ("''" ?') ("\"\"" ?\"))
350 (quail-define-package
351 "german-prefix" "German" "DE>" t
352 "German (Deutsch) input method with prefix modifiers
353 Key translation rules are:
354 \"A -> Ä -> \"O -> Ö \"U -> Ü \"s -> ?ß
355 " nil t nil nil nil nil nil nil nil nil t)
368 (quail-define-package
369 "irish-prefix" "Latin-1" "GA>" t
370 "Irish input method with prefix modifiers
371 Key translation rules are:
372 'A -> Á 'E -> É 'I -> Í 'O -> Ó 'U -> Ú
373 " nil t nil nil nil nil nil nil nil nil t)
389 (quail-define-package
390 "portuguese-prefix" "Latin-1" "PT>" t
391 "Portuguese input method with prefix modifiers
393 effect | prefix | examples
394 ------------+--------+----------
395 acute | ' | 'a -> á '' -> ´
397 circumflex | ^ | ^a -> â
398 diaeresis | \" | \"u -> ü
400 cedilla | ' or , | 'c -> ç ,c -> ç
401 " nil t nil nil nil nil nil nil nil nil t)
440 (quail-define-package
441 "spanish-prefix" "Spanish" "ES>" t
442 "Spanish (Español) input method with prefix modifiers
444 effect | prefix | examples
445 ------------+--------+----------
447 diaeresis | \" | \"u -> ü
449 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿
450 " nil t nil nil nil nil nil nil nil nil t)
476 (quail-define-package
477 "latin-2-prefix" "Latin-2" "2>" t
478 "Latin-2 characters input method with prefix modifiers
480 effect | prefix | examples
481 ------------+--------+----------
482 acute | ' | 'a -> á '' -> ?´
483 circumflex | ^ | ^a -> â
484 diaeresis | \" | \"a -> ä \"\" -> ¨
487 cedilla | ` | `c -> ç `e -> ?ę
488 misc | ' ` ~ | 'd -> đ `l -> ł `z -> ż ~o -> ő ~u -> ű
489 symbol | ~ | `. -> ˙ ~~ -> ˘ ~. -> ?¸
490 " nil t nil nil nil nil nil nil nil nil t)
587 (quail-define-package
588 "latin-3-prefix" "Latin-3" "3>" t
589 "Latin-3 characters input method with prefix modifiers
591 effect | prefix | examples
592 ------------+--------+----------
593 acute | ' | 'a -> á '' -> ?´
595 circumflex | ^ | ^a -> â
596 diaeresis | \" | \"a -> ä \"\" -> ¨
597 cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
598 dot above | / . | /g -> ġ .o -> ġ
599 misc | \" ~ / | \"s -> ß ~g -> ğ ~u -> ŭ /h -> ħ /i -> ı
600 symbol | ~ | ~` -> ˘ /# -> £ /$ -> ¤ // -> °
601 " nil t nil nil nil nil nil nil nil nil t)
701 (quail-define-package
702 "polish-slash" "Polish" "PL>" nil
703 "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
704 For example, the character named `aogonek' is obtained by `/a'."
705 nil t t t nil nil nil nil nil nil t)
728 (quail-define-package
729 "latin-9-prefix" "Latin-9" "0>" t
730 "Latin-9 characters input method with prefix modifiers
732 effect | prefix | examples
733 ------------+--------+----------
736 circumflex | ^ | ^a -> â
737 diaeresis | \" | \"a -> ä, \"Y -> Ÿ
740 cedilla | ~ | ~c -> ç
741 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
743 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ž
744 | ~ | ~s -> § ~e -> € ~. -> · ~$ -> £ ~u -> µ
745 | ~ | ~- -> ~= -> ¯
746 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
747 | _ / | _: -> ÷ /c -> ¢ ~p -> ¶
749 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³ _a -> ª
750 " nil t nil nil nil nil nil nil nil nil t)
839 ("/o" ?œ) ; clash with ø, but æ uses /
844 ;; Is this the best option for Euro entry?
858 ;; Latin-8 was done by an Englishman -- Johnny Celt should take a
861 (quail-define-package
862 "latin-8-prefix" "Latin-8" "8>" t
863 "Latin-8 characters input method with prefix modifiers
865 effect | prefix | examples
866 ------------+--------+----------
869 circumflex | ^ | ^w -> ŵ
870 diaeresis | \" | \"a -> ä
871 dot above | . | .b -> ḃ
873 cedilla | ~ | ~c -> ç
874 misc | \" ~ / | \"s -> ß /a -> å /e -> æ /o -> ø
875 | ~ | ~s -> § ~$ -> £ ~p -> ¶
876 symbol | ^ | ^r -> ® ^c -> ©
877 " nil t nil nil nil nil nil nil nil nil t)
879 ;; Basically following Latin-1, plus dottiness from Latin-3.
984 (quail-define-package
985 "latin-prefix" "Latin" "L>" t
986 "Latin characters input method with prefix modifiers.
987 This is the union of various input methods originally made for input
988 of characters from a single Latin-N charset.
990 effect | prefix | examples
991 ------------+--------+----------
992 acute | ' | 'a -> á, '' -> ´
994 circumflex | ^ | ^a -> â
995 diaeresis | \" | \"a -> ä \"\" -> ¨
997 cedilla | ~ | ~c -> ç
1000 dot above | ~ / . | ~o -> ġ /o -> ġ .o -> ġ
1001 misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
1002 symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸
1003 symbol | _ / | _o -> º _a -> ª // -> ° /\\ -> × _y -> ¥
1004 symbol | ^ | ^r -> ® ^c -> © ^1 -> ¹ ^2 -> ² ^3 -> ³
1005 " nil t nil nil nil nil nil nil nil nil t)
1186 ;;; latin-pre.el ends here