latin-alt.el 31.6 KB
Newer Older
Dave Love's avatar
Dave Love committed
1
;;; latin-alt.el --- Quail package for inputting various European characters -*-coding: utf-8;-*-
Richard M. Stallman's avatar
Richard M. Stallman committed
2

Paul Eggert's avatar
Paul Eggert committed
3
;; Copyright (C) 1997-1998, 2001-2020 Free Software Foundation, Inc.
4 5
;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
;;   2008, 2009, 2010, 2011
Kenichi Handa's avatar
Kenichi Handa committed
6 7
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H14PRO021
Richard M. Stallman's avatar
Richard M. Stallman committed
8 9 10 11 12

;; Keywords: multilingual, input method, latin

;; This file is part of GNU Emacs.

13
;; GNU Emacs is free software: you can redistribute it and/or modify
Richard M. Stallman's avatar
Richard M. Stallman committed
14
;; it under the terms of the GNU General Public License as published by
15 16
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
Richard M. Stallman's avatar
Richard M. Stallman committed
17 18 19 20 21 22 23

;; 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
24
;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
Richard M. Stallman's avatar
Richard M. Stallman committed
25

Richard M. Stallman's avatar
Richard M. Stallman committed
26
;; Author (of latin-post.el): TAKAHASHI Naoto <ntakahas@etl.go.jp>
Richard M. Stallman's avatar
Richard M. Stallman committed
27

28 29
;;; Commentary:

Richard M. Stallman's avatar
Richard M. Stallman committed
30 31 32 33 34 35 36 37
;; These input methods differ from those in latin-post.el
;; in that comma is not special (use / instead),
;; and // is not special either (so you can enter a slash
;; by typing //).

;; At least, that's what I could see by comparing the first few
;; of these with latin-post.el.

38 39
;;; Code:

Richard M. Stallman's avatar
Richard M. Stallman committed
40 41 42 43 44
(require 'quail)

(quail-define-package
 "latin-1-alt-postfix" "Latin-1" "1<" t
 "Latin-1 character input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
45 46 47
This input method differs from `latin-1-postfix' in that
comma is not special (use slash instead), and `//' is not
special (so you can use that to enter a slash).
Richard M. Stallman's avatar
Richard M. Stallman committed
48 49 50

             | postfix | examples
 ------------+---------+----------
51
  acute      |    \\='    | a\\=' -> á
52
  grave      |    \\=`    | a\\=` -> à
Dave Love's avatar
Dave Love committed
53 54 55 56 57 58 59
  circumflex |    ^    | a^ -> â
  diaeresis  |    \"    | a\" -> ä
  tilde      |    ~    | a~ -> ã
  cedilla    |    /    | c/ -> ç
  nordic     |    /    | d/ -> ð   t/ -> þ   a/ -> å   e/ -> æ   o/ -> ø
  others     |   /<>   | s/ -> ß   ?/ -> ¿   !/ -> ¡
             | various | << -> «   >> -> »   o_ -> º   a_ -> ª
Richard M. Stallman's avatar
Richard M. Stallman committed
60

Richard M. Stallman's avatar
Richard M. Stallman committed
61 62 63
It seems natural to use comma for cedillas, but that is
inconvenient in practice because commas are needed very
often after a letter.
Richard M. Stallman's avatar
Richard M. Stallman committed
64

65
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
66 67 68
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
 ("A`" ?À)
 ("A'" ?Á)
 ("A^" ?Â)
 ("A~" ?Ã)
 ("A\"" ?Ä)
 ("A/" ?Å)
 ("a`" ?à)
 ("a'" ?á)
 ("a^" ?â)
 ("a~" ?ã)
 ("a\"" ?ä)
 ("a/" ?å)
 ("E`" ?È)
 ("E'" ?É)
 ("E^" ?Ê)
 ("E\"" ?Ë)
 ("E/" ?Æ)
 ("e`" ?è)
 ("e'" ?é)
 ("e^" ?ê)
 ("e\"" ?ë)
 ("e/" ?æ)
 ("I`" ?Ì)
 ("i`" ?ì)
 ("I'" ?Í)
 ("i'" ?í)
 ("I^" ?Î)
 ("i^" ?î)
 ("I\"" ?Ï)
 ("i\"" ?ï)
 ("O`" ?Ò)
 ("o`" ?ò)
 ("O'" ?Ó)
 ("o'" ?ó)
 ("O^" ?Ô)
 ("o^" ?ô)
 ("O~" ?Õ)
 ("o~" ?õ)
 ("O\"" ?Ö)
 ("o\"" ?ö)
 ("O/" ?Ø)
 ("o/" ?ø)
 ("U`" ?Ù)
 ("u`" ?ù)
 ("U'" ?Ú)
 ("u'" ?ú)
 ("U^" ?Û)
 ("u^" ?û)
 ("U\"" ?Ü)
 ("u\"" ?ü)
 ("Y'" ?Ý)
 ("y'" ?ý)
 ("y\"" ?ÿ)
 ("D/" ?Ð)
 ("d/" ?ð)
 ("T/" ?Þ)
 ("t/" ?þ)
 ("s/" ?ß)
 ("C/" ?Ç)
 ("c/" ?ç)
 ("N~" ?Ñ)
 ("n~" ?ñ)
 ("?/" ?¿)
 ("!/" ?¡)
 ("<<" ?«)
 (">>" ?»)
 ("o_" ?º)
 ("a_" ?ª)
Richard M. Stallman's avatar
Richard M. Stallman committed
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203

 ("A``" ["A`"])
 ("A''" ["A'"])
 ("A^^" ["A^"])
 ("A~~" ["A~"])
 ("A\"\"" ["A\""])
 ("A//" ["A/"])
 ("a``" ["a`"])
 ("a''" ["a'"])
 ("a^^" ["a^"])
 ("a~~" ["a~"])
 ("a\"\"" ["a\""])
 ("a//" ["a/"])
 ("E``" ["E`"])
 ("E''" ["E'"])
 ("E^^" ["E^"])
 ("E\"\"" ["E\""])
 ("E//" ["E/"])
 ("e``" ["e`"])
 ("e''" ["e'"])
 ("e^^" ["e^"])
 ("e\"\"" ["e\""])
 ("e//" ["e/"])
 ("I``" ["I`"])
 ("i``" ["i`"])
 ("I''" ["I'"])
 ("i''" ["i'"])
 ("I^^" ["I^"])
 ("i^^" ["i^"])
 ("I\"\"" ["I\""])
 ("i\"\"" ["i\""])
 ("O``" ["O`"])
 ("o``" ["o`"])
 ("O''" ["O'"])
 ("o''" ["o'"])
 ("O^^" ["O^"])
 ("o^^" ["o^"])
 ("O~~" ["O~"])
 ("o~~" ["o~"])
 ("O\"\"" ["O\""])
 ("o\"\"" ["o\""])
 ("O//" ["O/"])
 ("o//" ["o/"])
 ("U``" ["U`"])
 ("u``" ["u`"])
 ("U''" ["U'"])
 ("u''" ["u'"])
 ("U^^" ["U^"])
 ("u^^" ["u^"])
 ("U\"\"" ["U\""])
 ("u\"\"" ["u\""])
 ("Y''" ["Y'"])
 ("y''" ["y'"])
 ("y\"\"" ["y\""])
 ("D//" ["D/"])
 ("d//" ["d/"])
 ("T//" ["T/"])
 ("t//" ["t/"])
 ("s//" ["s/"])
 ("C//" ["C/"])
 ("c//" ["c/"])
 ("N~~" ["N~"])
 ("n~~" ["n~"])
 ("?//" ["?/"])
 ("!//" ["!/"])
 ("<<<" ["<<"])
 (">>>" [">>"])
204 205
 ("o__" ["o_"])
 ("a__" ["a_"])
Richard M. Stallman's avatar
Richard M. Stallman committed
206 207 208 209 210
 )

(quail-define-package
 "latin-2-alt-postfix" "Latin-2" "2<" t
 "Latin-2 character input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
211
This input method differs from `latin-2-postfix' in that
212
comma and period are not special (use \\=` instead).
Richard M. Stallman's avatar
Richard M. Stallman committed
213 214 215

             | postfix | examples
 ------------+---------+----------
216
  acute      |    \\='    | a\\=' -> á
217
  ogonek     |    \\=`    | a\\=` -> ą
Dave Love's avatar
Dave Love committed
218 219 220
  diaeresis  |    \"    | a\" -> ä
  circumflex |    ^    | a^ -> â
  breve      |    ~    | a~ -> ă
221
  cedilla    |    \\=`    | c\\=` -> ç
Dave Love's avatar
Dave Love committed
222 223
  caron      |    ~    | c~ -> č
  dbl. acute |    :    | o: -> ő
224 225
  ring       |    \\=`    | u\\=` -> ů
  dot        |    \\=`    | z\\=` -> ż
Dave Love's avatar
Dave Love committed
226 227
  stroke     |    /    | d/ -> đ
  others     |    /    | s/ -> ß
Richard M. Stallman's avatar
Richard M. Stallman committed
228

Richard M. Stallman's avatar
Richard M. Stallman committed
229 230
It seems natural to use period and comma for dots/rings and
cedillas/ogoneks, but that is inconvenient in practice, because
Richard M. Stallman's avatar
Richard M. Stallman committed
231 232
periods and commas are needed very often after a letter.

233
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
234 235 236
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
 ("A'" ?Á)
 ("A`" ?Ą)
 ("A\"" ?Ä)
 ("A^" ?Â)
 ("A~" ?Ă)
 ("C'" ?Ć)
 ("C`" ?Ç)
 ("C~" ?Č)
 ("D/" ?Đ)
 ("D~" ?Ď)
 ("E'" ?É)
 ("E`" ?Ę)
 ("E\"" ?Ë)
 ("E~" ?Ě)
 ("I'" ?Í)
 ("I^" ?Î)
 ("L'" ?Ĺ)
 ("L/" ?Ł)
 ("L~" ?Ľ)
 ("N'" ?Ń)
 ("N~" ?Ň)
 ("O'" ?Ó)
 ("O:" ?Ő)
 ("O\"" ?Ö)
 ("O^" ?Ô)
 ("R'" ?Ŕ)
 ("R~" ?Ř)
 ("S'" ?Ś)
 ("S`" ?Ş)
 ("S~" ?Š)
 ("T`" ?Ţ)
 ("T~" ?Ť)
 ("U'" ?Ú)
 ("U:" ?Ű)
 ("U\"" ?Ü)
 ("U`" ?Ů)
 ("Y'" ?Ý)
 ("Z'" ?Ź)
 ("Z`" ?Ż)
 ("Z~" ?Ž)
 ("a'" ?á)
 ("a`" ?ą)
 ("a\"" ?ä)
 ("a^" ?â)
 ("a~" ?ă)
 ("c'" ?ć)
 ("c`" ?ç)
 ("c~" ?č)
 ("d/" ?đ)
 ("d~" ?ď)
 ("e'" ?é)
 ("e`" ?ę)
 ("e\"" ?ë)
 ("e~" ?ě)
 ("i'" ?í)
 ("i^" ?î)
 ("l'" ?ĺ)
 ("l/" ?ł)
 ("l~" ?ľ)
 ("n'" ?ń)
 ("n~" ?ň)
 ("o'" ?ó)
 ("o:" ?ő)
 ("o\"" ?ö)
 ("o^" ?ô)
 ("r'" ?ŕ)
 ("r~" ?ř)
 ("s'" ?ś)
 ("s`" ?ş)
 ("s/" ?ß)
 ("s~" ?š)
 ("t`" ?ţ)
 ("t~" ?ť)
 ("u'" ?ú)
 ("u:" ?ű)
 ("u\"" ?ü)
 ("u`" ?ů)
 ("y'" ?ý)
 ("z'" ?ź)
 ("z`" ?ż)
 ("z~" ?ž)
Richard M. Stallman's avatar
Richard M. Stallman committed
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404

 ("A''" ["A'"])
 ("A``" ["A`"])
 ("A\"\"" ["A\""])
 ("A^^" ["A^"])
 ("A~~" ["A~"])
 ("C''" ["C'"])
 ("C``" ["C`"])
 ("C~~" ["C~"])
 ("D//" ["D/"])
 ("D~~" ["D~"])
 ("E''" ["E'"])
 ("E``" ["E`"])
 ("E\"\"" ["E\""])
 ("E~~" ["E~"])
 ("I''" ["I'"])
 ("I^^" ["I^"])
 ("L''" ["L'"])
 ("L//" ["L/"])
 ("L~~" ["L~"])
 ("N''" ["N'"])
 ("N~~" ["N~"])
 ("O''" ["O'"])
 ("O::" ["O:"])
 ("O\"\"" ["O\""])
 ("O^^" ["O^"])
 ("R''" ["R'"])
 ("R~~" ["R~"])
 ("S''" ["S'"])
 ("S``" ["S`"])
 ("S~~" ["S~"])
 ("T``" ["T`"])
 ("T~~" ["T~"])
 ("U''" ["U'"])
 ("U::" ["U:"])
 ("U\"\"" ["U\""])
 ("U``" ["U`"])
 ("Y''" ["Y'"])
 ("Z''" ["Z'"])
 ("Z``" ["Z`"])
 ("Z~~" ["Z~"])
 ("a''" ["a'"])
 ("a``" ["a`"])
 ("a\"\"" ["a\""])
 ("a^^" ["a^"])
 ("a~~" ["a~"])
 ("c''" ["c'"])
 ("c``" ["c`"])
 ("c~~" ["c~"])
 ("d//" ["d/"])
 ("d~~" ["d~"])
 ("e''" ["e'"])
 ("e``" ["e`"])
 ("e\"\"" ["e\""])
 ("e~~" ["e~"])
 ("i''" ["i'"])
 ("i^^" ["i^"])
 ("l''" ["l'"])
 ("l//" ["l/"])
 ("l~~" ["l~"])
 ("n''" ["n'"])
 ("n~~" ["n~"])
 ("o''" ["o'"])
 ("o::" ["o:"])
 ("o\"\"" ["o\""])
 ("o^^" ["o^"])
 ("r''" ["r'"])
 ("r~~" ["r~"])
 ("s''" ["s'"])
 ("s``" ["s`"])
 ("s//" ["s/"])
 ("s~~" ["s~"])
 ("t``" ["t`"])
 ("t~~" ["t~"])
 ("u''" ["u'"])
 ("u::" ["u:"])
 ("u\"\"" ["u\""])
 ("u``" ["u`"])
 ("y''" ["y'"])
 ("z''" ["z'"])
 ("z``" ["z`"])
 ("z~~" ["z~"])
 )

(quail-define-package
 "latin-3-alt-postfix" "Latin-3" "3<" t
 "Latin-3 character input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
405
This input method differs from `latin-3-postfix' in that
406
comma is not special (use \\=` instead), and period is not
Richard M. Stallman's avatar
Richard M. Stallman committed
407
special (use slash instead).
Richard M. Stallman's avatar
Richard M. Stallman committed
408 409 410

             | postfix | examples
 ------------+---------+----------
411
  acute      |    \\='    | a\\=' -> á
412
  grave      |    \\=`    | a\\=` -> à
Dave Love's avatar
Dave Love committed
413 414 415
  circumflex |    ^    | a^ -> â
  diaeresis  |    \"    | a\" -> ä
  dot        |    /    | c/ -> ċ   i/ -> ı   I/ -> İ
416
  cedilla    |    \\=`    | c\\=` -> ç
Dave Love's avatar
Dave Love committed
417 418 419 420
  breve      |    ~    | g~ -> ğ
  tilde      |    ~    | n~ -> ñ
  stroke     |    /    | h/ -> ħ
  others     |    /    | s/ -> ß
Richard M. Stallman's avatar
Richard M. Stallman committed
421 422 423 424 425

It would be natural to use period and comma for dots and cedillas, but
that would inconvenient in practice, because periods and commas are
needed very often after a letter.

426
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
427 428 429
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
 ("A`" ?À)
 ("A'" ?Á)
 ("A^" ?Â)
 ("A\"" ?Ä)
 ("C/" ?Ċ)
 ("C^" ?Ĉ)
 ("C`" ?Ç)
 ("E`" ?È)
 ("E'" ?É)
 ("E^" ?Ê)
 ("E\"" ?Ë)
 ("G~" ?Ğ)
 ("G/" ?Ġ)
 ("G^" ?Ĝ)
 ("H/" ?Ħ)
 ("H^" ?Ĥ)
 ("I/" ?İ)
 ("I`" ?Ì)
 ("I'" ?Í)
 ("I^" ?Î)
 ("I\"" ?Ï)
 ("J^" ?Ĵ)
 ("N~" ?Ñ)
 ("O`" ?Ò)
 ("O'" ?Ó)
 ("O^" ?Ô)
 ("O\"" ?Ö)
 ("S`" ?Ş)
 ("S^" ?Ŝ)
 ("U`" ?Ù)
 ("U'" ?Ú)
 ("U^" ?Û)
 ("U\"" ?Ü)
 ("U~" ?Ŭ)
 ("Z/" ?Ż)
 ("a`" ?à)
 ("a'" ?á)
 ("a^" ?â)
 ("a\"" ?ä)
 ("c/" ?ċ)
 ("c^" ?ĉ)
 ("c`" ?ç)
 ("e`" ?è)
 ("e'" ?é)
 ("e^" ?ê)
 ("e\"" ?ë)
 ("g~" ?ğ)
 ("g/" ?ġ)
 ("g^" ?ĝ)
 ("h/" ?ħ)
 ("h^" ?ĥ)
 ("i/" ?ı)
 ("i`" ?ì)
 ("i'" ?í)
 ("i^" ?î)
 ("i\"" ?ï)
 ("j^" ?ĵ)
 ("n~" ?ñ)
 ("o`" ?ò)
 ("o'" ?ó)
 ("o^" ?ô)
 ("o\"" ?ö)
 ("s`" ?ş)
 ("s/" ?ß)
 ("s^" ?ŝ)
 ("u`" ?ù)
 ("u'" ?ú)
 ("u^" ?û)
 ("u\"" ?ü)
 ("u~" ?ŭ)
 ("z/" ?ż)
Richard M. Stallman's avatar
Richard M. Stallman committed
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577

 ("A``" ["A`"])
 ("A''" ["A'"])
 ("A^^" ["A^"])
 ("A\"\"" ["A\""])
 ("C//" ["C/"])
 ("C^^" ["C^"])
 ("C``" ["C`"])
 ("E``" ["E`"])
 ("E''" ["E'"])
 ("E^^" ["E^"])
 ("E\"\"" ["E\""])
 ("G~~" ["G~"])
 ("G//" ["G/"])
 ("G^^" ["G^"])
 ("H//" ["H/"])
 ("H^^" ["H^"])
 ("I//" ["I/"])
 ("I``" ["I`"])
 ("I''" ["I'"])
 ("I^^" ["I^"])
 ("I\"\"" ["I\""])
 ("J^^" ["J^"])
 ("N~~" ["N~"])
 ("O``" ["O`"])
 ("O''" ["O'"])
 ("O^^" ["O^"])
 ("O\"\"" ["O\""])
 ("S``" ["S`"])
 ("S^^" ["S^"])
 ("U``" ["U`"])
 ("U''" ["U'"])
 ("U^^" ["U^"])
 ("U\"\"" ["U\""])
 ("U~~" ["U~"])
 ("Z//" ["Z/"])
 ("a``" ["a`"])
 ("a''" ["a'"])
 ("a^^" ["a^"])
 ("a\"\"" ["a\""])
 ("c//" ["c/"])
 ("c^^" ["c^"])
 ("c``" ["c`"])
 ("e``" ["e`"])
 ("e''" ["e'"])
 ("e^^" ["e^"])
 ("e\"\"" ["e\""])
 ("g~~" ["g~"])
 ("g//" ["g/"])
 ("g^^" ["g^"])
 ("h//" ["h/"])
 ("h^^" ["h^"])
 ("i//" ["i/"])
 ("i``" ["i`"])
 ("i''" ["i'"])
 ("i^^" ["i^"])
 ("i\"\"" ["i\""])
 ("j^^" ["j^"])
 ("n~~" ["n~"])
 ("o``" ["o`"])
 ("o''" ["o'"])
 ("o^^" ["o^"])
 ("o\"\"" ["o\""])
 ("s``" ["s`"])
 ("s//" ["s/"])
 ("s^^" ["s^"])
 ("u``" ["u`"])
 ("u''" ["u'"])
 ("u^^" ["u^"])
 ("u\"\"" ["u\""])
 ("u~~" ["u~"])
 ("z//" ["z/"])
 )

(quail-define-package
 "latin-4-alt-postfix" "Latin-4" "4<" t
 "Latin-4 characters input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
578
This input method differs from `latin-4-postfix' in that
579
comma is not special (use \\=` instead), and period is not
Richard M. Stallman's avatar
Richard M. Stallman committed
580
special (use ~ instead).
Richard M. Stallman's avatar
Richard M. Stallman committed
581 582 583

             | postfix | examples
 ------------+---------+----------
584
  acute      |    \\='    | a\\=' -> á
Dave Love's avatar
Dave Love committed
585 586
  circumflex |    ^    | a^ -> â
  diaeresis  |    \"    | a\" -> ä
587
  ogonek     |    \\=`    | a\\=` -> ą
Dave Love's avatar
Dave Love committed
588 589 590 591
  macron     |    -    | a- -> ā
  tilde      |    ~    | a~ -> ã
  caron      |    ~    | c~ -> č
  dot        |    ~    | e~ -> ė
592
  cedilla    |    \\=`    | k\\=` -> ķ   g\\=` -> ģ
Dave Love's avatar
Dave Love committed
593 594 595
  stroke     |    /    | d/ -> đ
  nordic     |    /    | a/ -> å   e/ -> æ   o/ -> ø
  others     |    /    | s/ -> ß   n/ -> ŋ   k/ -> ĸ
Richard M. Stallman's avatar
Richard M. Stallman committed
596

Richard M. Stallman's avatar
Richard M. Stallman committed
597 598
It seems natural to use period and comma for dots and
cedillas/ogoneks, but that is inconvenient in practice, because
Richard M. Stallman's avatar
Richard M. Stallman committed
599 600
periods and commas are needed very often after a letter.

601
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
602 603 604
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686
 ("A`" ?Ą)
 ("A-" ?Ā)
 ("A'" ?Á)
 ("A^" ?Â)
 ("A~" ?Ã)
 ("A\"" ?Ä)
 ("A/" ?Å)
 ("C~" ?Č)
 ("D/" ?Đ)
 ("E/" ?Æ)
 ("E-" ?Ē)
 ("E'" ?É)
 ("E`" ?Ę)
 ("E\"" ?Ë)
 ("E~" ?Ė)
 ("G`" ?Ģ)
 ("I~" ?Ĩ)
 ("I`" ?Į)
 ("I'" ?Í)
 ("I^" ?Î)
 ("I-" ?Ī)
 ("K`" ?Ķ)
 ("L`" ?Ļ)
 ("N/" ?Ŋ)
 ("N`" ?Ņ)
 ("O-" ?Ō)
 ("O^" ?Ô)
 ("O~" ?Õ)
 ("O\"" ?Ö)
 ("O/" ?Ø)
 ("R`" ?Ŗ)
 ("S~" ?Š)
 ("T/" ?Ŧ)
 ("U`" ?Ų)
 ("U'" ?Ú)
 ("U^" ?Û)
 ("U\"" ?Ü)
 ("U~" ?Ũ)
 ("U-" ?Ū)
 ("Z~" ?Ž)
 ("a`" ?ą)
 ("a-" ?ā)
 ("a'" ?á)
 ("a^" ?â)
 ("a~" ?ã)
 ("a\"" ?ä)
 ("a/" ?å)
 ("c~" ?č)
 ("d/" ?đ)
 ("e/" ?æ)
 ("e-" ?ē)
 ("e'" ?é)
 ("e`" ?ę)
 ("e\"" ?ë)
 ("e~" ?ė)
 ("g`" ?ģ)
 ("i~" ?ĩ)
 ("i`" ?į)
 ("i'" ?í)
 ("i^" ?î)
 ("i-" ?ī)
 ("k/" ?ĸ)
 ("k`" ?ķ)
 ("l`" ?ļ)
 ("n/" ?ŋ)
 ("n`" ?ņ)
 ("o-" ?ō)
 ("o^" ?ô)
 ("o~" ?õ)
 ("o\"" ?ö)
 ("o/" ?ø)
 ("r`" ?ŗ)
 ("s/" ?ß)
 ("s~" ?š)
 ("t/" ?ŧ)
 ("u`" ?ų)
 ("u'" ?ú)
 ("u^" ?û)
 ("u\"" ?ü)
 ("u~" ?ũ)
 ("u-" ?ū)
 ("z~" ?ž)
Richard M. Stallman's avatar
Richard M. Stallman committed
687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774

 ("A``" ["A`"])
 ("A--" ["A-"])
 ("A''" ["A'"])
 ("A^^" ["A^"])
 ("A~~" ["A~"])
 ("A\"\"" ["A\""])
 ("A//" ["A/"])
 ("C~~" ["C~"])
 ("D//" ["D/"])
 ("E//" ["E/"])
 ("E--" ["E-"])
 ("E''" ["E'"])
 ("E``" ["E`"])
 ("E\"\"" ["E\""])
 ("E~~" ["E~"])
 ("G``" ["G`"])
 ("I~~" ["I~"])
 ("I``" ["I`"])
 ("I''" ["I'"])
 ("I^^" ["I^"])
 ("I--" ["I-"])
 ("K``" ["K`"])
 ("L``" ["L`"])
 ("N//" ["N/"])
 ("N``" ["N`"])
 ("O--" ["O-"])
 ("O^^" ["O^"])
 ("O~~" ["O~"])
 ("O\"\"" ["O\""])
 ("O//" ["O/"])
 ("R``" ["R`"])
 ("S~~" ["S~"])
 ("T//" ["T/"])
 ("U``" ["U`"])
 ("U''" ["U'"])
 ("U^^" ["U^"])
 ("U\"\"" ["U\""])
 ("U~~" ["U~"])
 ("U--" ["U-"])
 ("Z~~" ["Z~"])
 ("a``" ["a`"])
 ("a--" ["a-"])
 ("a''" ["a'"])
 ("a^^" ["a^"])
 ("a~~" ["a~"])
 ("a\"\"" ["a\""])
 ("a//" ["a/"])
 ("c~~" ["c~"])
 ("d//" ["d/"])
 ("e//" ["e/"])
 ("e--" ["e-"])
 ("e''" ["e'"])
 ("e``" ["e`"])
 ("e\"\"" ["e\""])
 ("e~~" ["e~"])
 ("g``" ["g`"])
 ("i~~" ["i~"])
 ("i``" ["i`"])
 ("i''" ["i'"])
 ("i^^" ["i^"])
 ("i--" ["i-"])
 ("k//" ["k/"])
 ("k``" ["k`"])
 ("l``" ["l`"])
 ("n//" ["n/"])
 ("n``" ["n`"])
 ("o--" ["o-"])
 ("o^^" ["o^"])
 ("o~~" ["o~"])
 ("o\"\"" ["o\""])
 ("o//" ["o/"])
 ("r``" ["r`"])
 ("s//" ["s/"])
 ("s~~" ["s~"])
 ("t//" ["t/"])
 ("u``" ["u`"])
 ("u''" ["u'"])
 ("u^^" ["u^"])
 ("u\"\"" ["u\""])
 ("u~~" ["u~"])
 ("u--" ["u-"])
 ("z~~" ["z~"])
 )

(quail-define-package
 "latin-5-alt-postfix" "Latin-5" "5<" t
 "Latin-5 characters input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
775
This input method differs from `latin-5-postfix' in that
776
comma is not special (use \\=` instead), and period is not
Richard M. Stallman's avatar
Richard M. Stallman committed
777
special (use / instead).
Richard M. Stallman's avatar
Richard M. Stallman committed
778 779 780

             | postfix | examples
 ------------+---------+----------
781
  acute      |    \\='    | a\\=' -> á
782
  grave      |    \\=`    | a\\=` -> à
Dave Love's avatar
Dave Love committed
783 784 785 786
  circumflex |    ^    | a^ -> â
  diaeresis  |    \"    | a\" -> ä
  tilde      |    ~    | a~ -> ã
  breve      |    ~    | g~ -> ğ
787
  cedilla    |    \\=`    | c\\=` -> ç
Dave Love's avatar
Dave Love committed
788 789 790
  dot        |    /    | i/ -> ı   I/ -> İ
  nordic     |    /    | a/ -> å   e/ -> æ   o/ -> ø
  others     |    /    | s/ -> ß
Richard M. Stallman's avatar
Richard M. Stallman committed
791

Richard M. Stallman's avatar
Richard M. Stallman committed
792 793
It seems natural to use period and comma for dots and cedillas, but
that is inconvenient in practice, because periods and commas are
Richard M. Stallman's avatar
Richard M. Stallman committed
794 795
needed very often after a letter.

796
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
797 798 799
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861
 ("A'" ?Á)
 ("A/" ?Å)
 ("A\"" ?Ä)
 ("A^" ?Â)
 ("A`" ?À)
 ("A~" ?Ã)
 ("C`" ?Ç)
 ("E'" ?É)
 ("E/" ?Æ)
 ("E\"" ?Ë)
 ("E^" ?Ê)
 ("E`" ?È)
 ("G~" ?Ğ)
 ("I'" ?Í)
 ("I/" ?İ)
 ("I\"" ?Ï)
 ("I^" ?Î)
 ("I`" ?Ì)
 ("N~" ?Ñ)
 ("O'" ?Ó)
 ("O/" ?Ø)
 ("O\"" ?Ö)
 ("O^" ?Ô)
 ("O`" ?Ò)
 ("O~" ?Õ)
 ("S`" ?Ş)
 ("U'" ?Ú)
 ("U\"" ?Ü)
 ("U^" ?Û)
 ("U`" ?Ù)
 ("a'" ?á)
 ("a/" ?å)
 ("a\"" ?ä)
 ("a^" ?â)
 ("a`" ?à)
 ("a~" ?ã)
 ("c`" ?ç)
 ("e'" ?é)
 ("e/" ?æ)
 ("e\"" ?ë)
 ("e^" ?ê)
 ("e`" ?è)
 ("g~" ?ğ)
 ("i'" ?í)
 ("i/" ?ı)
 ("i\"" ?ï)
 ("i^" ?î)
 ("i`" ?ì)
 ("n~" ?ñ)
 ("o'" ?ó)
 ("o/" ?ø)
 ("o\"" ?ö)
 ("o^" ?ô)
 ("o`" ?ò)
 ("o~" ?õ)
 ("s`" ?ş)
 ("s/" ?ß)
 ("u'" ?ú)
 ("u\"" ?ü)
 ("u^" ?û)
 ("u`" ?ù)
 ("y\"" ?ÿ)
Richard M. Stallman's avatar
Richard M. Stallman committed
862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929

 ("A''" ["A'"])
 ("A//" ["A/"])
 ("A\"\"" ["A\""])
 ("A^^" ["A^"])
 ("A``" ["A`"])
 ("A~~" ["A~"])
 ("C``" ["C`"])
 ("E''" ["E'"])
 ("E//" ["E/"])
 ("E\"\"" ["E\""])
 ("E^^" ["E^"])
 ("E``" ["E`"])
 ("G~~" ["G~"])
 ("I''" ["I'"])
 ("I//" ["I/"])
 ("I\"\"" ["I\""])
 ("I^^" ["I^"])
 ("I``" ["I`"])
 ("N~~" ["N~"])
 ("O''" ["O'"])
 ("O//" ["O/"])
 ("O\"\"" ["O\""])
 ("O^^" ["O^"])
 ("O``" ["O`"])
 ("O~~" ["O~"])
 ("S``" ["S`"])
 ("U''" ["U'"])
 ("U\"\"" ["U\""])
 ("U^^" ["U^"])
 ("U``" ["U`"])
 ("a''" ["a'"])
 ("a//" ["a/"])
 ("a\"\"" ["a\""])
 ("a^^" ["a^"])
 ("a``" ["a`"])
 ("a~~" ["a~"])
 ("c``" ["c`"])
 ("e''" ["e'"])
 ("e//" ["e/"])
 ("e\"\"" ["e\""])
 ("e^^" ["e^"])
 ("e``" ["e`"])
 ("g~~" ["g~"])
 ("i''" ["i'"])
 ("i//" ["i/"])
 ("i\"\"" ["i\""])
 ("i^^" ["i^"])
 ("i``" ["i`"])
 ("n~~" ["n~"])
 ("o''" ["o'"])
 ("o//" ["o/"])
 ("o\"\"" ["o\""])
 ("o^^" ["o^"])
 ("o``" ["o`"])
 ("o~~" ["o~"])
 ("s``" ["s`"])
 ("s//" ["s/"])
 ("u''" ["u'"])
 ("u\"\"" ["u\""])
 ("u^^" ["u^"])
 ("u``" ["u`"])
 ("y\"\"" ["y\""])
 )



(quail-define-package
930
 "french-alt-postfix" "French" "FR<" t
Dave Love's avatar
Dave Love committed
931
 "French (Français) input method with postfix modifiers
Richard M. Stallman's avatar
Richard M. Stallman committed
932

933 934
\\=` pour grave, \\=' pour aigu, ^ pour circonflexe, et \" pour tréma.
Par exemple: a\\=` -> à   e\\=' -> é.
Richard M. Stallman's avatar
Richard M. Stallman committed
935

Dave Love's avatar
Dave Love committed
936
Ç, «, et » sont produits par C/, <<, et >>.
Richard M. Stallman's avatar
Richard M. Stallman committed
937 938

En doublant la frappe des diacritiques, ils s'isoleront de la lettre.
939
Par exemple: e\\='\\=' -> e\\='
Richard M. Stallman's avatar
Richard M. Stallman committed
940

941
Πest produit par O/."
Richard M. Stallman's avatar
Richard M. Stallman committed
942 943 944
 nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961
 ("A`" ?À)
 ("A^" ?Â)
 ("a`" ?à)
 ("a^" ?â)
 ("E`" ?È)
 ("E'" ?É)
 ("E^" ?Ê)
 ("E\"" ?Ë)
 ("e`" ?è)
 ("e'" ?é)
 ("e^" ?ê)
 ("e\"" ?ë)
 ("I^" ?Î)
 ("I\"" ?Ï)
 ("i^" ?î)
 ("i\"" ?ï)
 ("O^" ?Ô)
962
 ("O/" ?Œ)
Dave Love's avatar
Dave Love committed
963
 ("o^" ?ô)
964
 ("o/" ?œ)
Dave Love's avatar
Dave Love committed
965 966 967 968 969 970 971 972 973 974
 ("U`" ?Ù)
 ("U^" ?Û)
 ("U\"" ?Ü)
 ("u`" ?ù)
 ("u^" ?û)
 ("u\"" ?ü)
 ("C/" ?Ç)
 ("c/" ?ç)
 ("<<" ?«)
 (">>" ?»)
Richard M. Stallman's avatar
Richard M. Stallman committed
975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992

 ("A``" ["A`"])
 ("A^^" ["A^"])
 ("a``" ["a`"])
 ("a^^" ["a^"])
 ("E``" ["E`"])
 ("E''" ["E'"])
 ("E^^" ["E^"])
 ("E\"\"" ["E\""])
 ("e``" ["e`"])
 ("e''" ["e'"])
 ("e^^" ["e^"])
 ("e\"\"" ["e\""])
 ("I^^" ["I^"])
 ("I\"\"" ["I\""])
 ("i^^" ["i^"])
 ("i\"\"" ["i\""])
 ("O^^" ["O^"])
993
 ("O//" ["O/"])
Richard M. Stallman's avatar
Richard M. Stallman committed
994
 ("o^^" ["o^"])
995
 ("o//" ["o/"])
Richard M. Stallman's avatar
Richard M. Stallman committed
996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013
 ("U``" ["U`"])
 ("U^^" ["U^"])
 ("U\"\"" ["U\""])
 ("u``" ["u`"])
 ("u^^" ["u^"])
 ("u\"\"" ["u\""])
 ("C//" ["C/"])
 ("c//" ["c/"])
 ("<<<" ["<<"])
 (">>>" [">>"])
 )



(quail-define-package
 "italian-alt-postfix" "Latin-1" "IT<" t
 "Italian (Italiano) input method with postfix modifiers

1014 1015 1016 1017 1018
a\\=' -> á    A\\=' -> Á    a\\=` -> à    A\\=` -> À    i^ -> î    << -> «
e\\=' -> é    E\\=' -> É    e\\=` -> è    E\\=` -> È    I^ -> Î    >> -> »
i\\=' -> í    I\\=' -> Í    i\\=` -> ì    I\\=` -> Ì               o_ -> º
o\\=' -> ó    O\\=' -> Ó    o\\=` -> ò    O\\=` -> Ò               a_ -> ª
u\\=' -> ú    U\\=' -> Ú    u\\=` -> ù    U\\=` -> Ù
1019 1020

This method is for purists who like accents the old way.
Richard M. Stallman's avatar
Richard M. Stallman committed
1021

1022
Doubling the postfix separates the letter and postfix: e.g. a\\=`\\=` -> a\\=`
Richard M. Stallman's avatar
Richard M. Stallman committed
1023 1024 1025
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
 ("A`" ?À)
 ("A'" ?Á)
 ("a`" ?à)
 ("a'" ?á)
 ("E`" ?È)
 ("E'" ?É)
 ("e`" ?è)
 ("e'" ?é)
 ("I`" ?Ì)
 ("i`" ?ì)
 ("I'" ?Í)
 ("i'" ?í)
 ("I^" ?Î)
 ("i^" ?î)
 ("O`" ?Ò)
 ("o`" ?ò)
 ("O'" ?Ó)
 ("o'" ?ó)
 ("U`" ?Ù)
 ("u`" ?ù)
 ("U'" ?Ú)
 ("u'" ?ú)
 ("<<" ?«)
 (">>" ?»)
 ("o_" ?º)
 ("a_" ?ª)
Richard M. Stallman's avatar
Richard M. Stallman committed
1052 1053

 ("A``" ["A`"])
1054
 ("A''" ["A'"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1055
 ("a``" ["a`"])
1056
 ("a''" ["a'"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1057
 ("E``" ["E`"])
1058
 ("E''" ["E'"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1059
 ("e``" ["e`"])
1060
 ("e''" ["e'"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1061 1062
 ("I``" ["I`"])
 ("i``" ["i`"])
1063 1064 1065 1066
 ("I''" ["I'"])
 ("i''" ["i'"])
 ("I^^" ["I^"])
 ("i^^" ["i^"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1067 1068
 ("O``" ["O`"])
 ("o``" ["o`"])
1069 1070
 ("O''" ["O'"])
 ("o''" ["o'"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1071 1072
 ("U``" ["U`"])
 ("u``" ["u`"])
1073 1074 1075 1076 1077 1078
 ("U''" ["U'"])
 ("u''" ["u'"])
 ("<<<" ["<<"])
 (">>>" [">>"])
 ("o__" ["o_"])
 ("a__" ["a_"])
Richard M. Stallman's avatar
Richard M. Stallman committed
1079 1080 1081 1082
 )


(quail-define-package
Dave Love's avatar
Dave Love committed
1083 1084
 "turkish-alt-postfix" "Turkish" "TR«" t
 "Turkish (Türkçe) input method with postfix modifiers.
Richard M. Stallman's avatar
Richard M. Stallman committed
1085
This input method differs from `turkish-postfix' in that
1086
comma is not special (use \\=` instead).
Richard M. Stallman's avatar
Richard M. Stallman committed
1087

Kenichi Handa's avatar
Kenichi Handa committed
1088
turkish-latin-3-alt-postfix is an obsolete alias for turkish-alt-postfix.
1089

Dave Love's avatar
Dave Love committed
1090
Note for I, ı, İ, i.
Richard M. Stallman's avatar
Richard M. Stallman committed
1091

Dave Love's avatar
Dave Love committed
1092
A^ -> Â
1093
C\\=` -> Ç
Dave Love's avatar
Dave Love committed
1094
G^ -> Ğ
Richard M. Stallman's avatar
Richard M. Stallman committed
1095
I  -> I
Dave Love's avatar
Dave Love committed
1096 1097
i  -> ı
I/ -> İ
Richard M. Stallman's avatar
Richard M. Stallman committed
1098
i/ -> i
Dave Love's avatar
Dave Love committed
1099
O\" -> Ö
1100
S\\=` -> Ş
Dave Love's avatar
Dave Love committed
1101 1102
U\" -> Ü
U^ -> Û
Richard M. Stallman's avatar
Richard M. Stallman committed
1103 1104 1105 1106 1107

Doubling the postfix separates the letter and postfix: e.g. a^^ -> a^
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1108 1109 1110 1111 1112 1113 1114 1115
 ("A^" ?Â)
 ("a^" ?â)
 ("C`" ?Ç)
 ("c`" ?ç)
 ("G^" ?Ğ)
 ("g^" ?ğ)
 ("I/" ?İ)
 ("i" ?ı)
Richard M. Stallman's avatar
Richard M. Stallman committed
1116
 ("i/" ?i)
Dave Love's avatar
Dave Love committed
1117 1118 1119 1120 1121 1122 1123 1124
 ("O\"" ?Ö)
 ("o\"" ?ö)
 ("S`" ?Ş)
 ("s`" ?ş)
 ("U\"" ?Ü)
 ("u\"" ?ü)
 ("U^" ?Û)
 ("u^" ?û)
Richard M. Stallman's avatar
Richard M. Stallman committed
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143

 ("A^^" ["A^"])
 ("a^^" ["a^"])
 ("C``" ["C`"])
 ("c``" ["c`"])
 ("G^^" ["G^"])
 ("g^^" ["g^"])
 ("I//" ["I/"])
 ("i" ["i"])
 ("i//" ["i/"])
 ("O\"\"" ["O\""])
 ("o\"\"" ["o\""])
 ("S``" ["S`"])
 ("s``" ["s`"])
 ("U\"\"" ["U\""])
 ("u\"\"" ["u\""])
 ("U^^" ["U^"])
 ("u^^" ["u^"])
 )
1144

1145 1146
;; Backwards compatibility.
(push (cons "turkish-latin-3-alt-postfix"
1147 1148
	    (cdr (assoc "turkish-alt-postfix" quail-package-alist)))
      quail-package-alist)
1149

Dave Love's avatar
Dave Love committed
1150 1151 1152
;; Dutch Quail input method derived from the one in Yudit by Roman
;; Czyborra.
(quail-define-package
1153
 "dutch" "Dutch" "NL" t
Dave Love's avatar
Dave Love committed
1154
 "Dutch character mixfix input method.
1155
Caters for French and Dutch.
Dave Love's avatar
Dave Love committed
1156 1157 1158

             |         | examples
 ------------+---------+----------
Eli Zaretskii's avatar
Eli Zaretskii committed
1159
  others     |         | fl. -> ƒ  eur. -> €
Dave Love's avatar
Dave Love committed
1160 1161 1162
 ------------+---------+----------
             | postfix |
 ------------+---------+----------
1163
  acute      |    \\='    | a\\=' -> á
1164
  grave      |    \\=`    | a\\=` -> à
Dave Love's avatar
Dave Love committed
1165
  circumflex |    ^    | a^ -> â
Dave Love's avatar
Dave Love committed
1166 1167 1168
 ------------+---------+----------
             | prefix  |
 ------------+---------+----------
Dave Love's avatar
Dave Love committed
1169
  diaeresis  |    \"    | \"a -> ä
1170

1171
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Dave Love's avatar
Dave Love committed
1172 1173 1174
" nil t nil nil nil nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1175 1176 1177
 ("fl." ?ƒ) ;; LATIN SMALL LETTER F WITH HOOK (florin currency symbol)
 ("eur." ?) ;; EURO SIGN
 ;; “Trema on the second letter of vowel pair.”  Yudit uses `:', not `"'.
1178 1179 1180 1181 1182 1183 1184 1185 1186 1187
 ("\"a" ?ä) ;; LATIN SMALL LETTER A WITH DIAERESIS
 ("\"e" ?ë) ;; LATIN SMALL LETTER E WITH DIAERESIS
 ("\"i" ?ï) ;; LATIN SMALL LETTER I WITH DIAERESIS
 ("\"o" ?ö) ;; LATIN SMALL LETTER O WITH DIAERESIS
 ("\"u" ?ü) ;; LATIN SMALL LETTER U WITH DIAERESIS
 ("\"A" ?Ä) ;; LATIN CAPITAL LETTER A WITH DIAERESIS
 ("\"E" ?Ë) ;; LATIN CAPITAL LETTER E WITH DIAERESIS
 ("\"I" ?Ï) ;; LATIN CAPITAL LETTER I WITH DIAERESIS
 ("\"O" ?Ö) ;; LATIN CAPITAL LETTER O WITH DIAERESIS
 ("\"U" ?Ü) ;; LATIN CAPITAL LETTER U WITH DIAERESIS
Dave Love's avatar
Dave Love committed
1188
 ;; “Acute, marking emphasis on long vowels”:
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198
 ("a'" ?á) ;; LATIN SMALL LETTER A WITH ACUTE
 ("e'" ?é) ;; LATIN SMALL LETTER E WITH ACUTE
 ("i'" ?í) ;; LATIN SMALL LETTER I WITH ACUTE
 ("o'" ?ó) ;; LATIN SMALL LETTER O WITH ACUTE
 ("u'" ?ú) ;; LATIN SMALL LETTER U WITH ACUTE
 ("A'" ?Á) ;; LATIN CAPITAL LETTER A WITH ACUTE
 ("E'" ?É) ;; LATIN CAPITAL LETTER E WITH ACUTE
 ("I'" ?Í) ;; LATIN CAPITAL LETTER I WITH ACUTE
 ("O'" ?Ó) ;; LATIN CAPITAL LETTER O WITH ACUTE
 ("U'" ?Ú) ;; LATIN CAPITAL LETTER U WITH ACUTE
Dave Love's avatar
Dave Love committed
1199 1200
 ;; “Grave, marking emphasis on short vowels”:
 ("a`" ?à) ;; LATIN SMALL LETTER A WITH GRAVE
1201 1202 1203 1204 1205 1206 1207 1208
 ("e`" ?è) ;; LATIN SMALL LETTER E WITH GRAVE
 ("i`" ?ì) ;; LATIN SMALL LETTER I WITH GRAVE
 ("o`" ?ò) ;; LATIN SMALL LETTER O WITH GRAVE
 ("u`" ?ù) ;; LATIN SMALL LETTER U WITH GRAVE
 ("A`" ?À) ;; LATIN CAPITAL LETTER A WITH GRAVE
 ("E`" ?È) ;; LATIN CAPITAL LETTER E WITH GRAVE
 ("I`" ?Ì) ;; LATIN CAPITAL LETTER I WITH GRAVE
 ("O`" ?Ò) ;; LATIN CAPITAL LETTER O WITH GRAVE
Dave Love's avatar
Dave Love committed
1209 1210 1211
 ("U`" ?Ù) ;; LATIN CAPITAL LETTER U WITH GRAVE
 ;; “Cater for the use of many French words and use of the circumflex
 ;; in Frisian.”  Yudit used `;' for cedilla.
1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222
 ("c," ?ç) ;; LATIN SMALL LETTER C WITH CEDILLA
 ("C," ?Ç) ;; LATIN CAPITAL LETTER C WITH CEDILLA
 ("a^" ?â) ;; LATIN SMALL LETTER A WITH CIRCUMFLEX
 ("e^" ?ê) ;; LATIN SMALL LETTER E WITH CIRCUMFLEX
 ("i^" ?î) ;; LATIN SMALL LETTER I WITH CIRCUMFLEX
 ("o^" ?ô) ;; LATIN SMALL LETTER O WITH CIRCUMFLEX
 ("u^" ?û) ;; LATIN SMALL LETTER U WITH CIRCUMFLEX
 ("A^" ?Â) ;; LATIN CAPITAL LETTER A WITH CIRCUMFLEX
 ("E^" ?Ê) ;; LATIN CAPITAL LETTER E WITH CIRCUMFLEX
 ("I^" ?Î) ;; LATIN CAPITAL LETTER I WITH CIRCUMFLEX
 ("O^" ?Ô) ;; LATIN CAPITAL LETTER O WITH CIRCUMFLEX
Dave Love's avatar
Dave Love committed
1223
 ("U^" ?Û) ;; LATIN CAPITAL LETTER U WITH CIRCUMFLEX
Dave Love's avatar
Dave Love committed
1224 1225
 )

1226 1227 1228 1229 1230 1231 1232 1233
;; Originally from Yudit, discussed with Albertas Agejevas
;; <alga@uosis.mif.vu.lt>
(quail-define-package
 "lithuanian-numeric" "Lithuanian" "LtN" t
 "Lithuanian numeric input method.
" nil t t t t nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253
 ("1" ?ą)
 ("2" ?č)
 ("3" ?ę)
 ("4" ?ė)
 ("5" ?į)
 ("6" ?š)
 ("7" ?ų)
 ("8" ?ū)
 ("9" ?)
 ("0" ?)
 ("=" ?ž)
 ("!" ?Ą)
 ("@" ?Č)
 ("#" ?Ę)
 ("$" ?Ė)
 ("%" ?Į)
 ("^" ?Š)
 ("&" ?Ų)
 ("*" ?Ū)
 ("+" ?Ž))
1254 1255 1256 1257 1258 1259 1260 1261 1262

;; From XFree 4.1 /usr/X11R6/lib/X11/xkb/symbols/lt, suggested by
;; Albertas Agejevas <alga@uosis.mif.vu.lt>
(quail-define-package
 "lithuanian-keyboard" "Lithuanian" "Lt" t
 "Lithuanian standard keyboard input method.
" nil t t t t nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279
 ("1" ?ą)
 ("!" ?Ą)
 ("2" ?č)
 ("@" ?Č)
 ("#" ?Ę)
 ("4" ?ė)
 ("$" ?Ė)
 ("5" ?į)
 ("%" ?Į)
 ("6" ?š)
 ("^" ?Š)
 ("7" ?ų)
 ("&" ?Ų)
 ("9" ?)
 ("0" ?)
 ("=" ?ž)
 ("+" ?Ž))
1280 1281 1282 1283 1284 1285 1286 1287

;; From XFree 4.1 /usr/X11R6/lib/X11/xkb/symbols/lv
(quail-define-package
 "latvian-keyboard" "Latvian" "Lv" t
 "Latvian standard keyboard input method.
" nil t t t t nil nil nil nil nil t)

(quail-define-rules
Dave Love's avatar
Dave Love committed
1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309
 ("4" ?)
 ("$" ?¢)
 ("e" ?ē)
 ("E" ?Ē)
 ("r" ?ŗ)
 ("R" ?Ŗ)
 ("u" ?ū)
 ("U" ?Ū)
 ("i" ?ī)
 ("I" ?Ī)
 ("o" ?ō)
 ("O" ?Ō)
 ("a" ?ā)
 ("A" ?Ā)
 ("s" ?š)
 ("S" ?Š)
 ("g" ?ģ)
 ("G" ?Ģ)
 ("k" ?ķ)
 ("K" ?Ķ)
 ("l" ?ļ)
 ("L" ?Ļ)
1310
 ("'" ?)
Dave Love's avatar
Dave Love committed
1311 1312 1313 1314 1315 1316 1317
 ("\"" ?)
 ("z" ?ž)
 ("Z" ?Ž)
 ("c" ?č)
 ("C" ?Č)
 ("n" ?ņ)
 ("N" ?Ņ))
1318

Dave Love's avatar
Dave Love committed
1319 1320 1321 1322 1323 1324 1325 1326
(quail-define-package
 "latin-alt-postfix" "Latin" "L<" t
 "Latin character input method with postfix modifiers.
This is the union of various input methods originally made for input
of characters from a single Latin-N charset.

             | postfix | examples
 ------------+---------+----------
1327
  acute      |    \\='    | a\\=' -> á
1328
  grave      |    \\=`    | a\\=` -> à
Dave Love's avatar
Dave Love committed
1329 1330 1331
  circumflex |    ^    | a^ -> â
  diaeresis  |    \"    | a\" -> ä
  tilde      |    ~    | a~ -> ã
1332 1333
  cedilla    |    /\\=`   | c/ -> ç   c\\=` -> ç
  ogonek     |    \\=`    | a\\=` -> ą
Dave Love's avatar
Dave Love committed
1334 1335 1336
  breve      |    ~    | a~ -> ă
  caron      |    ~    | c~ -> č
  dbl. acute |    :    | o: -> ő
1337 1338
  ring       |    \\=`    | u\\=` -> ů
  dot        |    \\=`    | z\\=` -> ż
Dave Love's avatar
Dave Love committed
1339 1340 1341 1342
  stroke     |    /    | d/ -> đ
  nordic     |    /    | d/ -> ð   t/ -> þ   a/ -> å   e/ -> æ   o/ -> ø
  others     |   /<>   | s/ -> ß   ?/ -> ¿   !/ -> ¡
             | various | << -> «   >> -> »   o_ -> º   a_ -> ª
Dave Love's avatar
Dave Love committed
1343 1344 1345 1346 1347

It would be natural to use comma for cedillas, but that would be
inconvenient in practice because commas are needed very often after a
letter.

1348
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
Dave Love's avatar
Dave Love committed
1349 1350
" nil t nil nil nil nil nil nil nil nil t)

Dave Love's avatar
Dave Love committed
1351
;; Fixme: ¦ § ¨ © ¬ ­ ® ¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ ¼ ½ ¾ × ÷
Dave Love's avatar
Dave Love committed
1352
(quail-define-rules
Dave Love's avatar
Dave Love committed
1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415
 (" _" ? )
 ("!/" ?¡)
 ("//" ?°)
 ("<<" ?«)
 (">>" ?»)
 ("?/" ?¿)
 ("$/" ?£)
 ("$/" ?¤)
 ("A'" ?Á)
 ("A-" ?Ā)
 ("A/" ?Å)
 ("A\"" ?Ä)
 ("A^" ?Â)
 ("A`" ?À)
 ("A`" ?Ą)
 ("A~" ?Ã)
 ("A~" ?Ă)
 ("C'" ?Ć)
 ("C/" ?Ç)
 ("C/" ?Ċ)
 ("C^" ?Ĉ)
 ("C`" ?Ç)
 ("C~" ?Č)
 ("D/" ?Ð)
 ("D/" ?Đ)
 ("D~" ?Ď)
 ("E'" ?É)
 ("E-" ?Ē)
 ("E/" ?Æ)
 ("E\"" ?Ë)
 ("E^" ?Ê)
 ("E`" ?È)
 ("E`" ?Ę)
 ("E~" ?Ė)
 ("E~" ?Ě)
 ("G/" ?Ġ)
 ("G^" ?Ĝ)
 ("G`" ?Ģ)
 ("G~" ?Ğ)
 ("H/" ?Ħ)
 ("H^" ?Ĥ)
 ("I'" ?Í)
 ("I-" ?Ī)
 ("I/" ?İ)
 ("I\"" ?Ï)
 ("I^" ?Î)
 ("I`" ?Ì)
 ("I`" ?Į)
 ("I~" ?Ĩ)
 ("J^" ?Ĵ)
 ("K`" ?Ķ)
 ("L'" ?Ĺ)
 ("L/" ?Ł)
 ("L`" ?Ļ)
 ("L~" ?Ľ)
 ("N'" ?Ń)
 ("N/" ?Ŋ)
 ("N`" ?Ņ)
 ("N~" ?Ñ)
 ("N~" ?Ň)
 ("O'" ?Ó)
 ("O-" ?Ō)
 ("O/" ?Ø)
1416
 ("O/" ?Œ)
Dave Love's avatar
Dave Love committed
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508
 ("O:" ?Ő)
 ("O\"" ?Ö)
 ("O^" ?Ô)
 ("O`" ?Ò)
 ("O~" ?Õ)
 ("R'" ?Ŕ)
 ("R`" ?Ŗ)
 ("R~" ?Ř)
 ("S'" ?Ś)
 ("S^" ?Ŝ)
 ("S`" ?Ş)
 ("S~" ?Š)
 ("T/" ?Þ)
 ("T/" ?Ŧ)
 ("T`" ?Ţ)
 ("T~" ?Ť)
 ("U'" ?Ú)
 ("U-" ?Ū)
 ("U:" ?Ű)
 ("U\"" ?Ü)
 ("U^" ?Û)
 ("U`" ?Ù)
 ("U`" ?Ů)
 ("U`" ?Ų)
 ("U~" ?Ũ)
 ("U~" ?Ŭ)
 ("Y'" ?Ý)
 ("Y\"" ?Ÿ)
 ("Y=" ?¥)
 ("Z'" ?Ź)
 ("Z/" ?Ż)
 ("Z`" ?Ż)
 ("Z~" ?Ž)
 ("a'" ?á)
 ("a-" ?ā)
 ("a/" ?å)
 ("a\"" ?ä)
 ("a^" ?â)
 ("a_" ?ª)
 ("a`" ?à)
 ("a`" ?ą)
 ("a~" ?ã)
 ("a~" ?ă)
 ("c'" ?ć)
 ("c/" ?ç)
 ("c/" ?ċ)
 ("c/" ?¢)
 ("c^" ?ĉ)
 ("c`" ?ç)
 ("c~" ?č)
 ("d/" ?ð)
 ("d/" ?đ)
 ("d~" ?ď)
 ("e'" ?é)
 ("e-" ?ē)
 ("e/" ?æ)
 ("e\"" ?ë)
 ("e^" ?ê)
 ("e`" ?è)
 ("e`" ?ę)
 ("e~" ?ė)
 ("e~" ?ě)
 ("e=" ?)
 ("g/" ?ġ)
 ("g^" ?ĝ)
 ("g`" ?ģ)
 ("g~" ?ğ)
 ("h/" ?ħ)
 ("h^" ?ĥ)
 ("i'" ?í)
 ("i-" ?ī)
 ("i/" ?ı)
 ("i\"" ?ï)
 ("i^" ?î)
 ("i`" ?ì)
 ("i`" ?į)
 ("i~" ?ĩ)
 ("j^" ?ĵ)
 ("k/" ?ĸ)
 ("k`" ?ķ)
 ("l'" ?ĺ)
 ("l/" ?ł)
 ("l`" ?ļ)
 ("l~" ?ľ)
 ("n'" ?ń)
 ("n/" ?ŋ)
 ("n`" ?ņ)
 ("n~" ?ñ)
 ("n~" ?ň)
 ("o'" ?ó)
 ("o-" ?ō)
 ("o/" ?ø)
1509
 ("o/" ?œ)
Dave Love's avatar
Dave Love committed
1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543
 ("o:" ?ő)
 ("o\"" ?ö)
 ("o^" ?ô)
 ("o_" ?º)
 ("o`" ?ò)
 ("o~" ?õ)
 ("r'" ?ŕ)
 ("r`" ?ŗ)
 ("r~" ?ř)
 ("s'" ?ś)
 ("s/" ?ß)
 ("s^" ?ŝ)
 ("s`" ?ş)
 ("s~" ?š)
 ("t/" ?þ)
 ("t/" ?ŧ)
 ("t`" ?ţ)
 ("t~" ?ť)
 ("u'" ?ú)
 ("u-" ?ū)
 ("u:" ?ű)
 ("u\"" ?ü)
 ("u^" ?û)
 ("u`" ?ù)
 ("u`" ?ů)
 ("u`" ?ų)
 ("u~" ?ũ)
 ("u~" ?ŭ)
 ("y'" ?ý)
 ("y\"" ?ÿ)
 ("z'" ?ź)
 ("z/" ?ż)
 ("z`" ?ż)
 ("z~" ?ž)
Dave Love's avatar
Dave Love committed
1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707

 (" __" [" _"])
 ("!//" ["!/"])
 ("<<<" ["<<"])
 (">>>" [">>"])
 ("?//" ["?/"])
 ("///" ["//"])
 ("$//" ["$/"])
 ("A''" ["A'"])
 ("A--" ["A-"])
 ("A//" ["A/"])
 ("A\"\"" ["A\""])
 ("A^^" ["A^"])
 ("A``" ["A`"])
 ("A~~" ["A~"])
 ("C''" ["C'"])
 ("C//" ["C/"])
 ("C^^" ["C^"])
 ("C``" ["C`"])
 ("C~~" ["C~"])
 ("D//" ["D/"])
 ("D~~" ["D~"])
 ("E''" ["E'"])
 ("E--" ["E-"])
 ("E//" ["E/"])
 ("E\"\"" ["E\""])
 ("E^^" ["E^"])
 ("E``" ["E`"])
 ("E~~" ["E~"])
 ("G//" ["G/"])
 ("G^^" ["G^"])
 ("G``" ["G`"])