1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
emacs/leim/quail/latin-alt.el
2012-01-05 01:46:05 -08:00

1717 lines
32 KiB
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; latin-alt.el --- Quail package for inputting various European characters -*-coding: utf-8;-*-
;; Copyright (C) 1997-1998, 2001-2012 Free Software Foundation, Inc.
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
;; 2008, 2009, 2010, 2011
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H14PRO021
;; Keywords: multilingual, input method, latin
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;; Author (of latin-post.el): TAKAHASHI Naoto <ntakahas@etl.go.jp>
;;; Commentary:
;; These input methods differ from those in latin-post.el
;; in that comma is not special (use / instead),
;; and // is not special either (so you can enter a slash
;; by typing //).
;; At least, that's what I could see by comparing the first few
;; of these with latin-post.el.
;;; Code:
(require 'quail)
(quail-define-package
"latin-1-alt-postfix" "Latin-1" "1<" t
"Latin-1 character input method with postfix modifiers
This input method differs from `latin-1-postfix' in that
comma is not special (use slash instead), and `//' is not
special (so you can use that to enter a slash).
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
grave | ` | a` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
cedilla | / | c/ -> ç
nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø
others | /<> | s/ -> ß ?/ -> ¿ !/ -> ¡
| various | << -> « >> -> » o_ -> º a_ -> ª
It seems natural to use comma for cedillas, but that is
inconvenient in practice because commas are needed very
often after a letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A'" )
("A^" )
("A~" )
("A\"" )
("A/" )
("a`" )
("a'" )
("a^" )
("a~" )
("a\"" )
("a/" )
("E`" )
("E'" )
("E^" )
("E\"" )
("E/" )
("e`" )
("e'" )
("e^" )
("e\"" )
("e/" )
("I`" )
("i`" )
("I'" )
("i'" )
("I^" )
("i^" )
("I\"" )
("i\"" )
("O`" )
("o`" )
("O'" )
("o'" )
("O^" )
("o^" )
("O~" )
("o~" )
("O\"" )
("o\"" )
("O/" )
("o/" )
("U`" )
("u`" )
("U'" )
("u'" )
("U^" )
("u^" )
("U\"" )
("u\"" )
("Y'" )
("y'" )
("y\"" ?ÿ)
("D/" )
("d/" )
("T/" )
("t/" )
("s/" )
("C/" )
("c/" )
("N~" )
("n~" )
("?/" ?¿)
("!/" )
("<<" )
(">>" )
("o_" )
("a_" )
("A``" ["A`"])
("A''" ["A'"])
("A^^" ["A^"])
("A~~" ["A~"])
("A\"\"" ["A\""])
("A//" ["A/"])
("a``" ["a`"])
("a''" ["a'"])
("a^^" ["a^"])
("a~~" ["a~"])
("a\"\"" ["a\""])
("a//" ["a/"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("E//" ["E/"])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("e//" ["e/"])
("I``" ["I`"])
("i``" ["i`"])
("I''" ["I'"])
("i''" ["i'"])
("I^^" ["I^"])
("i^^" ["i^"])
("I\"\"" ["I\""])
("i\"\"" ["i\""])
("O``" ["O`"])
("o``" ["o`"])
("O''" ["O'"])
("o''" ["o'"])
("O^^" ["O^"])
("o^^" ["o^"])
("O~~" ["O~"])
("o~~" ["o~"])
("O\"\"" ["O\""])
("o\"\"" ["o\""])
("O//" ["O/"])
("o//" ["o/"])
("U``" ["U`"])
("u``" ["u`"])
("U''" ["U'"])
("u''" ["u'"])
("U^^" ["U^"])
("u^^" ["u^"])
("U\"\"" ["U\""])
("u\"\"" ["u\""])
("Y''" ["Y'"])
("y''" ["y'"])
("y\"\"" ["y\""])
("D//" ["D/"])
("d//" ["d/"])
("T//" ["T/"])
("t//" ["t/"])
("s//" ["s/"])
("C//" ["C/"])
("c//" ["c/"])
("N~~" ["N~"])
("n~~" ["n~"])
("?//" ["?/"])
("!//" ["!/"])
("<<<" ["<<"])
(">>>" [">>"])
("o__" ["o_"])
("a__" ["a_"])
)
(quail-define-package
"latin-2-alt-postfix" "Latin-2" "2<" t
"Latin-2 character input method with postfix modifiers
This input method differs from `latin-2-postfix' in that
comma and period are not special (use ` instead).
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
ogonek | ` | a` -> ą
diaeresis | \" | a\" -> ä
circumflex | ^ | a^ -> â
breve | ~ | a~ -> ă
cedilla | ` | c` -> ç
caron | ~ | c~ -> č
dbl. acute | : | o: -> ő
ring | ` | u` -> ů
dot | ` | z` -> ż
stroke | / | d/ -> đ
others | / | s/ -> ß
It seems natural to use period and comma for dots/rings and
cedillas/ogoneks, but that is inconvenient in practice, because
periods and commas are needed very often after a letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A'" )
("A`" )
("A\"" )
("A^" )
("A~" )
("C'" )
("C`" )
("C~" )
("D/" )
("D~" )
("E'" )
("E`" )
("E\"" )
("E~" )
("I'" )
("I^" )
("L'" )
("L/" )
("L~" )
("N'" )
("N~" )
("O'" )
("O:" )
("O\"" )
("O^" )
("R'" )
("R~" )
("S'" )
("S`" )
("S~" )
("T`" )
("T~" )
("U'" )
("U:" )
("U\"" )
("U`" )
("Y'" )
("Z'" )
("Z`" )
("Z~" )
("a'" )
("a`" )
("a\"" )
("a^" )
("a~" )
("c'" )
("c`" )
("c~" )
("d/" )
("d~" )
("e'" )
("e`" )
("e\"" )
("e~" )
("i'" )
("i^" )
("l'" )
("l/" )
("l~" )
("n'" )
("n~" )
("o'" )
("o:" )
("o\"" )
("o^" )
("r'" )
("r~" )
("s'" )
("s`" )
("s/" )
("s~" )
("t`" )
("t~" )
("u'" )
("u:" )
("u\"" )
("u`" )
("y'" )
("z'" )
("z`" )
("z~" )
("A''" ["A'"])
("A``" ["A`"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A~~" ["A~"])
("C''" ["C'"])
("C``" ["C`"])
("C~~" ["C~"])
("D//" ["D/"])
("D~~" ["D~"])
("E''" ["E'"])
("E``" ["E`"])
("E\"\"" ["E\""])
("E~~" ["E~"])
("I''" ["I'"])
("I^^" ["I^"])
("L''" ["L'"])
("L//" ["L/"])
("L~~" ["L~"])
("N''" ["N'"])
("N~~" ["N~"])
("O''" ["O'"])
("O::" ["O:"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("R''" ["R'"])
("R~~" ["R~"])
("S''" ["S'"])
("S``" ["S`"])
("S~~" ["S~"])
("T``" ["T`"])
("T~~" ["T~"])
("U''" ["U'"])
("U::" ["U:"])
("U\"\"" ["U\""])
("U``" ["U`"])
("Y''" ["Y'"])
("Z''" ["Z'"])
("Z``" ["Z`"])
("Z~~" ["Z~"])
("a''" ["a'"])
("a``" ["a`"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a~~" ["a~"])
("c''" ["c'"])
("c``" ["c`"])
("c~~" ["c~"])
("d//" ["d/"])
("d~~" ["d~"])
("e''" ["e'"])
("e``" ["e`"])
("e\"\"" ["e\""])
("e~~" ["e~"])
("i''" ["i'"])
("i^^" ["i^"])
("l''" ["l'"])
("l//" ["l/"])
("l~~" ["l~"])
("n''" ["n'"])
("n~~" ["n~"])
("o''" ["o'"])
("o::" ["o:"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("r''" ["r'"])
("r~~" ["r~"])
("s''" ["s'"])
("s``" ["s`"])
("s//" ["s/"])
("s~~" ["s~"])
("t``" ["t`"])
("t~~" ["t~"])
("u''" ["u'"])
("u::" ["u:"])
("u\"\"" ["u\""])
("u``" ["u`"])
("y''" ["y'"])
("z''" ["z'"])
("z``" ["z`"])
("z~~" ["z~"])
)
(quail-define-package
"latin-3-alt-postfix" "Latin-3" "3<" t
"Latin-3 character input method with postfix modifiers
This input method differs from `latin-3-postfix' in that
comma is not special (use ` instead), and period is not
special (use slash instead).
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
grave | ` | a` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
dot | / | c/ -> ċ i/ -> ı I/ -> İ
cedilla | ` | c` -> ç
breve | ~ | g~ -> ğ
tilde | ~ | n~ -> ñ
stroke | / | h/ -> ħ
others | / | s/ -> ß
It would be natural to use period and comma for dots and cedillas, but
that would inconvenient in practice, because periods and commas are
needed very often after a letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A'" )
("A^" )
("A\"" )
("C/" )
("C^" )
("C`" )
("E`" )
("E'" )
("E^" )
("E\"" )
("G~" )
("G/" )
("G^" )
("H/" )
("H^" )
("I/" )
("I`" )
("I'" )
("I^" )
("I\"" )
("J^" )
("N~" )
("O`" )
("O'" )
("O^" )
("O\"" )
("S`" )
("S^" )
("U`" )
("U'" )
("U^" )
("U\"" )
("U~" )
("Z/" )
("a`" )
("a'" )
("a^" )
("a\"" )
("c/" )
("c^" )
("c`" )
("e`" )
("e'" )
("e^" )
("e\"" )
("g~" )
("g/" )
("g^" )
("h/" )
("h^" )
("i/" ?ı)
("i`" )
("i'" )
("i^" )
("i\"" )
("j^" )
("n~" )
("o`" )
("o'" )
("o^" )
("o\"" )
("s`" )
("s/" )
("s^" )
("u`" )
("u'" )
("u^" )
("u\"" )
("u~" )
("z/" )
("A``" ["A`"])
("A''" ["A'"])
("A^^" ["A^"])
("A\"\"" ["A\""])
("C//" ["C/"])
("C^^" ["C^"])
("C``" ["C`"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("G~~" ["G~"])
("G//" ["G/"])
("G^^" ["G^"])
("H//" ["H/"])
("H^^" ["H^"])
("I//" ["I/"])
("I``" ["I`"])
("I''" ["I'"])
("I^^" ["I^"])
("I\"\"" ["I\""])
("J^^" ["J^"])
("N~~" ["N~"])
("O``" ["O`"])
("O''" ["O'"])
("O^^" ["O^"])
("O\"\"" ["O\""])
("S``" ["S`"])
("S^^" ["S^"])
("U``" ["U`"])
("U''" ["U'"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("U~~" ["U~"])
("Z//" ["Z/"])
("a``" ["a`"])
("a''" ["a'"])
("a^^" ["a^"])
("a\"\"" ["a\""])
("c//" ["c/"])
("c^^" ["c^"])
("c``" ["c`"])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("g~~" ["g~"])
("g//" ["g/"])
("g^^" ["g^"])
("h//" ["h/"])
("h^^" ["h^"])
("i//" ["i/"])
("i``" ["i`"])
("i''" ["i'"])
("i^^" ["i^"])
("i\"\"" ["i\""])
("j^^" ["j^"])
("n~~" ["n~"])
("o``" ["o`"])
("o''" ["o'"])
("o^^" ["o^"])
("o\"\"" ["o\""])
("s``" ["s`"])
("s//" ["s/"])
("s^^" ["s^"])
("u``" ["u`"])
("u''" ["u'"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("u~~" ["u~"])
("z//" ["z/"])
)
(quail-define-package
"latin-4-alt-postfix" "Latin-4" "4<" t
"Latin-4 characters input method with postfix modifiers
This input method differs from `latin-4-postfix' in that
comma is not special (use ` instead), and period is not
special (use ~ instead).
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
ogonek | ` | a` -> ą
macron | - | a- -> ā
tilde | ~ | a~ -> ã
caron | ~ | c~ -> č
dot | ~ | e~ -> ė
cedilla | ` | k` -> ķ g` -> ģ
stroke | / | d/ -> đ
nordic | / | a/ -> å e/ -> æ o/ -> ø
others | / | s/ -> ß n/ -> ŋ k/ -> ĸ
It seems natural to use period and comma for dots and
cedillas/ogoneks, but that is inconvenient in practice, because
periods and commas are needed very often after a letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A-" )
("A'" )
("A^" )
("A~" )
("A\"" )
("A/" )
("C~" )
("D/" )
("E/" )
("E-" )
("E'" )
("E`" )
("E\"" )
("E~" )
("G`" )
("I~" )
("I`" )
("I'" )
("I^" )
("I-" )
("K`" )
("L`" )
("N/" )
("N`" )
("O-" )
("O^" )
("O~" )
("O\"" )
("O/" )
("R`" )
("S~" )
("T/" )
("U`" )
("U'" )
("U^" )
("U\"" )
("U~" )
("U-" )
("Z~" )
("a`" )
("a-" )
("a'" )
("a^" )
("a~" )
("a\"" )
("a/" )
("c~" )
("d/" )
("e/" )
("e-" )
("e'" )
("e`" )
("e\"" )
("e~" )
("g`" )
("i~" )
("i`" )
("i'" )
("i^" )
("i-" )
("k/" )
("k`" )
("l`" )
("n/" )
("n`" )
("o-" )
("o^" )
("o~" )
("o\"" )
("o/" )
("r`" )
("s/" )
("s~" )
("t/" )
("u`" )
("u'" )
("u^" )
("u\"" )
("u~" )
("u-" )
("z~" )
("A``" ["A`"])
("A--" ["A-"])
("A''" ["A'"])
("A^^" ["A^"])
("A~~" ["A~"])
("A\"\"" ["A\""])
("A//" ["A/"])
("C~~" ["C~"])
("D//" ["D/"])
("E//" ["E/"])
("E--" ["E-"])
("E''" ["E'"])
("E``" ["E`"])
("E\"\"" ["E\""])
("E~~" ["E~"])
("G``" ["G`"])
("I~~" ["I~"])
("I``" ["I`"])
("I''" ["I'"])
("I^^" ["I^"])
("I--" ["I-"])
("K``" ["K`"])
("L``" ["L`"])
("N//" ["N/"])
("N``" ["N`"])
("O--" ["O-"])
("O^^" ["O^"])
("O~~" ["O~"])
("O\"\"" ["O\""])
("O//" ["O/"])
("R``" ["R`"])
("S~~" ["S~"])
("T//" ["T/"])
("U``" ["U`"])
("U''" ["U'"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("U~~" ["U~"])
("U--" ["U-"])
("Z~~" ["Z~"])
("a``" ["a`"])
("a--" ["a-"])
("a''" ["a'"])
("a^^" ["a^"])
("a~~" ["a~"])
("a\"\"" ["a\""])
("a//" ["a/"])
("c~~" ["c~"])
("d//" ["d/"])
("e//" ["e/"])
("e--" ["e-"])
("e''" ["e'"])
("e``" ["e`"])
("e\"\"" ["e\""])
("e~~" ["e~"])
("g``" ["g`"])
("i~~" ["i~"])
("i``" ["i`"])
("i''" ["i'"])
("i^^" ["i^"])
("i--" ["i-"])
("k//" ["k/"])
("k``" ["k`"])
("l``" ["l`"])
("n//" ["n/"])
("n``" ["n`"])
("o--" ["o-"])
("o^^" ["o^"])
("o~~" ["o~"])
("o\"\"" ["o\""])
("o//" ["o/"])
("r``" ["r`"])
("s//" ["s/"])
("s~~" ["s~"])
("t//" ["t/"])
("u``" ["u`"])
("u''" ["u'"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("u~~" ["u~"])
("u--" ["u-"])
("z~~" ["z~"])
)
(quail-define-package
"latin-5-alt-postfix" "Latin-5" "5<" t
"Latin-5 characters input method with postfix modifiers
This input method differs from `latin-5-postfix' in that
comma is not special (use ` instead), and period is not
special (use / instead).
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
grave | ` | a` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
breve | ~ | g~ -> ğ
cedilla | ` | c` -> ç
dot | / | i/ -> ı I/ -> İ
nordic | / | a/ -> å e/ -> æ o/ -> ø
others | / | s/ -> ß
It seems natural to use period and comma for dots and cedillas, but
that is inconvenient in practice, because periods and commas are
needed very often after a letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A'" )
("A/" )
("A\"" )
("A^" )
("A`" )
("A~" )
("C`" )
("E'" )
("E/" )
("E\"" )
("E^" )
("E`" )
("G~" )
("I'" )
("I/" )
("I\"" )
("I^" )
("I`" )
("N~" )
("O'" )
("O/" )
("O\"" )
("O^" )
("O`" )
("O~" )
("S`" )
("U'" )
("U\"" )
("U^" )
("U`" )
("a'" )
("a/" )
("a\"" )
("a^" )
("a`" )
("a~" )
("c`" )
("e'" )
("e/" )
("e\"" )
("e^" )
("e`" )
("g~" )
("i'" )
("i/" ?ı)
("i\"" )
("i^" )
("i`" )
("n~" )
("o'" )
("o/" )
("o\"" )
("o^" )
("o`" )
("o~" )
("s`" )
("s/" )
("u'" )
("u\"" )
("u^" )
("u`" )
("y\"" ?ÿ)
("A''" ["A'"])
("A//" ["A/"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A``" ["A`"])
("A~~" ["A~"])
("C``" ["C`"])
("E''" ["E'"])
("E//" ["E/"])
("E\"\"" ["E\""])
("E^^" ["E^"])
("E``" ["E`"])
("G~~" ["G~"])
("I''" ["I'"])
("I//" ["I/"])
("I\"\"" ["I\""])
("I^^" ["I^"])
("I``" ["I`"])
("N~~" ["N~"])
("O''" ["O'"])
("O//" ["O/"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("O``" ["O`"])
("O~~" ["O~"])
("S``" ["S`"])
("U''" ["U'"])
("U\"\"" ["U\""])
("U^^" ["U^"])
("U``" ["U`"])
("a''" ["a'"])
("a//" ["a/"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a``" ["a`"])
("a~~" ["a~"])
("c``" ["c`"])
("e''" ["e'"])
("e//" ["e/"])
("e\"\"" ["e\""])
("e^^" ["e^"])
("e``" ["e`"])
("g~~" ["g~"])
("i''" ["i'"])
("i//" ["i/"])
("i\"\"" ["i\""])
("i^^" ["i^"])
("i``" ["i`"])
("n~~" ["n~"])
("o''" ["o'"])
("o//" ["o/"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("o``" ["o`"])
("o~~" ["o~"])
("s``" ["s`"])
("s//" ["s/"])
("u''" ["u'"])
("u\"\"" ["u\""])
("u^^" ["u^"])
("u``" ["u`"])
("y\"\"" ["y\""])
)
(quail-define-package
"french-alt-postfix" "French" "FR<" t
"French (Français) input method with postfix modifiers
` pour grave, ' pour aigu, ^ pour circonflexe, et \" pour tréma.
Par exemple: a` -> à e' -> é.
Ç, «, et » sont produits par C/, <<, et >>.
En doublant la frappe des diacritiques, ils s'isoleront de la lettre.
Par exemple: e'' -> e'
<e dans l'o> n'est pas disponible."
nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A^" )
("a`" )
("a^" )
("E`" )
("E'" )
("E^" )
("E\"" )
("e`" )
("e'" )
("e^" )
("e\"" )
("I^" )
("I\"" )
("i^" )
("i\"" )
("O^" )
("o^" )
("U`" )
("U^" )
("U\"" )
("u`" )
("u^" )
("u\"" )
("C/" )
("c/" )
("<<" )
(">>" )
("A``" ["A`"])
("A^^" ["A^"])
("a``" ["a`"])
("a^^" ["a^"])
("E``" ["E`"])
("E''" ["E'"])
("E^^" ["E^"])
("E\"\"" ["E\""])
("e``" ["e`"])
("e''" ["e'"])
("e^^" ["e^"])
("e\"\"" ["e\""])
("I^^" ["I^"])
("I\"\"" ["I\""])
("i^^" ["i^"])
("i\"\"" ["i\""])
("O^^" ["O^"])
("o^^" ["o^"])
("U``" ["U`"])
("U^^" ["U^"])
("U\"\"" ["U\""])
("u``" ["u`"])
("u^^" ["u^"])
("u\"\"" ["u\""])
("C//" ["C/"])
("c//" ["c/"])
("<<<" ["<<"])
(">>>" [">>"])
)
(quail-define-package
"italian-alt-postfix" "Latin-1" "IT<" t
"Italian (Italiano) input method with postfix modifiers
a' -> á A' -> Á a` -> à A` -> À i^ -> î << -> «
e' -> é E' -> É e` -> è E` -> È I^ -> Î >> -> »
i' -> í I' -> Í i` -> ì I` -> Ì o_ -> º
o' -> ó O' -> Ó o` -> ò O` -> Ò a_ -> ª
u' -> ú U' -> Ú u` -> ù U` -> Ù
This method is for purists who like accents the old way.
Doubling the postfix separates the letter and postfix: e.g. a`` -> a`
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A`" )
("A'" )
("a`" )
("a'" )
("E`" )
("E'" )
("e`" )
("e'" )
("I`" )
("i`" )
("I'" )
("i'" )
("I^" )
("i^" )
("O`" )
("o`" )
("O'" )
("o'" )
("U`" )
("u`" )
("U'" )
("u'" )
("<<" )
(">>" )
("o_" )
("a_" )
("A``" ["A`"])
("A''" ["A'"])
("a``" ["a`"])
("a''" ["a'"])
("E``" ["E`"])
("E''" ["E'"])
("e``" ["e`"])
("e''" ["e'"])
("I``" ["I`"])
("i``" ["i`"])
("I''" ["I'"])
("i''" ["i'"])
("I^^" ["I^"])
("i^^" ["i^"])
("O``" ["O`"])
("o``" ["o`"])
("O''" ["O'"])
("o''" ["o'"])
("U``" ["U`"])
("u``" ["u`"])
("U''" ["U'"])
("u''" ["u'"])
("<<<" ["<<"])
(">>>" [">>"])
("o__" ["o_"])
("a__" ["a_"])
)
(quail-define-package
"turkish-alt-postfix" "Turkish" "TR«" t
"Turkish (Türkçe) input method with postfix modifiers.
This input method differs from `turkish-postfix' in that
comma is not special (use ` instead).
turkish-latin-3-alt-postfix is an obsolete alias for turkish-alt-postfix.
Note for I, ı, İ, i.
A^ -> Â
C` -> Ç
G^ -> Ğ
I -> I
i -> ı
I/ -> İ
i/ -> i
O\" -> Ö
S` -> Ş
U\" -> Ü
U^ -> Û
Doubling the postfix separates the letter and postfix: e.g. a^^ -> a^
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("A^" )
("a^" )
("C`" )
("c`" )
("G^" )
("g^" )
("I/" )
("i" ?ı)
("i/" ?i)
("O\"" )
("o\"" )
("S`" )
("s`" )
("U\"" )
("u\"" )
("U^" )
("u^" )
("A^^" ["A^"])
("a^^" ["a^"])
("C``" ["C`"])
("c``" ["c`"])
("G^^" ["G^"])
("g^^" ["g^"])
("I//" ["I/"])
("i" ["i"])
("i//" ["i/"])
("O\"\"" ["O\""])
("o\"\"" ["o\""])
("S``" ["S`"])
("s``" ["s`"])
("U\"\"" ["U\""])
("u\"\"" ["u\""])
("U^^" ["U^"])
("u^^" ["u^"])
)
;; Backwards compatibility.
(push (cons "turkish-latin-3-alt-postfix"
(cdr (assoc "turkish-alt-postfix" quail-package-alist)))
quail-package-alist)
;; Dutch Quail input method derived from the one in Yudit by Roman
;; Czyborra.
(quail-define-package
"dutch" "Dutch" "NL" t
"Dutch character mixfix input method.
Caters for French and Turkish as well as Dutch.
| | examples
------------+---------+----------
others | | fl. -> ƒ eur. -> € ij -> ij IJ -> IJ
------------+---------+----------
| postfix |
------------+---------+----------
acute | ' | a' -> á
grave | ` | a` -> à
circumflex | ^ | a^ -> â
Turkish | various | i/ -> ı s, -> ş g^ -> ğ I/ -> İ
| | S, -> Ş G^ -> Ğ
------------+---------+----------
| prefix |
------------+---------+----------
diaeresis | \" | \"a -> ä
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
(quail-define-rules
("fl." ) ;; LATIN SMALL LETTER F WITH HOOK (florin currency symbol)
("eur." ?€) ;; EURO SIGN
;; “The 25th letter of the Dutch alphabet.”
("ij" ) ;; LATIN SMALL LIGATURE IJ
("IJ" ) ;; LATIN CAPITAL LIGATURE IJ
;; “Trema on the second letter of vowel pair.” Yudit uses `:', not `"'.
("\"a" ) ;; LATIN SMALL LETTER A WITH DIAERESIS
("\"e" ) ;; LATIN SMALL LETTER E WITH DIAERESIS
("\"i" ) ;; LATIN SMALL LETTER I WITH DIAERESIS
("\"o" ) ;; LATIN SMALL LETTER O WITH DIAERESIS
("\"u" ) ;; LATIN SMALL LETTER U WITH DIAERESIS
("\"A" ) ;; LATIN CAPITAL LETTER A WITH DIAERESIS
("\"E" ) ;; LATIN CAPITAL LETTER E WITH DIAERESIS
("\"I" ) ;; LATIN CAPITAL LETTER I WITH DIAERESIS
("\"O" ) ;; LATIN CAPITAL LETTER O WITH DIAERESIS
("\"U" ) ;; LATIN CAPITAL LETTER U WITH DIAERESIS
;; “Acute, marking emphasis on long vowels”:
("a'" ) ;; LATIN SMALL LETTER A WITH ACUTE
("e'" ) ;; LATIN SMALL LETTER E WITH ACUTE
("i'" ) ;; LATIN SMALL LETTER I WITH ACUTE
("o'" ) ;; LATIN SMALL LETTER O WITH ACUTE
("u'" ) ;; LATIN SMALL LETTER U WITH ACUTE
("A'" ) ;; LATIN CAPITAL LETTER A WITH ACUTE
("E'" ) ;; LATIN CAPITAL LETTER E WITH ACUTE
("I'" ) ;; LATIN CAPITAL LETTER I WITH ACUTE
("O'" ) ;; LATIN CAPITAL LETTER O WITH ACUTE
("U'" ) ;; LATIN CAPITAL LETTER U WITH ACUTE
;; “Grave, marking emphasis on short vowels”:
("a`" ) ;; LATIN SMALL LETTER A WITH GRAVE
("e`" ) ;; LATIN SMALL LETTER E WITH GRAVE
("i`" ) ;; LATIN SMALL LETTER I WITH GRAVE
("o`" ) ;; LATIN SMALL LETTER O WITH GRAVE
("u`" ) ;; LATIN SMALL LETTER U WITH GRAVE
("A`" ) ;; LATIN CAPITAL LETTER A WITH GRAVE
("E`" ) ;; LATIN CAPITAL LETTER E WITH GRAVE
("I`" ) ;; LATIN CAPITAL LETTER I WITH GRAVE
("O`" ) ;; LATIN CAPITAL LETTER O WITH GRAVE
("U`" ) ;; LATIN CAPITAL LETTER U WITH GRAVE
;; “Cater for the use of many French words and use of the circumflex
;; in Frisian.” Yudit used `;' for cedilla.
("c," ) ;; LATIN SMALL LETTER C WITH CEDILLA
("C," ) ;; LATIN CAPITAL LETTER C WITH CEDILLA
("a^" ) ;; LATIN SMALL LETTER A WITH CIRCUMFLEX
("e^" ) ;; LATIN SMALL LETTER E WITH CIRCUMFLEX
("i^" ) ;; LATIN SMALL LETTER I WITH CIRCUMFLEX
("o^" ) ;; LATIN SMALL LETTER O WITH CIRCUMFLEX
("u^" ) ;; LATIN SMALL LETTER U WITH CIRCUMFLEX
("A^" ) ;; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
("E^" ) ;; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
("I^" ) ;; LATIN CAPITAL LETTER I WITH CIRCUMFLEX
("O^" ) ;; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
("U^" ) ;; LATIN CAPITAL LETTER U WITH CIRCUMFLEX
;; “Follow the example of the Dutch POSIX locale, using ISO-8859-9 to
;; cater to the many Turks in Dutch society.” Perhaps German methods
;; should do so too. Follow turkish-alt-postfix here.
("i/" ?ı) ;; LATIN SMALL LETTER I WITH NO DOT
("s," ) ;; LATIN SMALL LETTER S WITH CEDILLA
("g^" ) ;; LATIN SMALL LETTER G WITH BREVE
("I/" ) ;; LATIN CAPITAL LETTER I WITH DOT ABOVE
("S," ) ;; LATIN CAPITAL LETTER S WITH CEDILLA
("G^" ) ;; LATIN CAPITAL LETTER G WITH BREVE
)
;; Originally from Yudit, discussed with Albertas Agejevas
;; <alga@uosis.mif.vu.lt>
(quail-define-package
"lithuanian-numeric" "Lithuanian" "LtN" t
"Lithuanian numeric input method.
" nil t t t t nil nil nil nil nil t)
(quail-define-rules
("1" )
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" ?„)
("0" ?“)
("=" )
("!" )
("@" )
("#" )
("$" )
("%" )
("^" )
("&" )
("*" )
("+" ))
;; From XFree 4.1 /usr/X11R6/lib/X11/xkb/symbols/lt, suggested by
;; Albertas Agejevas <alga@uosis.mif.vu.lt>
(quail-define-package
"lithuanian-keyboard" "Lithuanian" "Lt" t
"Lithuanian standard keyboard input method.
" nil t t t t nil nil nil nil nil t)
(quail-define-rules
("1" )
("!" )
("2" )
("@" )
("#" )
("4" )
("$" )
("5" )
("%" )
("6" )
("^" )
("7" )
("&" )
("9" ?„)
("0" ?“)
("=" )
("+" ))
;; From XFree 4.1 /usr/X11R6/lib/X11/xkb/symbols/lv
(quail-define-package
"latvian-keyboard" "Latvian" "Lv" t
"Latvian standard keyboard input method.
" nil t t t t nil nil nil nil nil t)
(quail-define-rules
("4" ?€)
("$" )
("e" )
("E" )
("r" )
("R" )
("u" )
("U" )
("i" )
("I" )
("o" )
("O" )
("a" )
("A" )
("s" )
("S" )
("g" )
("G" )
("k" )
("K" )
("l" )
("L" )
("\'" ?“)
("\"" ?„)
("z" )
("Z" )
("c" )
("C" )
("n" )
("N" ))
(quail-define-package
"latin-alt-postfix" "Latin" "L<" t
"Latin character input method with postfix modifiers.
This is the union of various input methods originally made for input
of characters from a single Latin-N charset.
| postfix | examples
------------+---------+----------
acute | ' | a' -> á
grave | ` | a` -> à
circumflex | ^ | a^ -> â
diaeresis | \" | a\" -> ä
tilde | ~ | a~ -> ã
cedilla | /` | c/ -> ç c` -> ç
ogonek | ` | a` -> ą
breve | ~ | a~ -> ă
caron | ~ | c~ -> č
dbl. acute | : | o: -> ő
ring | ` | u` -> ů
dot | ` | z` -> ż
stroke | / | d/ -> đ
nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø
others | /<> | s/ -> ß ?/ -> ¿ !/ -> ¡
| various | << -> « >> -> » o_ -> º a_ -> ª
It would be natural to use comma for cedillas, but that would be
inconvenient in practice because commas are needed very often after a
letter.
Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
" nil t nil nil nil nil nil nil nil nil t)
;; Fixme: ¦ § ¨ © ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ ¼ ½ ¾ × ÷
(quail-define-rules
(" _" ? )
("!/" )
("//" )
("<<" )
(">>" )
("?/" ?¿)
("$/" )
("$/" )
("A'" )
("A-" )
("A/" )
("A\"" )
("A^" )
("A`" )
("A`" )
("A~" )
("A~" )
("C'" )
("C/" )
("C/" )
("C^" )
("C`" )
("C~" )
("D/" )
("D/" )
("D~" )
("E'" )
("E-" )
("E/" )
("E\"" )
("E^" )
("E`" )
("E`" )
("E~" )
("E~" )
("G/" )
("G^" )
("G`" )
("G~" )
("H/" )
("H^" )
("I'" )
("I-" )
("I/" )
("I\"" )
("I^" )
("I`" )
("I`" )
("I~" )
("J^" )
("K`" )
("L'" )
("L/" )
("L`" )
("L~" )
("N'" )
("N/" )
("N`" )
("N~" )
("N~" )
("O'" )
("O-" )
("O/" )
("O:" )
("O\"" )
("O^" )
("O`" )
("O~" )
("R'" )
("R`" )
("R~" )
("S'" )
("S^" )
("S`" )
("S~" )
("T/" )
("T/" )
("T`" )
("T~" )
("U'" )
("U-" )
("U:" )
("U\"" )
("U^" )
("U`" )
("U`" )
("U`" )
("U~" )
("U~" )
("Y'" )
("Y\"" )
("Y=" )
("Z'" )
("Z/" )
("Z`" )
("Z~" )
("a'" )
("a-" )
("a/" )
("a\"" )
("a^" )
("a_" )
("a`" )
("a`" )
("a~" )
("a~" )
("c'" )
("c/" )
("c/" )
("c/" )
("c^" )
("c`" )
("c~" )
("d/" )
("d/" )
("d~" )
("e'" )
("e-" )
("e/" )
("e\"" )
("e^" )
("e`" )
("e`" )
("e~" )
("e~" )
("e=" ?€)
("g/" )
("g^" )
("g`" )
("g~" )
("h/" )
("h^" )
("i'" )
("i-" )
("i/" ?ı)
("i\"" )
("i^" )
("i`" )
("i`" )
("i~" )
("j^" )
("k/" )
("k`" )
("l'" )
("l/" )
("l`" )
("l~" )
("n'" )
("n/" )
("n`" )
("n~" )
("n~" )
("o'" )
("o-" )
("o/" )
("o:" )
("o\"" )
("o^" )
("o_" )
("o`" )
("o~" )
("r'" )
("r`" )
("r~" )
("s'" )
("s/" )
("s^" )
("s`" )
("s~" )
("t/" )
("t/" )
("t`" )
("t~" )
("u'" )
("u-" )
("u:" )
("u\"" )
("u^" )
("u`" )
("u`" )
("u`" )
("u~" )
("u~" )
("y'" )
("y\"" ?ÿ)
("z'" )
("z/" )
("z`" )
("z~" )
(" __" [" _"])
("!//" ["!/"])
("<<<" ["<<"])
(">>>" [">>"])
("?//" ["?/"])
("///" ["//"])
("$//" ["$/"])
("A''" ["A'"])
("A--" ["A-"])
("A//" ["A/"])
("A\"\"" ["A\""])
("A^^" ["A^"])
("A``" ["A`"])
("A~~" ["A~"])
("C''" ["C'"])
("C//" ["C/"])
("C^^" ["C^"])
("C``" ["C`"])
("C~~" ["C~"])
("D//" ["D/"])
("D~~" ["D~"])
("E''" ["E'"])
("E--" ["E-"])
("E//" ["E/"])
("E\"\"" ["E\""])
("E^^" ["E^"])
("E``" ["E`"])
("E~~" ["E~"])
("G//" ["G/"])
("G^^" ["G^"])
("G``" ["G`"])
("G~~" ["G~"])
("H//" ["H/"])
("H^^" ["H^"])
("I''" ["I'"])
("I--" ["I-"])
("I//" ["I/"])
("I\"\"" ["I\""])
("I^^" ["I^"])
("I``" ["I`"])
("I~~" ["I~"])
("J^^" ["J^"])
("K``" ["K`"])
("L''" ["L'"])
("L//" ["L/"])
("L``" ["L`"])
("L~~" ["L~"])
("N''" ["N'"])
("N//" ["N/"])
("N``" ["N`"])
("N~~" ["N~"])
("O''" ["O'"])
("O--" ["O-"])
("O//" ["O/"])
("O::" ["O:"])
("O\"\"" ["O\""])
("O^^" ["O^"])
("O``" ["O`"])
("O~~" ["O~"])
("R''" ["R'"])
("R``" ["R`"])
("R~~" ["R~"])
("S''" ["S'"])
("S^^" ["S^"])
("S``" ["S`"])
("S~~" ["S~"])
("T//" ["T/"])
("T``" ["T`"])
("T~~" ["T~"])
("U''" ["U'"])
("U--" ["U-"])
("U::" ["U:"])
("U\"\"" ["U\""])
("U^^" ["U^"])
("U``" ["U`"])
("U~~" ["U~"])
("Y''" ["Y'"])
("Z''" ["Z'"])
("Z//" ["Z/"])
("Z``" ["Z`"])
("Z~~" ["Z~"])
("a''" ["a'"])
("a--" ["a-"])
("a//" ["a/"])
("a\"\"" ["a\""])
("a^^" ["a^"])
("a__" ["a_"])
("a``" ["a`"])
("a~~" ["a~"])
("c''" ["c'"])
("c//" ["c/"])
("c^^" ["c^"])
("c``" ["c`"])
("c~~" ["c~"])
("d//" ["d/"])
("d~~" ["d~"])
("e''" ["e'"])
("e--" ["e-"])
("e//" ["e/"])
("e\"\"" ["e\""])
("e^^" ["e^"])
("e``" ["e`"])
("e~~" ["e~"])
("e==" ["e="])
("g//" ["g/"])
("g^^" ["g^"])
("g``" ["g`"])
("g~~" ["g~"])
("h//" ["h/"])
("h^^" ["h^"])
("i''" ["i'"])
("i--" ["i-"])
("i//" ["i/"])
("i\"\"" ["i\""])
("i^^" ["i^"])
("i``" ["i`"])
("i~~" ["i~"])
("j^^" ["j^"])
("k//" ["k/"])
("k``" ["k`"])
("l''" ["l'"])
("l//" ["l/"])
("l``" ["l`"])
("l~~" ["l~"])
("n''" ["n'"])
("n//" ["n/"])
("n``" ["n`"])
("n~~" ["n~"])
("o''" ["o'"])
("o--" ["o-"])
("o//" ["o/"])
("o::" ["o:"])
("o\"\"" ["o\""])
("o^^" ["o^"])
("o__" ["o_"])
("o``" ["o`"])
("o~~" ["o~"])
("r''" ["r'"])
("r``" ["r`"])
("r~~" ["r~"])
("s''" ["s'"])
("s//" ["s/"])
("s^^" ["s^"])
("s``" ["s`"])
("s~~" ["s~"])
("t//" ["t/"])
("t``" ["t`"])
("t~~" ["t~"])
("u''" ["u'"])
("u--" ["u-"])
("u::" ["u:"])
("u\"\"" ["u\""])
("u^^" ["u^"])
("u``" ["u`"])
("u~~" ["u~"])
("y''" ["y'"])
("y\"\"" ["y\""])
("z''" ["z'"])
("z//" ["z/"])
("z``" ["z`"])
("z~~" ["z~"])
)
;;; latin-alt.el ends here