*** empty log message ***
[emacs.git] / leim / quail / croatian.el
blobca4167372910e7ed924d4c9b36b7dbbe1882c426
1 ;;; quail/croatian.el -- Quail package for inputing Croatian -*-coding: iso-8859-2;-*-
3 ;; Copyright (C) 2002 Free Software Foundation.
5 ;; Author: Hrvoje Nik¹iæ <hniksic@xemacs.org>,
6 ;; modeled after czech.el by Milan Zamazal.
7 ;; Keywords: i18n
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
26 ;;; Code:
28 (require 'quail)
30 (quail-define-package
31 "croatian" "Croatian" "HR" nil
32 "\"Standard\" Croatian keyboard."
33 nil t nil nil nil nil nil nil nil nil t)
35 (quail-define-rules
36 ("@" ?\")
37 ("^" ?&)
38 ("&" ?/)
39 ("*" ?\()
40 ("(" ?\))
41 (")" ?=)
42 ("-" ?\')
43 ("_" ??)
44 ("=" ?+)
45 ("+" ?*)
46 ("[")
47 ("{")
48 ("]")
49 ("}")
50 (";")
51 (":")
52 ("'")
53 ("\"")
54 ("\\")
55 ("|")
56 ("<" ?\;)
57 (">" ?:)
58 ("/" ?-)
59 ("?" ?_)
60 ("y" ?z)
61 ("Y" ?Z)
62 ("z" ?y)
63 ("Z" ?Y))
65 (quail-define-package
66 "croatian-qwerty" "Croatian" "HR" nil
67 "Croatian keyboard without the y/z swap."
68 nil t nil nil nil nil nil nil nil nil t)
70 (quail-define-rules
71 ("@" ?\")
72 ("^" ?&)
73 ("&" ?/)
74 ("*" ?\()
75 ("(" ?\))
76 (")" ?=)
77 ("-" ?\')
78 ("_" ??)
79 ("=" ?+)
80 ("+" ?*)
81 ("[")
82 ("{")
83 ("]")
84 ("}")
85 (";")
86 (":")
87 ("'")
88 ("\"")
89 ("\\")
90 ("|")
91 ("<" ?\;)
92 (">" ?:)
93 ("/" ?-)
94 ("?" ?_))
96 (quail-define-package
97 "croatian-prefix" "Croatian" "HR" nil
98 "Croatian input method, postfix.
100 \"c -> è
101 'c -> æ
102 \"s -> ¹
103 \"z -> ¾
104 /d -> ð"
105 nil t nil nil nil nil nil nil nil nil t)
107 (quail-define-rules
108 ("\"c")
109 ("\"C")
110 ("'c")
111 ("'C")
112 ("\"s")
113 ("\"S")
114 ("\"z")
115 ("\"Z")
116 ("/d")
117 ("/D"))
119 (quail-define-package
120 "croatian-postfix" "Croatian" "HR" nil
121 "Croatian input method, postfix.
123 c\" -> è
124 c' -> æ
125 s\" -> ¹
126 z\" -> ¾
127 d/ -> ð"
128 nil t nil nil nil nil nil nil nil nil t)
130 (quail-define-rules
131 ("c\"")
132 ("C\"")
133 ("c'")
134 ("C'")
135 ("s\"")
136 ("S\"")
137 ("z\"")
138 ("Z\"")
139 ("d/")
140 ("D/"))
142 (quail-define-package
143 "croatian-xy" "Croatian" "HR" nil
144 "An alternative Croatian input method.
146 cx -> è
147 cy -> æ
148 sx -> ¹
149 zx -> ¾
150 dy -> ð"
151 nil t nil nil nil nil nil nil nil nil t)
153 (quail-define-rules
154 ("cx")
155 ("CX")
156 ("Cx")
157 ("cy")
158 ("CY")
159 ("Cy")
160 ("sx")
161 ("SX")
162 ("Sx")
163 ("zx")
164 ("ZX")
165 ("Zx")
166 ("dy")
167 ("DY")
168 ("Dy"))
170 (quail-define-package
171 "croatian-cc" "Croatian" "HR" nil
172 "Another alternative Croatian input method.
174 cc -> è
175 ch -> æ
176 ss -> ¹
177 zz -> ¾
178 dd -> ð"
179 nil t nil nil nil nil nil nil nil nil t)
181 (quail-define-rules
182 ("cc")
183 ("CC")
184 ("Cc")
185 ("ch")
186 ("CH")
187 ("Ch")
188 ("ss")
189 ("SS")
190 ("Ss")
191 ("zz")
192 ("ZZ")
193 ("Zz")
194 ("dd")
195 ("DD")
196 ("Dd"))