Fix typos and spacing.
[emacs.git] / leim / quail / croatian.el
blob9073371d73efca24d79881f50cd067d4d76bf090
1 ;;; quail/croatian.el -- Quail package for inputing Croatian -*-coding: iso-8859-2;-*-
3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 ;; Free Software Foundation, Inc.
6 ;; Author: Hrvoje Nik¹iæ <hniksic@xemacs.org>
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 3 of the License, or
14 ;; (at your option) 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. If not, see <http://www.gnu.org/licenses/>.
24 ;;; Commentary:
26 ;; Modeled after czech.el by Milan Zamazal.
28 ;;; Code:
30 (require 'quail)
32 (quail-define-package
33 "croatian" "Croatian" "HR" nil
34 "\"Standard\" Croatian keyboard."
35 nil t nil nil nil nil nil nil nil nil t)
37 (quail-define-rules
38 ("@" ?\")
39 ("^" ?&)
40 ("&" ?/)
41 ("*" ?\()
42 ("(" ?\))
43 (")" ?=)
44 ("-" ?\')
45 ("_" ??)
46 ("=" ?+)
47 ("+" ?*)
48 ("[")
49 ("{")
50 ("]")
51 ("}")
52 (";")
53 (":")
54 ("'")
55 ("\"")
56 ("\\")
57 ("|")
58 ("<" ?\;)
59 (">" ?:)
60 ("/" ?-)
61 ("?" ?_)
62 ("y" ?z)
63 ("Y" ?Z)
64 ("z" ?y)
65 ("Z" ?Y))
67 (quail-define-package
68 "croatian-qwerty" "Croatian" "HR" nil
69 "Croatian keyboard without the y/z swap."
70 nil t nil nil nil nil nil nil nil nil t)
72 (quail-define-rules
73 ("@" ?\")
74 ("^" ?&)
75 ("&" ?/)
76 ("*" ?\()
77 ("(" ?\))
78 (")" ?=)
79 ("-" ?\')
80 ("_" ??)
81 ("=" ?+)
82 ("+" ?*)
83 ("[")
84 ("{")
85 ("]")
86 ("}")
87 (";")
88 (":")
89 ("'")
90 ("\"")
91 ("\\")
92 ("|")
93 ("<" ?\;)
94 (">" ?:)
95 ("/" ?-)
96 ("?" ?_))
98 (quail-define-package
99 "croatian-prefix" "Croatian" "HR" nil
100 "Croatian input method, postfix.
102 \"c -> è
103 'c -> æ
104 \"s -> ¹
105 \"z -> ¾
106 /d -> ð"
107 nil t nil nil nil nil nil nil nil nil t)
109 (quail-define-rules
110 ("\"c")
111 ("\"C")
112 ("'c")
113 ("'C")
114 ("\"s")
115 ("\"S")
116 ("\"z")
117 ("\"Z")
118 ("/d")
119 ("/D"))
121 (quail-define-package
122 "croatian-postfix" "Croatian" "HR" nil
123 "Croatian input method, postfix.
125 c\" -> è
126 c' -> æ
127 s\" -> ¹
128 z\" -> ¾
129 d/ -> ð"
130 nil t nil nil nil nil nil nil nil nil t)
132 (quail-define-rules
133 ("c\"")
134 ("C\"")
135 ("c'")
136 ("C'")
137 ("s\"")
138 ("S\"")
139 ("z\"")
140 ("Z\"")
141 ("d/")
142 ("D/"))
144 (quail-define-package
145 "croatian-xy" "Croatian" "HR" nil
146 "An alternative Croatian input method.
148 cx -> è
149 cy -> æ
150 sx -> ¹
151 zx -> ¾
152 dy -> ð"
153 nil t nil nil nil nil nil nil nil nil t)
155 (quail-define-rules
156 ("cx")
157 ("CX")
158 ("Cx")
159 ("cy")
160 ("CY")
161 ("Cy")
162 ("sx")
163 ("SX")
164 ("Sx")
165 ("zx")
166 ("ZX")
167 ("Zx")
168 ("dy")
169 ("DY")
170 ("Dy"))
172 (quail-define-package
173 "croatian-cc" "Croatian" "HR" nil
174 "Another alternative Croatian input method.
176 cc -> è
177 ch -> æ
178 ss -> ¹
179 zz -> ¾
180 dd -> ð"
181 nil t nil nil nil nil nil nil nil nil t)
183 (quail-define-rules
184 ("cc")
185 ("CC")
186 ("Cc")
187 ("ch")
188 ("CH")
189 ("Ch")
190 ("ss")
191 ("SS")
192 ("Ss")
193 ("zz")
194 ("ZZ")
195 ("Zz")
196 ("dd")
197 ("DD")
198 ("Dd"))
200 ;; arch-tag: 8cb44078-9c51-4e81-9ef8-7d5b89f62e31
201 ;;; croatian.el ends here