[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC czech-translit input method
From: |
Richard Zidlicky |
Subject: |
Re: RFC czech-translit input method |
Date: |
Wed, 20 Jan 2010 11:55:12 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hi,
sorry, previous post was missing one rule - ("ie" ?ě)
Richard
;; enter Czech accented keys by combination of ASCII letters.
;; Works well because the used double letter combinations are very rare
;; - with the exception of "ie" which is frequent in words of foreign origin.
;; To deal with foreign words and names it is essential to have
toggle-input-method
;; bound to a very convenient key
(quail-define-package
"czech-translit" "Czech" "cz-tr" t ; name, language, title guidance
"Intuitively transliterated keyboard layout for Czech:
aa -> á, ee -> é, AA -> Á ...
cc -> č, rr -> ř , tt -> ť ...
nj -> ň, dj -> ď
ie -> ě
uu -> ú
uo -> ů
exceptions and strange cases:
iee -> ié
iie -> ie
eee -> ee
other
iii -> i
"
nil t ; translation-keys, forget-last-selection
t t ; deterministic, kbd-translate
t nil ; show-layout, create-decode-map
nil nil ; maximum-shortest (non-greedy), overlay-plist
nil nil ; update-translation-function, conversion-keys
t ; simple
)
(quail-define-rules
("aa" ?á)
("ee" ?é)
("eee" ["ee"])
("ii" ?í)
("ie" ?ě)
("iee" ["ié"])
("iie" ["ie"])
("iii" ?i)
("oo" ?ó)
("uu" ?ú)
("uo" ?ů)
("yy" ?ý)
("AA" ?Á)
("EE" ?É)
("II" ?Í)
("III" ?Í)
("OO" ?Ó)
("UU" ?Ú)
("YY" ?Ý)
("cc" ?č)
("dj" ?ď)
("nj" ?ň)
("rr" ?ř)
("ss" ?š)
("tt" ?ť)
("zz" ?ž)
("CC" ?Č)
("DJ" ?Ď)
("NJ" ?Ň)
("RR" ?Ř)
("SS" ?Š)
("TT" ?Ť)
("ZZ" ?Ž)
("IE" ?Ě)
)