Change method name (trans -> transliteration).
[m17n/m17n-contrib.git] / im / cs-kbd.mim
1 ;; cs-kbd.mim -- Czech input method with Czech keyboard layout
2 ;; Copyright (C) 2009  Matěj Cepl <mcepl@redhat.com>
3 ;; This file is created by modifying sk-kbd.mim in the m17n database.
4
5 ;; This file is part of the m17n contrib; a sub-part of the m17n
6 ;; library.
7
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at 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 GNU
16 ;; Lesser General Public License for more details.
17
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
22
23 ;;; Input method for Czech simulating the standard Czech keyboard.
24 ;;; @image html cs-kbd.png "Keyboard Layout"
25 ;;; @image latex cs-kbd.eps "Keyboard Layout" width=\narrowwidth
26
27 ;;      ;° +1  ě2  š3  č4  ř5  ž6  ý7  á8  í9  é0  =%  '+
28 ;;        qQ  wW  eE  rR  tT  yY  uU  iI  oO  pP  ú/  )(
29 ;;         aA  sS  dD  fF  gG  hH  jJ  kK  lL  ů"  §!  ¨'
30 ;;           zZ  xX  cC  vV  bB  nN  mM  ,?  .:  -_
31
32 ;;; You can also input more characters by the following key sequences:
33 ;;; @image html cs-kbd2.png
34 ;;; @image latex cs-kbd2.eps "Extra Keys" width=\narrowwidth
35
36 ;; key char key char key char key char key char key char
37 ;; --- ---- --- ---- --- ---- --- ---- --- ---- --- ----
38 ;; +C  Č    +L  Ľ    +S  Š    +Y  Ž    +r  ř    =R  Ŕ
39 ;; +D  Ď    +N  Ň    +T  Ť    +d  ď    +u  ů    =l  ĺ
40 ;; +E  Ě    +R  Ř    +U  Ů    +e  ě    =L  Ĺ    =r  ŕ
41
42 (input-method cs kbd)
43
44 (description
45  "Czech input method simulating the standard Czech keyboard.
46 This is the keyboard layout.
47       ;° +1  ě2  š3  č4  ř5  ž6  ý7  á8  í9  é0  =%  '+
48         qQ  wW  eE  rR  tT  yY  uU  iI  oO  pP  ú/  )(
49          aA  sS  dD  fF  gG  hH  jJ  kK  lL  ů"  §!  ¨'
50            zZ  xX  cC  vV  bB  nN  mM  ,?  .:  -_
51
52 You can also input more characters by the following key sequences:
53
54 key char key char key char key char key char key char
55 --- ---- --- ---- --- ---- --- ---- --- ---- --- ----
56 +C  Č    +L  Ľ    +S  Š    +Y  Ž    +r  ř    =R  Ŕ
57 +D  Ď    +N  Ň    +T  Ť    +d  ď    +u  ů    =l  ĺ
58 +E  Ě    +R  Ř    +U  Ů    +e  ě    =L  Ĺ    =r  ŕ
59 ")
60
61 (title "CS")
62
63 (map
64  (map
65   ("1" ?+)
66   ("2" ?ě)
67   ("3" ?š)
68   ("4" ?č)
69   ("5" ?ř)
70   ("6" ?ž)
71   ("7" ?ý)
72   ("8" ?á)
73   ("9" ?í)
74   ("0" ?é)
75   ("!" ?1)
76   ("@" ?2)
77   ("#" ?3)
78   ("$" ?4)
79   ("%" ?5)
80   ("^" ?6)
81   ("&" ?7)
82   ("*" ?8)
83   ("(" ?9)
84   (")" ?0)
85   ("-" ?=)
86   ("_" ?%)
87   ("=" ?')
88   ("[" ?ú)
89   ("{" ?/)
90   ("]" ?\))
91   ("}" ?\()
92 ;;  ("\\" ?ň)
93   ("|" ?\')
94   (";" ?ů)
95   (":" ?\")
96   ("'" ?§)
97   ("\"" ?!)
98   ("<" ??)
99   (">" ?:)
100   ("/" ?-)
101   ("?" ?_)
102   ("`" ?\;)
103   ("~" ?°)
104 ;;  ("y" ?z)
105 ;;  ("z" ?y)
106 ;;  ("Y" ?Z)
107 ;;  ("Z" ?Y)
108   ("=a" ?á)
109   ("+a" ?ä)
110   ("+c" ?č)
111   ("+d" ?ď)
112   ("=e" ?é)
113   ("+e" ?ě)
114   ("=i" ?í)
115   ("=l" ?ĺ)
116   ("+l" ?ľ)
117   ("+n" ?ň)
118   ("=o" ?ó)
119   ("+o" ?ô)
120   ("~o" ?ô)
121   ("+=o" ?ö)
122   ("=r" ?ŕ)
123   ("+r" ?ř)
124   ("=s" ?ß)
125   ("+s" ?š)
126   ("+t" ?ť)
127   ("=u" ?ú)
128   ("+u" ?ů)
129   ("+=u" ?ü)
130   ("=z" ?ý)
131   ("+y" ?ž)
132   ("=A" ?Á)
133   ("+A" ?Ä)
134   ("+=A" ?Ä)
135   ("+C" ?Č)
136   ("+D" ?Ď)
137   ("=E" ?É)
138   ("+E" ?Ě)
139   ("=I" ?Í)
140   ("=L" ?Ĺ)
141   ("+L" ?Ľ)
142   ("+N" ?Ň)
143   ("=O" ?Ó)
144   ("+O" ?Ô)
145   ("~O" ?Ô)
146   ("+=O" ?Ö)
147   ("=R" ?Ŕ)
148   ("+R" ?Ř)
149   ("=S" ?ß)
150   ("+S" ?Š)
151   ("+T" ?Ť)
152   ("=U" ?Ú)
153   ("+U" ?Ů)
154   ("+=U" ?Ü)
155   ("=Z" ?Ý)
156   ("+Y" ?Ž)
157   ("=q" ?`)
158   ("=2" ?@)
159   ("=3" ?#)
160   ("=4" ?$)
161   ("=5" ?%)
162   ("=6" ?^)
163   ("=7" ?&)
164   ("=8" ?*)
165   ("=9" ?\()
166   ("=0" ?\))
167   ("+1" ?!)
168   ("+2" ?@)
169   ("+3" ?#)
170   ("+4" ?$)
171   ("+5" ?%)
172   ("+6" ?^)
173   ("+7" ?&)
174   ("+8" ?*)
175   ("+9" ?\()
176   ("+0" ?\))))
177
178 (state
179  (init
180   (map)))
181
182 ;; Local Variables:
183 ;; coding: utf-8
184 ;; mode: lisp
185 ;; End: