*** empty log message ***
[m17n/m17n-db.git] / latin-post.mim
1 ;; latin-post.mim -- Latin input method with postfix modifiers
2 ;; Copyright (C) 2003, 2004
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database, a sub-part of the m17n library.
7
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU General Public License as
10 ;; published by the Free Software Foundation; either version 2, or (at
11 ;; your option) any later version.
12
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 ;; GNU General Public License for more details.
17
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with the m17n library; see the file COPYING.  If not, write to
20 ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 ;; Boston, MA 02111-1307, USA.
22
23 ;;; <li> latin-post.mim
24 ;;;
25 ;;; Input method for Latin script with postfix modifiers.
26 ;;; @verbatim
27 ;;; | mark       | postfix | examples
28 ;;; |------------+---------+----------
29 ;;; | acute      |    '    | a' -> á
30 ;;; | grave      |    `    | a` -> à
31 ;;; | circumflex |    ^    | a^ -> â
32 ;;; | diaeresis  |    "    | a" -> ä
33 ;;; | tilde      |    ~    | a~ -> ã
34 ;;; | cedilla    |    ,    | c, -> ç
35 ;;; | ogonek     |    ,    | a, -> ą
36 ;;; | breve      |    ~    | g~ -> ğ
37 ;;; | caron      |    ~    | c~ -> č
38 ;;; | dbl. acute |    :    | o: -> ő
39 ;;; | ring       |    .    | u. -> ů
40 ;;; | dot        |    .    | z. -> ż
41 ;;; | stroke     |    /    | l/ -> ł
42 ;;; | others     | /, etc. | d/ -> ð   t/ -> þ   a/ -> å   o/ -> ø
43 ;;; |            |         | ae/ -> æ  ij -> ij   oe/ -> œ  s/ -> ß
44 ;;; |            |         | ?/ -> ¿   !/ -> ¡   // -> °
45 ;;; |            |         | << -> «   >> -> »   o_ -> º   a_ -> ª
46 ;;; 
47 ;;; Repeating the postfix changes ambiguous combining marks: for example,
48 ;;;   A~   -> Ã
49 ;;;   A~~  -> Ă
50 ;;;   A~~~ -> A~
51 ;;; @endverbatim
52
53 (title "Latin-post")
54
55 (map
56   (trans
57    ("!/" "¡")
58    ("!//" "!/")
59    ("//" "°")
60    ("///" "//")
61    ("<<" "\«")
62    ("<<<" "<<")
63    (">>" "\»")
64    (">>>" ">>")
65    ("?/" "¿")
66    ("?//" "?/")
67    ("$/" "£")
68    ("$//" "¤")
69    ("$///" "$/")
70
71    ("A'" "Á")     ("a'" "á")
72    ("A''" "A'")    ("a''" "a'")
73    ("A," "Ą")     ("a," "ą")
74    ("A,," "A,")    ("a,," "a,")
75    ("A-" "Ā")     ("a-" "ā")
76    ("A--" "A-")    ("a--" "a-")
77    ("A/" "Å")     ("a/" "å")
78    ("A//" "A/")    ("a//" "a/")
79    ("A\"" "Ä")    ("a\"" "ä")
80    ("A\"\"" "A\"")         ("a\"\"" "a\"")
81    ("A^" "Â")     ("a^" "â")
82    ("A^^" "A^")    ("a^^" "a^")
83    ("A`" "À")     ("a`" "à")
84    ("A``" "A`")    ("a``" "a`")
85    ("A~" "Ã")     ("a~" "ã")
86    ("A~~" "Ă")    ("a~~" "ă")
87    ("A~~~" "A~")           ("a~~~" "a~")
88    ("AE/" "Æ")    ("ae/" "æ")
89    ("AE//" "Æ/")          ("ae//" "æ/")
90    ("AE///" "AE/")         ("ae///" "ae/")
91                    ("a_" "ª")
92                    ("a__" "a_")
93    ("C'" "Ć")     ("c'" "ć")
94    ("C''" "C'")    ("c''" "c'")
95    ("C," "Ç")     ("c," "ç")
96    ("C,," "C,")    ("c,," "c,")
97    ("C." "Ċ")     ("c." "ċ")
98    ("C.." "C.")    ("c.." "c.")
99    ("C^" "Ĉ")     ("c^" "ĉ")
100    ("C^^" "C^")    ("c^^" "c^")
101    ("C~" "Č")     ("c~" "č")  
102    ("C~~" "C~")    ("c~~" "c~")
103                    ("c/" "¢")
104                    ("c//" "c/")
105    ("D/" "Ð")     ("d/" "ð")
106    ("D//" "Đ")    ("d//" "đ")
107    ("D///" "D/")           ("d///" "d/")
108    ("D~" "Ď")     ("d~" "ď")
109    ("D~~" "D~")    ("d~~" "d~")
110    ("E'" "É")     ("e'" "é")
111    ("E''" "E'")    ("e''" "e'")
112    ("E," "Ę")     ("e," "ę")
113    ("E,," "E,")    ("e,," "e,")
114    ("E-" "Ē")     ("e-" "ē")
115    ("E--" "E-")    ("e--" "e-")
116    ("E." "Ė")     ("e." "ė")
117    ("E.." "E.")    ("e.." "e.")
118    ("E\"" "Ë")    ("e\"" "ë")
119    ("E\"\"" "E\"")         ("e\"\"" "e\"")
120    ("E^" "Ê")     ("e^" "ê")
121    ("E^^" "E^")    ("e^^" "e^")
122    ("E`" "È")     ("e`" "è")
123    ("E``" "E`")    ("e``" "e`")
124    ("E~" "Ě")     ("e~" "ě")
125    ("E~~" "Ĕ")    ("e~~" "ĕ")
126    ("E~~~" "E~")           ("e~~~" "e~")
127                    ("e=" "€")
128                    ("e==" "e=")
129    ("G," "Ģ")     ("g," "ģ")
130    ("G,," "G,")    ("g,," "g,")
131    ("G." "Ġ")     ("g." "ġ")
132    ("G.." "G.")    ("g.." "g.")
133    ("G^" "Ĝ")     ("g^" "ĝ")
134    ("G^^" "G^")    ("g^^" "g^")
135    ("G~" "Ğ")     ("g~" "ğ")
136    ("G~~" "G~")    ("g~~" "g~")
137    ("H/" "Ħ")     ("h/" "ħ")
138    ("H//" "H/")    ("h//" "h/")
139    ("H^" "Ĥ")     ("h^" "ĥ")
140    ("H^^" "H^")    ("h^^" "h^")
141    ("I'" "Í")     ("i'" "í")
142    ("I''" "I'")    ("i''" "i'")
143    ("I," "Į")     ("i," "į")
144    ("I,," "I,")    ("i,," "i,")
145    ("I-" "Ī")     ("i-" "ī")
146    ("I--" "I-")    ("i--" "i-")
147    ("I." "İ")     ("i." "ı")
148    ("I.." "I.")    ("i.." "i.")
149    ("I\"" "Ï")    ("i\"" "ï")
150    ("I\"\"" "I\"")         ("i\"\"" "i\"")
151    ("I^" "Î")     ("i^" "î")
152    ("I^^" "I^")    ("i^^" "i^")
153    ("I`" "Ì")     ("i`" "ì")
154    ("I``" "I`")    ("i``" "i`")
155    ("I~" "Ĩ")     ("i~" "ĩ")
156    ("I~~" "Ĭ")    ("i~~" "ĭ")
157    ("I~~~" "I~")           ("i~~~" "i~")
158    ("IJ/" "IJ")    ("ij/" "ij")
159    ("IJ//" "IJ/")          ("ij//" "ij/")
160    ("IJ///" "IJ/")         ("ij///" "ij/")
161    ("J^" "Ĵ")     ("j^" "ĵ")
162    ("J^^" "J^")    ("j^^" "j^")
163    ("K," "Ķ")     ("k," "ķ")
164    ("K,," "K,")    ("k,," "k,")
165                    ("k/" "ĸ")
166                    ("k//" "k/")
167    ("L'" "Ĺ")     ("l'" "ĺ")
168    ("L''" "L'")    ("l''" "l'")
169    ("L," "Ļ")     ("l," "ļ")
170    ("L,," "L,")    ("l,," "l,")
171    ("L." "Ŀ")     ("l." "ŀ")
172    ("L.." "L.")    ("l.." "l.")
173    ("L/" "Ł")     ("l/" "ł")
174    ("L//" "L/")    ("l//" "l/")
175    ("L~" "Ľ")     ("l~" "ľ")
176    ("L~~" "L~")    ("l~~" "l~")
177    ("N'" "Ń")     ("n'" "ń")
178    ("N''" "N'")    ("n''" "n'")
179    ("N," "Ņ")     ("n," "ņ")
180    ("N,," "N,")    ("n,," "n,")
181    ("N/" "Ŋ")     ("n/" "ŋ")
182    ("N//" "N/")    ("n//" "n/")
183    ("N~" "Ñ")     ("n~" "ñ")
184    ("N~~" "Ň")    ("n~~" "ň")
185    ("N~~~" "N~")           ("n~~~" "n~")
186    ("O'" "Ó")     ("o'" "ó")
187    ("O''" "O'")    ("o''" "o'")
188    ("O-" "Ō")     ("o-" "ō")
189    ("O--" "O-")    ("o--" "o-")
190    ("O/" "Ø")     ("o/" "ø")
191    ("O//" "O/")    ("o//" "o/")
192    ("O:" "Ő")     ("o:" "ő")
193    ("O::" "O:")    ("o::" "o:")
194    ("O\"" "Ö")    ("o\"" "ö")
195    ("O\"\"" "O\"")         ("o\"\"" "o\"")
196    ("O^" "Ô")     ("o^" "ô")
197    ("O^^" "O^")    ("o^^" "o^")
198    ("O`" "Ò")     ("o`" "ò")
199    ("O``" "O`")    ("o``" "o`")
200    ("O~" "Õ")     ("o~" "õ")
201    ("O~~" "Ŏ")    ("o~~" "ŏ")
202    ("O~~~" "O~")           ("o~~~" "o~")
203    ("OE/" "Œ")    ("oe/" "œ")
204    ("OE//" "Œ/")          ("oe//" "œ/")
205    ("OE///" "OE/")         ("oe///" "oe/")
206                    ("o_" "º")
207                    ("o__" "o_")
208    ("R'" "Ŕ")     ("r'" "ŕ")
209    ("R''" "R'")    ("r''" "r'")
210    ("R," "Ŗ")     ("r," "ŗ")
211    ("R,," "R,")    ("r,," "r,")
212    ("R~" "Ř")     ("r~" "ř")
213    ("R~~" "R~")    ("r~~" "r~")
214    ("S'" "Ś")     ("s'" "ś")
215    ("S''" "S'")    ("s''" "s'")
216    ("S," "Ş")     ("s," "ş")
217    ("S,," "S,")    ("s,," "s,")
218    ("S^" "Ŝ")     ("s^" "ŝ")
219    ("S^^" "S^")    ("s^^" "s^")
220    ("S~" "Š")     ("s~" "š")
221    ("S~~" "S~")    ("s~~" "s~")
222                    ("s/" "ß")
223                    ("s//" "s/")
224    ("T," "Ţ")     ("t," "ţ")
225    ("T,," "T,")    ("t,," "t,")
226    ("T/" "Þ")     ("t/" "þ")
227    ("T//" "Ŧ")    ("t//" "ŧ")
228    ("T///" "T/")           ("t///" "t/")
229    ("T~" "Ť")     ("t~" "ť")
230    ("T~~" "T~")    ("t~~" "t~")
231    ("U'" "Ú")     ("u'" "ú")
232    ("U''" "U'")    ("u''" "u'")
233    ("U," "Ų")     ("u," "ų")
234    ("U,," "U,")    ("u,," "u,")
235    ("U-" "Ū")     ("u-" "ū")
236    ("U--" "U-")    ("u--" "u-")
237    ("U/" "Ů")     ("u/" "ů")
238    ("U//" "U/")    ("u//" "u/")
239    ("U:" "Ű")     ("u:" "ű")
240    ("U::" "U:")    ("u::" "u:")
241    ("U\"" "Ü")    ("u\"" "ü")
242    ("U\"\"" "U\"")         ("u\"\"" "u\"")
243    ("U^" "Û")     ("u^" "û")
244    ("U^^" "U^")    ("u^^" "u^")
245    ("U`" "Ù")     ("u`" "ù")
246    ("U``" "U`")    ("u``" "u`")
247    ("U~" "Ũ")     ("u~" "ũ")
248    ("U~~" "Ŭ")    ("u~~" "ŭ")
249    ("U~~~" "U~")           ("u~~~" "u~")
250    ("W^" "Ŵ")     ("w^" "ŵ")
251    ("W^^" "W^")    ("w^^" "w^")
252    ("Y'" "Ý")     ("y'" "ý")
253    ("Y''" "Y'")    ("y''" "y'")
254    ("Y^" "Ŷ")     ("y^" "ŷ")
255    ("Y^^" "Y^")    ("y^^" "y^")
256    ("Y\"" "Ÿ")    ("y\"" "ÿ")
257    ("Y\"\"" "Y\"")         ("y\"\"" "y\"")
258    ("Y=" "¥")
259    ("Y==" "Y=")
260    ("Z'" "Ź")     ("z'" "ź")
261    ("Z''" "Z'")    ("z''" "z'")
262    ("Z." "Ż")     ("z." "ż")
263    ("Z.." "Z.")    ("z.." "z.")
264    ("Z~" "Ž")     ("z~" "ž")
265    ("Z~~" "Z~")    ("z~~" "z~")
266    ))
267
268 (state
269   (init
270     (trans)))