croatian.el 3.2 KB

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