Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / lisp / leim / quail / croatian.el
blobed5e20e59a71357723e12f3c1f307ec1973ceb3f
1 ;;; croatian.el -- Quail package for inputting Croatian -*-coding: utf-8;-*-
3 ;; Copyright (C) 2003-2014 Free Software Foundation, Inc.
5 ;; Author: Hrvoje Nikšić <hniksic@xemacs.org>
6 ;; Keywords: i18n
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation, either version 3 of the License, or
13 ;; (at your option) any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23 ;;; Commentary:
25 ;; Modeled after czech.el by Milan Zamazal.
27 ;;; Code:
29 (require 'quail)
31 (quail-define-package
32 "croatian" "Croatian" "HR" nil
33 "\"Standard\" Croatian keyboard."
34 nil t nil nil nil nil nil nil nil nil t)
36 (quail-define-rules
37 ("@" ?\")
38 ("^" ?&)
39 ("&" ?/)
40 ("*" ?\()
41 ("(" ?\))
42 (")" ?=)
43 ("-" ?\')
44 ("_" ??)
45 ("=" ?+)
46 ("+" ?*)
47 ("[")
48 ("{")
49 ("]")
50 ("}")
51 (";")
52 (":")
53 ("'")
54 ("\"")
55 ("\\")
56 ("|")
57 ("<" ?\;)
58 (">" ?:)
59 ("/" ?-)
60 ("?" ?_)
61 ("y" ?z)
62 ("Y" ?Z)
63 ("z" ?y)
64 ("Z" ?Y))
66 (quail-define-package
67 "croatian-qwerty" "Croatian" "HR" nil
68 "Croatian keyboard without the y/z swap."
69 nil t nil nil nil nil nil nil nil nil t)
71 (quail-define-rules
72 ("@" ?\")
73 ("^" ?&)
74 ("&" ?/)
75 ("*" ?\()
76 ("(" ?\))
77 (")" ?=)
78 ("-" ?\')
79 ("_" ??)
80 ("=" ?+)
81 ("+" ?*)
82 ("[")
83 ("{")
84 ("]")
85 ("}")
86 (";")
87 (":")
88 ("'")
89 ("\"")
90 ("\\")
91 ("|")
92 ("<" ?\;)
93 (">" ?:)
94 ("/" ?-)
95 ("?" ?_))
97 (quail-define-package
98 "croatian-prefix" "Croatian" "HR" nil
99 "Croatian input method, prefix.
101 \"c -> č
102 'c -> ć
103 \"s -> š
104 \"z -> ž
105 /d -> đ"
106 nil t nil nil nil nil nil nil nil nil t)
108 (quail-define-rules
109 ("\"c")
110 ("\"C")
111 ("'c")
112 ("'C")
113 ("\"s")
114 ("\"S")
115 ("\"z")
116 ("\"Z")
117 ("/d")
118 ("/D"))
120 (quail-define-package
121 "croatian-postfix" "Croatian" "HR" nil
122 "Croatian input method, postfix.
124 c\" -> č
125 c' -> ć
126 s\" -> š
127 z\" -> ž
128 d/ -> đ"
129 nil t nil nil nil nil nil nil nil nil t)
131 (quail-define-rules
132 ("c\"")
133 ("C\"")
134 ("c'")
135 ("C'")
136 ("s\"")
137 ("S\"")
138 ("z\"")
139 ("Z\"")
140 ("d/")
141 ("D/"))
143 (quail-define-package
144 "croatian-xy" "Croatian" "HR" nil
145 "An alternative Croatian input method.
147 cx -> č
148 cy -> ć
149 sx -> š
150 zx -> ž
151 dy -> đ"
152 nil t nil nil nil nil nil nil nil nil t)
154 (quail-define-rules
155 ("cx")
156 ("CX")
157 ("Cx")
158 ("cy")
159 ("CY")
160 ("Cy")
161 ("sx")
162 ("SX")
163 ("Sx")
164 ("zx")
165 ("ZX")
166 ("Zx")
167 ("dy")
168 ("DY")
169 ("Dy"))
171 (quail-define-package
172 "croatian-cc" "Croatian" "HR" nil
173 "Another alternative Croatian input method.
175 cc -> č
176 ch -> ć
177 ss -> š
178 zz -> ž
179 dd -> đ"
180 nil t nil nil nil nil nil nil nil nil t)
182 (quail-define-rules
183 ("cc")
184 ("CC")
185 ("Cc")
186 ("ch")
187 ("CH")
188 ("Ch")
189 ("ss")
190 ("SS")
191 ("Ss")
192 ("zz")
193 ("ZZ")
194 ("Zz")
195 ("dd")
196 ("DD")
197 ("Dd"))
199 ;;; croatian.el ends here