emacs/lisp/leim/quail/czech.el

514 lines
7.7 KiB
EmacsLisp

;;; czech.el --- Quail package for inputting Czech -*-coding: utf-8; lexical-binding:t -*-
;; Copyright (C) 1998, 2001-2024 Free Software Foundation, Inc.
;; Author: Milan Zamazal <pdm@zamazal.org>
;; Maintainer: Pavel Janík <Pavel@Janik.cz>
;; Keywords: i18n, multilingual, input method, Czech
;; 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 Czech keyboards:
;; - "standard" Czech keyboard in the Windoze NT 105 keys version (both
;; "QWERTZ" and "QWERTY" versions)
;; - three non-standard Czech keyboards for programmers
;;; Code:
(require 'quail)
(quail-define-package
"czech" "Czech" "CZ" t
"\"Standard\" Czech keyboard in the Windows NT 105 keys version."
nil t t t 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" )
("\\o" )
("\\s" )
("\\u" )
("\\A" )
("\\O" )
("\\S" )
("\\U" )
("~u" )
("~U" )
("=a" )
("+c" )
("+d" )
("=e" )
("+e" )
("=i" )
("+n" )
("=o" )
("+r" )
("+s" )
("+t" )
("=u" )
("=z" )
("+y" )
("=A" )
("+C" )
("+D" )
("=E" )
("+E" )
("=I" )
("+N" )
("=O" )
("+R" )
("+S" )
("+T" )
("=U" )
("=Z" )
("+Y" )
("=1" ?!)
("=2" ?@)
("=3" ?#)
("=4" ?$)
("=5" ?%)
("=6" ?^)
("=7" ?&)
("=8" ?*)
("=9" ?\()
("=0" ?\))
("+1" ?!)
("+2" ?@)
("+3" ?#)
("+4" ?$)
("+5" ?%)
("+6" ?^)
("+7" ?&)
("+8" ?*)
("+9" ?\()
("+0" ?\))
("=<" ?<)
("=>" ?>)
("=[" ?\[)
("=]" ?\])
("={" ?{)
("=}" ?}))
(quail-define-package
"czech-qwerty" "Czech" "CZ" t
"\"Standard\" Czech keyboard in the Windows NT 105 keys version, QWERTY layout."
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" )
("\\o" )
("\\s" )
("\\u" )
("\\A" )
("\\O" )
("\\S" )
("\\U" )
("~u" )
("~U" )
("=a" )
("+c" )
("+d" )
("=e" )
("+e" )
("=i" )
("+n" )
("=o" )
("+r" )
("+s" )
("+t" )
("=u" )
("=y" )
("+z" )
("=A" )
("+C" )
("+D" )
("=E" )
("+E" )
("=I" )
("+N" )
("=O" )
("+R" )
("+S" )
("+T" )
("=Y" )
("+Z" )
("=U" )
("=1" ?!)
("=2" ?@)
("=3" ?#)
("=4" ?$)
("=5" ?%)
("=6" ?^)
("=7" ?&)
("=8" ?*)
("=9" ?\()
("=0" ?\))
("+1" ?!)
("+2" ?@)
("+3" ?#)
("+4" ?$)
("+5" ?%)
("+6" ?^)
("+7" ?&)
("+8" ?*)
("+9" ?\()
("+0" ?\))
("=<" ?<)
("=>" ?>)
("=[" ?\[)
("=]" ?\])
("={" ?{)
("=}" ?}))
(quail-define-package
"czech-prog-1" "Czech" "CZ" t
"Czech (non-standard) keyboard for programmers #1.
All digits except of `1' are replaced by Czech characters as on the standard
Czech keyboard.
`1' is replaced by `+'.
`+' is a dead key. Multiple presses of the dead key generate various accents.
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
("1" ?+)
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("+1" ?1)
("+2" ?2)
("+3" ?3)
("+4" ?4)
("+5" ?5)
("+6" ?6)
("+7" ?7)
("+8" ?8)
("+9" ?9)
("+0" ?0)
("+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" )
("+C" )
("+D" )
("+E" )
("++E" )
("+I" )
("+L" )
("++L" )
("+N" )
("+O" )
("++O" )
("+++O" )
("+R" )
("++R" )
("+S" )
("++S" )
("+T" )
("+U" )
("++U" )
("+++U" )
("+Y" )
("+Z" ))
(quail-define-package
"czech-prog-2" "Czech" "CZ" t
"Czech (non-standard) keyboard for programmers #2.
All digits except of `1' are replaced by Czech characters as on the standard
Czech keyboard.
`1' is replaced by `ů'.
`+' is a dead key. Multiple presses of the dead key generate various accents.
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
("1" )
("2" )
("3" )
("4" )
("5" )
("6" )
("7" )
("8" )
("9" )
("0" )
("+1" ?1)
("+2" ?2)
("+3" ?3)
("+4" ?4)
("+5" ?5)
("+6" ?6)
("+7" ?7)
("+8" ?8)
("+9" ?9)
("+0" ?0)
("+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" )
("+C" )
("+D" )
("+E" )
("++E" )
("+I" )
("+L" )
("++L" )
("+N" )
("+O" )
("++O" )
("+++O" )
("+R" )
("++R" )
("+S" )
("++S" )
("+T" )
("+U" )
("++U" )
("+++U" )
("+Y" )
("+Z" ))
(quail-define-package
"czech-prog-3" "Czech" "CZ" t
"Czech (non-standard) keyboard for programmers compatible with the default
keyboard from the obsolete `emacs-czech' package.
All digits except of `1' are replaced by Czech characters as on the standard
Czech keyboard.
`[' and `]' are replaced with `ú' and `ů', respectively.
There are two dead keys on `=' and `+'. Characters with diaereses are
accessible through `+='.
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" )
("[" )
("]" )
("==" ?=)
("++" ?+)
("=+" ?+)
("=[" ?\[)
("=]" ?\])
("+[" ?\[)
("+]" ?\])
("=1" ?1)
("=2" ?2)
("=3" ?3)
("=4" ?4)
("=5" ?5)
("=6" ?6)
("=7" ?7)
("=8" ?8)
("=9" ?9)
("=0" ?0)
("+1" ?1)
("+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" ))
;;; czech.el ends here