New file. Modified from ru-kbd.png.
[m17n/m17n-db.git] / MIM / latn-pre.mim
1 ;; latn-pre.mim -- Latin input method with prefix modifiers
2 ;; Copyright (C) 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 prefix modifiers.
24 ;;; @image html latn-pre.png
25 ;;; @image latex latn-pre.eps "Examples" width=\narrowwidth
26
27 ;; | mark       | prefix | examples
28 ;; |------------+--------+----------
29 ;; | acute      |   '    | 'a -> á, '' -> ´
30 ;; | grave      |   `    | `a -> à  `` -> `
31 ;; | circumflex |   ^    | ^a -> â  ^^ -> ^
32 ;; | diaeresis  |   "    | "a -> ä  "" -> ¨
33 ;; | tilde      |   ~    | ~a -> ã
34 ;; | breve      |   ~    | ~g -> ğ  ~` -> ˘
35 ;; | cedilla    |   ~    | ~c -> ç  ~s -> ş  ~~ -> ¸
36 ;; | caron      |   ~    | ~z -> ž  ~ss -> š
37 ;; | dot above  |  . /   | .g -> ġ  /g -> ġ
38 ;; | misc       |   /    | /a -> å  /e -> æ  /h -> ħ  /o -> ø  /oe -> œ
39 ;; | misc       | " ~ /  | "s -> ß  ~d -> ð  ~t -> þ  /a -> å  /e -> æ  /o -> ø
40 ;; | symbol     |   ~    | ~> -> »  ~< -> «  ~! -> ¡  ~? -> ¿  ~~ -> ¸  ~$ -> £
41 ;; | symbol     |   ~    | ~- -> ­  ~. -> ·  ~= -> ¯  ~| -> ¦  ~sss -> §
42 ;; | symbol     |   _    | _+ -> ±  _: -> ÷  _o -> º  _a -> ª  _y -> ¥
43 ;; | symbol     |   ^    | ^1 -> ¹  ^2 -> ²  ^3 -> ³  ^r -> ®  ^cc -> ©
44 ;; | symbol     |   /    | /2 -> ½  /3 -> ¾  /4 -> ¼  /= -> ?¬
45 ;; | symbol     |   /    | /# -> £  /$ -> ¤  /c -> ¢  /. -> ˙  // -> °  /\ -> ×
46
47 (input-method t latn-pre)
48
49 (description
50  "Latin script input method using prefix modifiers.
51 ;; | mark       | prefix | examples
52 ;; |------------+--------+----------
53 ;; | acute      |   '    | 'a -> á, '' -> ´
54 ;; | grave      |   `    | `a -> à  `` -> `
55 ;; | circumflex |   ^    | ^a -> â  ^^ -> ^
56 ;; | diaeresis  |   \"    | \"a -> ä  \"\" -> ¨
57 ;; | tilde      |   ~    | ~a -> ã
58 ;; | breve      |   ~    | ~g -> ğ  ~` -> ˘
59 ;; | cedilla    |   ~    | ~c -> ç  ~s -> ş  ~~ -> ¸
60 ;; | caron      |   ~    | ~z -> ž  ~ss -> š
61 ;; | dot above  |  . /   | .g -> ġ  /g -> ġ
62 ;; | misc       |   /    | /a -> å  /e -> æ  /h -> ħ  /o -> ø  /oe -> œ
63 ;; | misc       | \" ~ /  | \"s -> ß  ~d -> ð  ~t -> þ  /a -> å  /e -> æ  /o -> ø
64 ;; | symbol     |   ~    | ~> -> »  ~< -> «  ~! -> ¡  ~? -> ¿  ~~ -> ¸  ~$ -> £
65 ;; | symbol     |   ~    | ~- -> ­  ~. -> ·  ~= -> ¯  ~| -> ¦  ~sss -> §
66 ;; | symbol     |   _    | _+ -> ±  _: -> ÷  _o -> º  _a -> ª  _y -> ¥
67 ;; | symbol     |   ^    | ^1 -> ¹  ^2 -> ²  ^3 -> ³  ^r -> ®  ^cc -> ©
68 ;; | symbol     |   /    | /2 -> ½  /3 -> ¾  /4 -> ¼  /= -> ?¬
69 ;; | symbol     |   /    | /# -> £  /$ -> ¤  /c -> ¢  /. -> ˙  // -> °  /\\ -> ×
70 ")
71
72 (title "Latin-pre")
73
74 (map
75  (trans
76   ("''" ?´)
77   ("'A" ?Á)
78   ("'E" ?É)
79   ("'I" ?Í)
80   ("'O" ?Ó)
81   ("'U" ?Ú)
82   ("'W" ?Ẃ)
83   ("'Y" ?Ý)
84   ("'a" ?á)
85   ("'e" ?é)
86   ("'i" ?í)
87   ("'o" ?ó)
88   ("'u" ?ú)
89   ("'w" ?ẃ)
90   ("'y" ?ý)
91   (".B" ?Ḃ)
92   (".C" ?Ċ)
93   (".D" ?Ḋ)
94   (".F" ?Ḟ)
95   (".G" ?Ġ)
96   (".I" ?İ)
97   (".M" ?Ṁ)
98   (".P" ?Ṗ)
99   (".S" ?Ṡ)
100   (".T" ?Ṫ)
101   (".Z" ?Ż)
102   (".b" ?ḃ)
103   (".c" ?ċ)
104   (".d" ?ḋ)
105   (".f" ?ḟ)
106   (".g" ?ġ)
107   (".m" ?ṁ)
108   (".p" ?ṗ)
109   (".s" ?ṡ)
110   (".t" ?ṫ)
111   (".z" ?ż)
112   ("/ " ?/)
113   ("/#" ?£)
114   ("/$" ?¤)
115   ("/." ?˙)
116   ("//" ?°)
117   ("/2" ?½)
118   ("/3" ?¾)
119   ("/4" ?¼)
120   ("/=" ?¬)
121   ("/A" ?Å)
122   ("/E" ?Æ)
123   ("/G" ?Ġ)
124   ("/H" ?Ħ)
125   ("/I" ?İ)
126   ("/O" ?Ø)
127   ("/OE" ?Œ)
128   ("/Z" ?Ż)
129   ("/\\" ?×)
130   ("/a" ?å)
131   ("/c" ?¢)
132   ("/e" ?æ)
133   ("/g" ?ġ)
134   ("/h" ?ħ)
135   ("/i" ?ı)
136   ("/o" ?ø)
137   ("/oe" ?œ)
138   ("/z" ?ż)
139   ("\" " ?\")
140   ("\"A" ?Ä)
141   ("\"E" ?Ë)
142   ("\"I" ?Ï)
143   ("\"O" ?Ö)
144   ("\"U" ?Ü)
145   ("\"W" ?Ẅ)
146   ("\"Y" ?Ÿ)
147   ("\"\"" ?¨)
148   ("\"a" ?ä)
149   ("\"e" ?ë)
150   ("\"i" ?ï)
151   ("\"o" ?ö)
152   ("\"s" ?ß)
153   ("\"u" ?ü)
154   ("\"w" ?ẅ)
155   ("\"y" ?ÿ)
156   ("^ " ?^)
157   ("^1" ?¹)
158   ("^2" ?²)
159   ("^3" ?³)
160   ("^A" ?Â)
161   ("^C" ?Ĉ)
162   ("^E" ?Ê)
163   ("^G" ?Ĝ)
164   ("^H" ?Ĥ)
165   ("^I" ?Î)
166   ("^J" ?Ĵ)
167   ("^O" ?Ô)
168   ("^S" ?Ŝ)
169   ("^U" ?Û)
170   ("^W" ?Ŵ)
171   ("^Y" ?Ŷ)
172   ("^^" ?^)
173   ("^a" ?â)
174   ("^c" ?ĉ)
175   ("^cc" ?©)
176   ("^e" ?ê)
177   ("^g" ?ĝ)
178   ("^h" ?ĥ)
179   ("^i" ?î)
180   ("^j" ?ĵ)
181   ("^o" ?ô)
182   ("^r" ?®)
183   ("^s" ?ŝ)
184   ("^u" ?û)
185   ("^w" ?ŵ)
186   ("^y" ?ŷ)
187   ("_+" ?±)
188   ("_:" ?÷)
189   ("_a" ?ª)
190   ("_o" ?º)
191   ("_y" ?¥)
192   ("__" ?_)
193   ("`A" ?À)
194   ("`E" ?È)
195   ("`I" ?Ì)
196   ("`O" ?Ò)
197   ("`U" ?Ù)
198   ("`W" ?Ẁ)
199   ("`Y" ?Ỳ)
200   ("``" ?`)
201   ("`a" ?à)
202   ("`e" ?è)
203   ("`i" ?ì)
204   ("`o" ?ò)
205   ("`u" ?ù)
206   ("`w" ?ẁ)
207   ("`y" ?ỳ)
208   ("~ " ?~)
209   ("~!" ?¡)
210   ("~$" ?£)
211   ("~-" ?­)
212   ("~." ?·)
213   ("~<" ?\«)
214   ("~=" ?¯)
215   ("~>" ?\»)
216   ("~?" ?¿)
217   ("~A" ?Ã)
218   ("~C" ?Ç)
219   ("~D" ?Ð)
220   ("~G" ?Ğ)
221   ("~N" ?Ñ)
222   ("~O" ?Õ)
223   ("~S" ?Ş)
224   ("~SS" ?Š)
225   ("~T" ?Þ)
226   ("~U" ?Ŭ)
227   ("~Z" ?Ž)
228   ("~`" ?˘)
229   ("~a" ?ã)
230   ("~c" ?ç)
231   ("~d" ?ð)
232   ("~e" ?€)
233   ("~g" ?ğ)
234   ("~n" ?ñ)
235   ("~o" ?õ)
236   ("~p" ?¶)
237   ("~s" ?ş)
238   ("~ss" ?š)
239   ("~sss" ?§)
240   ("~t" ?þ)
241   ("~u" ?ŭ)
242   ("~uu" ?µ)
243   ("~x" ?¤)
244   ("~z" ?ž)
245   ("~|" ?¦)
246   ("~~" ?¸)
247   ))
248
249 (state
250   (init
251     (trans)))