emacs/lisp/leim/quail/slovak.el

555 lines
7.9 KiB
EmacsLisp

;;; slovak.el --- Quail package for inputting Slovak -*-coding: utf-8; lexical-binding: t -*-
;; Copyright (C) 1998, 2001-2024 Free Software Foundation, Inc.
;; Authors: Tibor Šimko <tibor.simko@fmph.uniba.sk>
;; Milan Zamazal <pdm@zamazal.org>
;; Rudolf Adamkovič <salutis@me.com>
;; Maintainer: Pavel Janík <Pavel@Janik.cz>
;; Keywords: i18n, multilingual, input method, Slovak
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; This file defines the following Slovak keyboards:
;; - standard Slovak keyboards, QWERTZ and QWERTY variants
;; - three Slovak keyboards for programmers
;; LocalWords: QWERTZ
;;; Code:
(require 'quail)
(quail-define-package
"slovak" "Slovak" "SK" t
"Standard Slovak QWERTZ keyboard."
nil t nil nil t nil nil nil nil nil t)
(quail-define-rules
("1" ?+)
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("!" ?1)
("@" ?2)
("#" ?3)
("$" ?4)
("%" ?5)
("^" ?6)
("&" ?7)
("*" ?8)
("(" ?9)
(")" ?0)
("-" ?=)
("_" ?%)
("=" ?')
("[" )
("{" ?/)
("]" )
("}" ?\()
("\\" )
("|" ?\))
(";" )
(":" ?\")
("'" )
("\"" ?!)
("<" ??)
(">" ?:)
("/" ?-)
("?" ?_)
("`" ?\;)
("~" ?^)
("y" ?z)
("z" ?y)
("Y" ?Z)
("Z" ?Y)
("=a" )
("+a" )
("+=a" )
("+c" )
("+d" )
("=e" )
("+e" )
("=i" )
("=l" )
("+l" )
("+n" )
("=o" )
("+o" )
("~o" )
("+=o" )
("=r" )
("+r" )
("=s" )
("+s" )
("+t" )
("=u" )
("+u" )
("+=u" )
("=z" )
("+y" )
("=A" )
("+A" )
("+=A" )
("+C" )
("+D" )
("=E" )
("+E" )
("=I" )
("=L" )
("+L" )
("+N" )
("=O" )
("+O" )
("~O" )
("+=O" )
("=R" )
("+R" )
("=S" )
("+S" )
("+T" )
("=U" )
("+U" )
("+=U" )
("=Z" )
("+Y" )
("=q" ?`)
("=2" ?@)
("=3" ?#)
("=4" ?$)
("=5" ?%)
("=6" ?^)
("=7" ?&)
("=8" ?*)
("=9" ?\()
("=0" ?\))
("+1" ?!)
("+2" ?@)
("+3" ?#)
("+4" ?$)
("+5" ?%)
("+6" ?^)
("+7" ?&)
("+8" ?*)
("+9" ?\()
("+0" ?\)))
(quail-define-package
"slovak-qwerty" "Slovak" "SK" t
"Standard Slovak QWERTY keyboard."
nil t nil nil t nil nil nil nil nil t)
(quail-define-rules
("1" ?+)
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("!" ?1)
("@" ?2)
("#" ?3)
("$" ?4)
("%" ?5)
("^" ?6)
("&" ?7)
("*" ?8)
("(" ?9)
(")" ?0)
("-" ?=)
("_" ?%)
("=" ?')
("[" )
("{" ?/)
("]" )
("}" ?\()
("\\" )
("|" ?\))
(";" )
(":" ?\")
("'" )
("\"" ?!)
("<" ??)
(">" ?:)
("/" ?-)
("?" ?_)
("`" ?\;)
("~" ?^)
("=a" )
("+a" )
("+=a" )
("+c" )
("+d" )
("=e" )
("+e" )
("=i" )
("=l" )
("+l" )
("+n" )
("=o" )
("+o" )
("~o" )
("+=o" )
("=r" )
("+r" )
("=s" )
("+s" )
("+t" )
("=u" )
("+u" )
("+=u" )
("=y" )
("+z" )
("=A" )
("+A" )
("+=A" )
("+C" )
("+D" )
("=E" )
("+E" )
("=I" )
("=L" )
("+L" )
("+N" )
("=O" )
("+O" )
("~O" )
("+=O" )
("=R" )
("+R" )
("=S" )
("+S" )
("+T" )
("=U" )
("+U" )
("+=U" )
("=Y" )
("+Z" )
("=q" ?`)
("=2" ?@)
("=3" ?#)
("=4" ?$)
("=5" ?%)
("=6" ?^)
("=7" ?&)
("=8" ?*)
("=9" ?\()
("=0" ?\))
("+1" ?!)
("+2" ?@)
("+3" ?#)
("+4" ?$)
("+5" ?%)
("+6" ?^)
("+7" ?&)
("+8" ?*)
("+9" ?\()
("+0" ?\)))
(quail-define-package
"slovak-prog-1" "Slovak" "SK" t
"Slovak (non-standard) keyboard for programmers #1.
All digits except of `1' are replaced by Slovak characters as on the standard
Slovak keyboard.
Dead keys are on `[', `[[', and `[[['.
All other keys are the same as on standard US keyboard."
nil t nil nil t nil nil nil nil nil t)
(quail-define-rules
("[[[[" ?\[)
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("[a" )
("[[a" )
("[[[a" )
("[c" )
("[[c" )
("[d" )
("[[d" )
("[e" )
("[[e" )
("[i" )
("[l" )
("[[l" )
("[n" )
("[[n" )
("[o" )
("[[o" )
("[[[o" )
("[r" )
("[[r" )
("[s" )
("[[s" )
("[[[s" )
("[t" )
("[[t" )
("[u" )
("[[u" )
("[[[u" )
("[y" )
("[z" )
("[[z" )
("[A" )
("[[A" )
("[[[A" )
("[C" )
("[[C" )
("[D" )
("[[D" )
("[E" )
("[[E" )
("[I" )
("[L" )
("[[L" )
("[N" )
("[[N" )
("[O" )
("[[O" )
("[[[O" )
("[R" )
("[[R" )
("[S" )
("[[S" )
("[[[S" )
("[T" )
("[[T" )
("[U" )
("[[U" )
("[[[U" )
("[Y" )
("[Z" )
("[[Z" ))
(quail-define-package
"slovak-prog-2" "Slovak" "SK" t
"Slovak (non-standard) keyboard for programmers #2.
All digits except of `1' are replaced by Slovak characters as on the standard
Slovak keyboard.
Dead keys are on `=' and `+'.
All other keys are the same as on standard US keyboard."
nil t nil nil t nil nil nil nil nil t)
(quail-define-rules
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("==" ?=)
("++" ?+)
("=+" ?+)
("=2" ?2)
("=3" ?3)
("=4" ?4)
("=5" ?5)
("=6" ?6)
("=7" ?7)
("=8" ?8)
("=9" ?9)
("=0" ?0)
("+2" ?2)
("+3" ?3)
("+4" ?4)
("+5" ?5)
("+6" ?6)
("+7" ?7)
("+8" ?8)
("+9" ?9)
("+0" ?0)
("=a" )
("+a" )
("+=a" )
("+c" )
("+d" )
("=e" )
("+e" )
("=i" )
("=l" )
("+l" )
("+n" )
("=o" )
("+o" )
("+=o" )
("=r" )
("+r" )
("=s" )
("+s" )
("+t" )
("=u" )
("+u" )
("+=u" )
("=y" )
("+z" )
("=A" )
("+A" )
("+=A" )
("+C" )
("+D" )
("=E" )
("+E" )
("=I" )
("=L" )
("+L" )
("+N" )
("=O" )
("+O" )
("+=O" )
("=R" )
("+R" )
("=S" )
("+S" )
("+T" )
("=U" )
("+U" )
("+=U" )
("=Y" )
("+Z" ))
(quail-define-package
"slovak-prog-3" "Slovak" "SK" t
"Slovak (non-standard) keyboard for programmers #3.
Dead keys are on `[', `[[', `[[[', and `]'.
All other keys are the same as on standard US keyboard."
nil t nil nil t nil nil nil nil nil t)
(quail-define-rules
("[[[[" ?\[)
("[]" ?\])
("][" ?\[)
("]]" ?\])
("[a" )
("[[a" )
("[[[a" )
("]a" )
("][a" )
("[c" )
("[[c" )
("]c" )
("[d" )
("[[d" )
("]d" )
("[e" )
("[[e" )
("]e" )
("[i" )
("[l" )
("[[l" )
("]l" )
("[n" )
("[[n" )
("]n" )
("[[o" )
("[[[o" )
("[o" )
("]o" )
("][o" )
("[r" )
("[[r" )
("]r" )
("[s" )
("[[s" )
("[[[s" )
("]s" )
("[t" )
("[[t" )
("]t" )
("[u" )
("[[u" )
("[[[u" )
("]u" )
("][u" )
("[y" )
("[z" )
("[[z" )
("]z" )
("[A" )
("[[A" )
("[[[A" )
("]A" )
("][A" )
("[C" )
("[[C" )
("]C" )
("[D" )
("[[D" )
("]D" )
("[E" )
("[[E" )
("]E" )
("[I" )
("[L" )
("[[L" )
("]L" )
("[N" )
("[[N" )
("]N" )
("[O" )
("[[O" )
("[[[O" )
("]O" )
("][O" )
("[R" )
("[[R" )
("]R" )
("[S" )
("[[S" )
("[[[S" )
("]S" )
("[T" )
("[[T" )
("]T" )
("[U" )
("[[U" )
("[[[U" )
("]U" )
("][U" )
("[Y" )
("[Z" )
("[[Z" )
("]Z" ))
;;; slovak.el ends here