1 ;;; vntelex.el --- Quail package for Vietnamese by Telex method
3 ;; Copyright (C) 2001-2012 Free Software Foundation, Inc.
5 ;; Author: Werner Lemberg <wl@gnu.org>
6 ;; Keywords: multilingual, input method, Vietnamese
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/>.
25 ;; based on the files VietnameseTelex.kmap (written by Nguyen Thanh
26 ;; Bien <biennt@linuxvn.com>) and VNtelex.kmap (written by Nguyen Dai
27 ;; Quy <DaiQuy.Nguyen@ulg.ac.be>) from the yudit 2.4 package
35 "vietnamese-telex" ; NAME
36 "Vietnamese" ; LANGUAGE
39 "Vietnamese telex input method
41 Vowels with circumflex:
43 aa -> \e,1b\e(B, EE -> \e,2j\e(B, etc.
47 effect postfix examples
48 ------------------------------
49 breve w aw -> \e,1e\e(B
50 horn w ow -> \e,1=\e(B
52 acute s as -> \e,1a\e(B
53 grave f af -> \e,1`\e(B
54 hook above r ar -> \e,1d\e(B
55 tilde x ax -> \e,1c\e(B
56 dot below j aj -> \e,1U\e(B
62 AWF -> \e,2"\e(B, owx -
> \e,1^
\e(B, etc.
66 EE
= Ee -
> \e,2j
\e(B, AWF
= Awf -
> \e,2"\e(B, etc.
68 Doubling the postfix (but not in combinations) separates the letter
69 and postfix: Eee -> Ee, ajj -> aj, etc.
71 nil
; TRANSLATION-KEYS
72 t
; FORGET-LAST-SELECTION
76 nil
; CREATE-DECODE-MAP
77 nil
; MAXIMUM-SHORTEST
79 nil
; UPDATE-TRANSLATION-FUNCTION
84 ("af" ?
\e,1`\e(B) ; LATIN SMALL LETTER A WITH GRAVE
85 ("AF" ?
\e,2`\e(B) ; LATIN CAPITAL LETTER A WITH GRAVE
87 ("as" ?
\e,1a
\e(B) ; LATIN SMALL LETTER A WITH ACUTE
88 ("AS" ?
\e,2a
\e(B) ; LATIN CAPITAL LETTER A WITH ACUTE
90 ("aa" ?
\e,1b
\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX
91 ("AA" ?
\e,2b
\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
93 ("ax" ?
\e,1c
\e(B) ; LATIN SMALL LETTER A WITH TILDE
94 ("AX" ?
\e,2c
\e(B) ; LATIN CAPITAL LETTER A WITH TILDE
96 ("ef" ?
\e,1h
\e(B) ; LATIN SMALL LETTER E WITH GRAVE
97 ("EF" ?
\e,2h
\e(B) ; LATIN CAPITAL LETTER E WITH GRAVE
99 ("es" ?
\e,1i
\e(B) ; LATIN SMALL LETTER E WITH ACUTE
100 ("ES" ?
\e,2i
\e(B) ; LATIN CAPITAL LETTER E WITH ACUTE
102 ("ee" ?
\e,1j
\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX
103 ("EE" ?
\e,2j
\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
105 ("if" ?
\e,1l\e(B) ; LATIN SMALL LETTER I WITH GRAVE
106 ("IF" ?
\e,2l\e(B) ; LATIN CAPITAL LETTER I WITH GRAVE
108 ("is" ?
\e,1m
\e(B) ; LATIN SMALL LETTER I WITH ACUTE
109 ("IS" ?
\e,2m
\e(B) ; LATIN CAPITAL LETTER I WITH ACUTE
111 ("of" ?
\e,1r
\e(B) ; LATIN SMALL LETTER O WITH GRAVE
112 ("OF" ?
\e,2r
\e(B) ; LATIN CAPITAL LETTER O WITH GRAVE
114 ("os" ?
\e,1s
\e(B) ; LATIN SMALL LETTER O WITH ACUTE
115 ("OS" ?
\e,2s
\e(B) ; LATIN CAPITAL LETTER O WITH ACUTE
117 ("oo" ?
\e,1t
\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX
118 ("OO" ?
\e,2t
\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
120 ("ox" ?
\e,1u\e(B) ; LATIN SMALL LETTER O WITH TILDE
121 ("OX" ?
\e,2u\e(B) ; LATIN CAPITAL LETTER O WITH TILDE
123 ("uf" ?
\e,1y
\e(B) ; LATIN SMALL LETTER U WITH GRAVE
124 ("UF" ?
\e,2y
\e(B) ; LATIN CAPITAL LETTER U WITH GRAVE
126 ("us" ?
\e,1z
\e(B) ; LATIN SMALL LETTER U WITH ACUTE
127 ("US" ?
\e,2z
\e(B) ; LATIN CAPITAL LETTER U WITH ACUTE
129 ("ys" ?
\e,1}\e(B) ; LATIN SMALL LETTER Y WITH ACUTE
130 ("YS" ?
\e,2}\e(B) ; LATIN CAPITAL LETTER Y WITH ACUTE
132 ("aw" ?
\e,1e
\e(B) ; LATIN SMALL LETTER A WITH BREVE
133 ("AW" ?
\e,2e
\e(B) ; LATIN CAPITAL LETTER A WITH BREVE
135 ("ix" ?
\e,1n
\e(B) ; LATIN SMALL LETTER I WITH TILDE
136 ("IX" ?
\e,2n
\e(B) ; LATIN CAPITAL LETTER I WITH TILDE
138 ("ux" ?
\e,1{\e(B) ; LATIN SMALL LETTER U WITH TILDE
139 ("UX" ?
\e,2{\e(B) ; LATIN CAPITAL LETTER U WITH TILDE
141 ("ow" ?
\e,1=\e(B) ; LATIN SMALL LETTER O WITH HORN
142 ("OW" ?
\e,2=\e(B) ; LATIN CAPITAL LETTER O WITH HORN
144 ("uw" ?
\e,1_
\e(B) ; LATIN SMALL LETTER U WITH HORN
145 ("UW" ?
\e,2_
\e(B) ; LATIN CAPITAL LETTER U WITH HORN
147 ("aj" ?
\e,1U\e(B) ; LATIN SMALL LETTER A WITH DOT BELOW
148 ("AJ" ?
\e,2U\e(B) ; LATIN CAPITAL LETTER A WITH DOT BELOW
150 ("ar" ?
\e,1d
\e(B) ; LATIN SMALL LETTER A WITH HOOK ABOVE
151 ("AR" ?
\e,2d
\e(B) ; LATIN CAPITAL LETTER A WITH HOOK ABOVE
153 ("aas" ?
\e,1$
\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
154 ("AAS" ?
\e,2$
\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE
156 ("aaf" ?
\e,1%
\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
157 ("AAF" ?
\e,2%
\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE
159 ("aar" ?
\e,1&\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
160 ("AAR" ?
\e,2&\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
162 ("aax" ?
\e,1g
\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
163 ("AAX" ?
\e,2g
\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
165 ("aaj" ?
\e,1'\e(B) ; LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW
166 ("AAJ" ?
\e,2'\e(B) ; LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW
168 ("aws" ?
\e,1!\e(B) ; LATIN SMALL LETTER A WITH BREVE AND ACUTE
169 ("AWS" ?
\e,2!\e(B) ; LATIN CAPITAL LETTER A WITH BREVE AND ACUTE
171 ("awf" ?
\e,1"\e(B) ; LATIN SMALL LETTER A WITH BREVE AND GRAVE
172 ("AWF
" ?\e,2"\e(B) ; LATIN CAPITAL LETTER A WITH BREVE AND GRAVE
174 ("awr
" ?\e,1F\e(B) ; LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE
175 ("AWR
" ?\e,2F\e(B) ; LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE
177 ("awx
" ?\e,1G\e(B) ; LATIN SMALL LETTER A WITH BREVE AND TILDE
178 ("AWX
" ?\e,2G\e(B) ; LATIN CAPITAL LETTER A WITH BREVE AND TILDE
180 ("awj
" ?\e,1#\e(B) ; LATIN SMALL LETTER A WITH BREVE AND DOT BELOW
181 ("AWJ
" ?\e,2#\e(B) ; LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW
183 ("ej
" ?\e,1)\e(B) ; LATIN SMALL LETTER E WITH DOT BELOW
184 ("EJ
" ?\e,2)\e(B) ; LATIN CAPITAL LETTER E WITH DOT BELOW
186 ("er
" ?\e,1k\e(B) ; LATIN SMALL LETTER E WITH HOOK ABOVE
187 ("ER
" ?\e,2k\e(B) ; LATIN CAPITAL LETTER E WITH HOOK ABOVE
189 ("ex
" ?\e,1(\e(B) ; LATIN SMALL LETTER E WITH TILDE
190 ("EX
" ?\e,2(\e(B) ; LATIN CAPITAL LETTER E WITH TILDE
192 ("ees
" ?\e,1*\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE
193 ("EES
" ?\e,2*\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE
195 ("eef
" ?\e,1+\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE
196 ("EEF
" ?\e,2+\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE
198 ("eer
" ?\e,1,\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
199 ("EER
" ?\e,2,\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
201 ("eex
" ?\e,1-\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
202 ("EEX
" ?\e,2-\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
204 ("eej
" ?\e,1.\e(B) ; LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW
205 ("EEJ
" ?\e,2.\e(B) ; LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW
207 ("ir
" ?\e,1o\e(B) ; LATIN SMALL LETTER I WITH HOOK ABOVE
208 ("IR
" ?\e,2o\e(B) ; LATIN CAPITAL LETTER I WITH HOOK ABOVE
210 ("ij
" ?\e,18\e(B) ; LATIN SMALL LETTER I WITH DOT BELOW
211 ("IJ
" ?\e,28\e(B) ; LATIN CAPITAL LETTER I WITH DOT BELOW
213 ("oj
" ?\e,1w\e(B) ; LATIN SMALL LETTER O WITH DOT BELOW
214 ("OJ
" ?\e,2w\e(B) ; LATIN CAPITAL LETTER O WITH DOT BELOW
216 ("or
" ?\e,1v\e(B) ; LATIN SMALL LETTER O WITH HOOK ABOVE
217 ("OR
" ?\e,2v\e(B) ; LATIN CAPITAL LETTER O WITH HOOK ABOVE
219 ("oos
" ?\e,1/\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE
220 ("OOS
" ?\e,2/\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE
222 ("oof
" ?\e,10\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE
223 ("OOF
" ?\e,20\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE
225 ("oor
" ?\e,11\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
226 ("OOR
" ?\e,21\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
228 ("oox
" ?\e,12\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
229 ("OOX
" ?\e,22\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
231 ("ooj
" ?\e,15\e(B) ; LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW
232 ("OOJ
" ?\e,25\e(B) ; LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW
234 ("ows
" ?\e,1>\e(B) ; LATIN SMALL LETTER O WITH HORN AND ACUTE
235 ("OWS
" ?\e,2>\e(B) ; LATIN CAPITAL LETTER O WITH HORN AND ACUTE
237 ("owf
" ?\e,16\e(B) ; LATIN SMALL LETTER O WITH HORN AND GRAVE
238 ("OWF
" ?\e,26\e(B) ; LATIN CAPITAL LETTER O WITH HORN AND GRAVE
240 ("owr
" ?\e,17\e(B) ; LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE
241 ("OWR
" ?\e,27\e(B) ; LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE
243 ("owx
" ?\e,1^\e(B) ; LATIN SMALL LETTER O WITH HORN AND TILDE
244 ("OWX
" ?\e,2^\e(B) ; LATIN CAPITAL LETTER O WITH HORN AND TILDE
246 ("owj
" ?\e,1~\e(B) ; LATIN SMALL LETTER O WITH HORN AND DOT BELOW
247 ("OWJ
" ?\e,2~\e(B) ; LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW
249 ("uj
" ?\e,1x\e(B) ; LATIN SMALL LETTER U WITH DOT BELOW
250 ("UJ
" ?\e,2x\e(B) ; LATIN CAPITAL LETTER U WITH DOT BELOW
252 ("ur
" ?\e,1|\e(B) ; LATIN SMALL LETTER U WITH HOOK ABOVE
253 ("UR
" ?\e,2|\e(B) ; LATIN CAPITAL LETTER U WITH HOOK ABOVE
255 ("uws
" ?\e,1Q\e(B) ; LATIN SMALL LETTER U WITH HORN AND ACUTE
256 ("UWS
" ?\e,2Q\e(B) ; LATIN CAPITAL LETTER U WITH HORN AND ACUTE
258 ("uwf
" ?\e,1W\e(B) ; LATIN SMALL LETTER U WITH HORN AND GRAVE
259 ("UWF
" ?\e,2W\e(B) ; LATIN CAPITAL LETTER U WITH HORN AND GRAVE
261 ("uwr
" ?\e,1X\e(B) ; LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE
262 ("UWR
" ?\e,2X\e(B) ; LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE
264 ("uwx
" ?\e,1f\e(B) ; LATIN SMALL LETTER U WITH HORN AND TILDE
265 ("UWX
" ?\e,2f\e(B) ; LATIN CAPITAL LETTER U WITH HORN AND TILDE
267 ("uwj
" ?\e,1q\e(B) ; LATIN SMALL LETTER U WITH HORN AND DOT BELOW
268 ("UWJ
" ?\e,2q\e(B) ; LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW
270 ("yf
" ?\e,1O\e(B) ; LATIN SMALL LETTER Y WITH GRAVE
271 ("YF
" ?\e,2O\e(B) ; LATIN CAPITAL LETTER Y WITH GRAVE
273 ("yj
" ?\e,1\\e(B) ; LATIN SMALL LETTER Y WITH DOT BELOW
274 ("YJ
" ?\e,2\\e(B) ; LATIN CAPITAL LETTER Y WITH DOT BELOW
276 ("yr
" ?\e,1V\e(B) ; LATIN SMALL LETTER Y WITH HOOK ABOVE
277 ("YR
" ?\e,2V\e(B) ; LATIN CAPITAL LETTER Y WITH HOOK ABOVE
279 ("yx
" ?\e,1[\e(B) ; LATIN SMALL LETTER Y WITH TILDE
280 ("YX
" ?\e,2[\e(B) ; LATIN CAPITAL LETTER Y WITH TILDE
282 ("dd
" ?\e,1p\e(B) ; LATIN SMALL LETTER D WITH STROKE
283 ("DD
" ?\e,2p\e(B) ; LATIN CAPITAL LETTER D WITH STROKE
285 ;("$$
" ?\e$,1tK\e(B) ; U+20AB DONG SIGN (#### check)
400 ;; escape from composition
401 ("\\w
" ?w) ; breve or horn
403 ("\\a
" ?a) ; a circumflex
404 ("\\A
" ?A) ; A circumflex
405 ("\\e
" ?e) ; e circumflex
406 ("\\E
" ?E) ; E circumflex
407 ("\\o
" ?o) ; o circumflex
408 ("\\O
" ?O) ; O circumflex
413 ("\\r
" ?r) ; hook above
417 ("\\j
" ?j) ; dot below
419 ("\\d
" ?d) ; d-bar (d)
420 ("\\D
" ?D) ; D-bar (d)
421 ("\\\\" ?\\) ; literal backslash
425 ;; coding: iso-2022-7bit
428 ;;; vntelex.el ends here