;; latn-pre.mim -- Latin input method with prefix modifiers
;; Copyright (C) 2004, 2005
;; National Institute of Advanced Industrial Science and Technology (AIST)
;; Registration Number H15PRO112
;; This file is part of the m17n database, a sub-part of the m17n library.
;; The m17n library 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 2, or (at
;; your option) any later version.
;; The m17n library 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 the m17n library; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
;; Boston, MA 02111-1307, USA.
;;;
latn-pre.mim
;;;
;;; Input method for Latin script with prefix modifiers.
;;; @image html latn-pre.png
;;; @image latex latn-pre.eps "Examples" width=\narrowwidth
;; | mark | prefix | examples
;; |------------+--------+----------
;; | acute | ' | 'a -> á, '' -> ´
;; | grave | ` | `a -> à `` -> `
;; | circumflex | ^ | ^a -> â ^^ -> ^
;; | diaeresis | " | "a -> ä "" -> ¨
;; | tilde | ~ | ~a -> ã
;; | breve | ~ | ~g -> ğ ~` -> ˘
;; | cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
;; | caron | ~ | ~z -> ž ~ss -> š
;; | dot above | . / | .g -> ġ /g -> ġ
;; | misc | / | /a -> å /e -> æ /h -> ħ /o -> ø /oe -> œ
;; | misc | " ~ / | "s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
;; | symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸ ~$ -> £
;; | symbol | ~ | ~- -> ~. -> · ~= -> ¯ ~| -> ¦ ~sss -> §
;; | symbol | _ | _+ -> ± _: -> ÷ _o -> º _a -> ª _y -> ¥
;; | symbol | ^ | ^1 -> ¹ ^2 -> ² ^3 -> ³ ^r -> ® ^cc -> ©
;; | symbol | / | /2 -> ½ /3 -> ¾ /4 -> ¼ /= -> ?¬
;; | symbol | / | /# -> £ /$ -> ¤ /c -> ¢ /. -> ˙ // -> ° /\ -> ×
(input-method t latn-pre)
(decsription
"Latin script input method using prefix modifiers.
;; | mark | prefix | examples
;; |------------+--------+----------
;; | acute | ' | 'a -> á, '' -> ´
;; | grave | ` | `a -> à `` -> `
;; | circumflex | ^ | ^a -> â ^^ -> ^
;; | diaeresis | \" | \"a -> ä \"\" -> ¨
;; | tilde | ~ | ~a -> ã
;; | breve | ~ | ~g -> ğ ~` -> ˘
;; | cedilla | ~ | ~c -> ç ~s -> ş ~~ -> ¸
;; | caron | ~ | ~z -> ž ~ss -> š
;; | dot above | . / | .g -> ġ /g -> ġ
;; | misc | / | /a -> å /e -> æ /h -> ħ /o -> ø /oe -> œ
;; | misc | \" ~ / | \"s -> ß ~d -> ð ~t -> þ /a -> å /e -> æ /o -> ø
;; | symbol | ~ | ~> -> » ~< -> « ~! -> ¡ ~? -> ¿ ~~ -> ¸ ~$ -> £
;; | symbol | ~ | ~- -> ~. -> · ~= -> ¯ ~| -> ¦ ~sss -> §
;; | symbol | _ | _+ -> ± _: -> ÷ _o -> º _a -> ª _y -> ¥
;; | symbol | ^ | ^1 -> ¹ ^2 -> ² ^3 -> ³ ^r -> ® ^cc -> ©
;; | symbol | / | /2 -> ½ /3 -> ¾ /4 -> ¼ /= -> ?¬
;; | symbol | / | /# -> £ /$ -> ¤ /c -> ¢ /. -> ˙ // -> ° /\\ -> ×
")
(title "Latin-pre")
(map
(trans
("''" ?´)
("'A" ?Á)
("'E" ?É)
("'I" ?Í)
("'O" ?Ó)
("'U" ?Ú)
("'W" ?Ẃ)
("'Y" ?Ý)
("'a" ?á)
("'e" ?é)
("'i" ?í)
("'o" ?ó)
("'u" ?ú)
("'w" ?ẃ)
("'y" ?ý)
(".B" ?Ḃ)
(".C" ?Ċ)
(".D" ?Ḋ)
(".F" ?Ḟ)
(".G" ?Ġ)
(".I" ?İ)
(".M" ?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