Merge si-wijesekera-preedit.mim to si-wijesekera.mim.
[m17n/m17n-db.git] / MIM / latn-post.mim
1 ;; latn-post.mim -- Latin input method with postfix modifiers
2 ;; Copyright (C) 2003, 2004, 2005
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., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
22
23 ;;; Input method for Latin script with postfix modifiers.
24 ;;; @image html latn-post.png
25 ;;; @image latex latn-post.eps "Examples" width=\narrowwidth
26
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:
48 ;;  Ex: A~ -> Ã, A~~ -> Ă, A~~~ -> A~
49
50 (input-method t latn-post)
51
52 (description
53  "Latin script input method using postfix modifiers.
54    | mark       | postfix | examples
55    |------------+---------+----------
56    | acute      |    '    | a' -> á
57    | grave      |    `    | a` -> à
58    | circumflex |    ^    | a^ -> â
59    | diaeresis  |    \"    | a\" -> ä
60    | tilde      |    ~    | a~ -> ã
61    | cedilla    |    ,    | c, -> ç
62    | ogonek     |    ,    | a, -> ą
63    | breve      |    ~    | g~ -> ğ
64    | caron      |    ~    | c~ -> č
65    | dbl. acute |    :    | o: -> ő
66    | ring       |    .    | u. -> ů
67    | dot        |    .    | z. -> ż
68    | stroke     |    /    | l/ -> ł
69    | others     | /, etc. | d/ -> ð   t/ -> þ   a/ -> å   o/ -> ø
70    |            |         | ae/ -> æ  ij -> ij   oe/ -> œ  s/ -> ß
71    |            |         | ?/ -> ¿   !/ -> ¡   // -> °
72    |            |         | << -> «   >> -> »   o_ -> º   a_ -> ª
73  
74 Repeating the postfix changes ambiguous combining marks:
75   Ex: A~ -> Ã, A~~ -> Ă, A~~~ -> A~
76 ")
77
78 (title "Latin-post")
79
80 (map
81   (trans
82    ("!/" "¡")
83    ("!//" "!/")
84    ("//" "°")
85    ("///" "//")
86    ("<<" "\«")
87    ("<<<" "<<")
88    (">>" "\»")
89    (">>>" ">>")
90    ("?/" "¿")
91    ("?//" "?/")
92    ("$/" "£")
93    ("$//" "¤")
94    ("$///" "$/")
95
96    ("A'" "Á")     ("a'" "á")
97    ("A''" "A'")    ("a''" "a'")
98    ("A," "Ą")     ("a," "ą")
99    ("A,," "A,")    ("a,," "a,")
100    ("A-" "Ā")     ("a-" "ā")
101    ("A--" "A-")    ("a--" "a-")
102    ("A/" "Å")     ("a/" "å")
103    ("A//" "A/")    ("a//" "a/")
104    ("A\"" "Ä")    ("a\"" "ä")
105    ("A\"\"" "A\"")         ("a\"\"" "a\"")
106    ("A^" "Â")     ("a^" "â")
107    ("A^^" "A^")    ("a^^" "a^")
108    ("A`" "À")     ("a`" "à")
109    ("A``" "A`")    ("a``" "a`")
110    ("A~" "Ã")     ("a~" "ã")
111    ("A~~" "Ă")    ("a~~" "ă")
112    ("A~~~" "A~")           ("a~~~" "a~")
113    ("AE/" "Æ")    ("ae/" "æ")
114    ("AE//" "Æ/")          ("ae//" "æ/")
115    ("AE///" "AE/")         ("ae///" "ae/")
116                    ("a_" "ª")
117                    ("a__" "a_")
118    ("C'" "Ć")     ("c'" "ć")
119    ("C''" "C'")    ("c''" "c'")
120    ("C," "Ç")     ("c," "ç")
121    ("C,," "C,")    ("c,," "c,")
122    ("C." "Ċ")     ("c." "ċ")
123    ("C.." "C.")    ("c.." "c.")
124    ("C^" "Ĉ")     ("c^" "ĉ")
125    ("C^^" "C^")    ("c^^" "c^")
126    ("C~" "Č")     ("c~" "č")  
127    ("C~~" "C~")    ("c~~" "c~")
128                    ("c/" "¢")
129                    ("c//" "c/")
130    ("D/" "Ð")     ("d/" "ð")
131    ("D//" "Đ")    ("d//" "đ")
132    ("D///" "D/")           ("d///" "d/")
133    ("D~" "Ď")     ("d~" "ď")
134    ("D~~" "D~")    ("d~~" "d~")
135    ("E'" "É")     ("e'" "é")
136    ("E''" "E'")    ("e''" "e'")
137    ("E," "Ę")     ("e," "ę")
138    ("E,," "E,")    ("e,," "e,")
139    ("E-" "Ē")     ("e-" "ē")
140    ("E--" "E-")    ("e--" "e-")
141    ("E." "Ė")     ("e." "ė")
142    ("E.." "E.")    ("e.." "e.")
143    ("E\"" "Ë")    ("e\"" "ë")
144    ("E\"\"" "E\"")         ("e\"\"" "e\"")
145    ("E^" "Ê")     ("e^" "ê")
146    ("E^^" "E^")    ("e^^" "e^")
147    ("E`" "È")     ("e`" "è")
148    ("E``" "E`")    ("e``" "e`")
149    ("E~" "Ě")     ("e~" "ě")
150    ("E~~" "Ĕ")    ("e~~" "ĕ")
151    ("E~~~" "E~")           ("e~~~" "e~")
152                    ("e=" "€")
153                    ("e==" "e=")
154    ("G," "Ģ")     ("g," "ģ")
155    ("G,," "G,")    ("g,," "g,")
156    ("G." "Ġ")     ("g." "ġ")
157    ("G.." "G.")    ("g.." "g.")
158    ("G^" "Ĝ")     ("g^" "ĝ")
159    ("G^^" "G^")    ("g^^" "g^")
160    ("G~" "Ğ")     ("g~" "ğ")
161    ("G~~" "G~")    ("g~~" "g~")
162    ("H/" "Ħ")     ("h/" "ħ")
163    ("H//" "H/")    ("h//" "h/")
164    ("H^" "Ĥ")     ("h^" "ĥ")
165    ("H^^" "H^")    ("h^^" "h^")
166    ("I'" "Í")     ("i'" "í")
167    ("I''" "I'")    ("i''" "i'")
168    ("I," "Į")     ("i," "į")
169    ("I,," "I,")    ("i,," "i,")
170    ("I-" "Ī")     ("i-" "ī")
171    ("I--" "I-")    ("i--" "i-")
172    ("I." "İ")     ("i." "ı")
173    ("I.." "I.")    ("i.." "i.")
174    ("I\"" "Ï")    ("i\"" "ï")
175    ("I\"\"" "I\"")         ("i\"\"" "i\"")
176    ("I^" "Î")     ("i^" "î")
177    ("I^^" "I^")    ("i^^" "i^")
178    ("I`" "Ì")     ("i`" "ì")
179    ("I``" "I`")    ("i``" "i`")
180    ("I~" "Ĩ")     ("i~" "ĩ")
181    ("I~~" "Ĭ")    ("i~~" "ĭ")
182    ("I~~~" "I~")           ("i~~~" "i~")
183    ("IJ/" "IJ")    ("ij/" "ij")
184    ("IJ//" "IJ/")          ("ij//" "ij/")
185    ("IJ///" "IJ/")         ("ij///" "ij/")
186    ("J^" "Ĵ")     ("j^" "ĵ")
187    ("J^^" "J^")    ("j^^" "j^")
188    ("K," "Ķ")     ("k," "ķ")
189    ("K,," "K,")    ("k,," "k,")
190                    ("k/" "ĸ")
191                    ("k//" "k/")
192    ("L'" "Ĺ")     ("l'" "ĺ")
193    ("L''" "L'")    ("l''" "l'")
194    ("L," "Ļ")     ("l," "ļ")
195    ("L,," "L,")    ("l,," "l,")
196    ("L." "Ŀ")     ("l." "ŀ")
197    ("L.." "L.")    ("l.." "l.")
198    ("L/" "Ł")     ("l/" "ł")
199    ("L//" "L/")    ("l//" "l/")
200    ("L~" "Ľ")     ("l~" "ľ")
201    ("L~~" "L~")    ("l~~" "l~")
202    ("N'" "Ń")     ("n'" "ń")
203    ("N''" "N'")    ("n''" "n'")
204    ("N," "Ņ")     ("n," "ņ")
205    ("N,," "N,")    ("n,," "n,")
206    ("N/" "Ŋ")     ("n/" "ŋ")
207    ("N//" "N/")    ("n//" "n/")
208    ("N~" "Ñ")     ("n~" "ñ")
209    ("N~~" "Ň")    ("n~~" "ň")
210    ("N~~~" "N~")           ("n~~~" "n~")
211    ("O'" "Ó")     ("o'" "ó")
212    ("O''" "O'")    ("o''" "o'")
213    ("O-" "Ō")     ("o-" "ō")
214    ("O--" "O-")    ("o--" "o-")
215    ("O/" "Ø")     ("o/" "ø")
216    ("O//" "O/")    ("o//" "o/")
217    ("O:" "Ő")     ("o:" "ő")
218    ("O::" "O:")    ("o::" "o:")
219    ("O\"" "Ö")    ("o\"" "ö")
220    ("O\"\"" "O\"")         ("o\"\"" "o\"")
221    ("O^" "Ô")     ("o^" "ô")
222    ("O^^" "O^")    ("o^^" "o^")
223    ("O`" "Ò")     ("o`" "ò")
224    ("O``" "O`")    ("o``" "o`")
225    ("O~" "Õ")     ("o~" "õ")
226    ("O~~" "Ŏ")    ("o~~" "ŏ")
227    ("O~~~" "O~")           ("o~~~" "o~")
228    ("OE/" "Œ")    ("oe/" "œ")
229    ("OE//" "Œ/")          ("oe//" "œ/")
230    ("OE///" "OE/")         ("oe///" "oe/")
231                    ("o_" "º")
232                    ("o__" "o_")
233    ("R'" "Ŕ")     ("r'" "ŕ")
234    ("R''" "R'")    ("r''" "r'")
235    ("R," "Ŗ")     ("r," "ŗ")
236    ("R,," "R,")    ("r,," "r,")
237    ("R~" "Ř")     ("r~" "ř")
238    ("R~~" "R~")    ("r~~" "r~")
239    ("S'" "Ś")     ("s'" "ś")
240    ("S''" "S'")    ("s''" "s'")
241    ("S," "Ş")     ("s," "ş")
242    ("S,," "S,")    ("s,," "s,")
243    ("S^" "Ŝ")     ("s^" "ŝ")
244    ("S^^" "S^")    ("s^^" "s^")
245    ("S~" "Š")     ("s~" "š")
246    ("S~~" "S~")    ("s~~" "s~")
247                    ("s/" "ß")
248                    ("s//" "s/")
249    ("T," "Ţ")     ("t," "ţ")
250    ("T,," "T,")    ("t,," "t,")
251    ("T/" "Þ")     ("t/" "þ")
252    ("T//" "Ŧ")    ("t//" "ŧ")
253    ("T///" "T/")           ("t///" "t/")
254    ("T~" "Ť")     ("t~" "ť")
255    ("T~~" "T~")    ("t~~" "t~")
256    ("U'" "Ú")     ("u'" "ú")
257    ("U''" "U'")    ("u''" "u'")
258    ("U," "Ų")     ("u," "ų")
259    ("U,," "U,")    ("u,," "u,")
260    ("U-" "Ū")     ("u-" "ū")
261    ("U--" "U-")    ("u--" "u-")
262    ("U/" "Ů")     ("u/" "ů")
263    ("U//" "U/")    ("u//" "u/")
264    ("U:" "Ű")     ("u:" "ű")
265    ("U::" "U:")    ("u::" "u:")
266    ("U\"" "Ü")    ("u\"" "ü")
267    ("U\"\"" "U\"")         ("u\"\"" "u\"")
268    ("U^" "Û")     ("u^" "û")
269    ("U^^" "U^")    ("u^^" "u^")
270    ("U`" "Ù")     ("u`" "ù")
271    ("U``" "U`")    ("u``" "u`")
272    ("U~" "Ũ")     ("u~" "ũ")
273    ("U~~" "Ŭ")    ("u~~" "ŭ")
274    ("U~~~" "U~")           ("u~~~" "u~")
275    ("W^" "Ŵ")     ("w^" "ŵ")
276    ("W^^" "W^")    ("w^^" "w^")
277    ("Y'" "Ý")     ("y'" "ý")
278    ("Y''" "Y'")    ("y''" "y'")
279    ("Y^" "Ŷ")     ("y^" "ŷ")
280    ("Y^^" "Y^")    ("y^^" "y^")
281    ("Y\"" "Ÿ")    ("y\"" "ÿ")
282    ("Y\"\"" "Y\"")         ("y\"\"" "y\"")
283    ("Y=" "¥")
284    ("Y==" "Y=")
285    ("Z'" "Ź")     ("z'" "ź")
286    ("Z''" "Z'")    ("z''" "z'")
287    ("Z." "Ż")     ("z." "ż")
288    ("Z.." "Z.")    ("z.." "z.")
289    ("Z~" "Ž")     ("z~" "ž")
290    ("Z~~" "Z~")    ("z~~" "z~")
291    ))
292
293 (state
294   (init
295     (trans)))
296
297 ;; Local Variables:
298 ;; mode: lisp
299 ;; End: