From 53e400dd48f4f356124bebbb9f902da7f6a841cd Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 9 Mar 2004 07:31:10 +0000 Subject: [PATCH] Fix many keys for consistency. --- latin-post.mim | 578 +++++++++++++++++++++----------------------------------- 1 file changed, 216 insertions(+), 362 deletions(-) diff --git a/latin-post.mim b/latin-post.mim index 831da65..69bb5d5 100644 --- a/latin-post.mim +++ b/latin-post.mim @@ -1,5 +1,5 @@ ;; latin-post.mim -- Latin input method with postfix modifiers -;; Copyright (C) 2003 +;; Copyright (C) 2003, 2004 ;; National Institute of Advanced Industrial Science and Technology (AIST) ;; Registration Number H15PRO112 @@ -33,383 +33,237 @@ ;;; | tilde | ~ | a~ -> ã ;;; | cedilla | , | c, -> ç ;;; | ogonek | , | a, -> ą -;;; | breve | ~ | a~ -> ă +;;; | breve | ~ | g~ -> ğ ;;; | caron | ~ | c~ -> č ;;; | dbl. acute | : | o: -> ő ;;; | ring | . | u. -> ů ;;; | dot | . | z. -> ż -;;; | stroke | / | d/ -> đ -;;; | nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø -;;; | others | / | s/ -> ß ?/ -> ¿ !/ -> ¡ // -> ° -;;; | | various | << -> « >> -> » o_ -> º a_ -> ª +;;; | stroke | / | l/ -> ł +;;; | others | /, etc. | d/ -> ð t/ -> þ a/ -> å o/ -> ø +;;; | | | ae/ -> æ ij -> ij oe/ -> œ s/ -> ß +;;; | | | ?/ -> ¿ !/ -> ¡ // -> ° +;;; | | | << -> « >> -> » o_ -> º a_ -> ª ;;; -;;; Doubling the postfix separates the letter and postfix: e.g. a'' -> a' +;;; Repeating the postfix changes ambiguous combining marks: for example, +;;; A~ -> à +;;; A~~ -> Ă +;;; A~~~ -> A~ ;;; @endverbatim +(title "Latin-post") + (map (trans ("!/" "¡") - ("//" "°") - ("<<" "\«") - (">>" "\»") - (""/" ?¿") - ("$/" "£") - ("$/" "¤") - ("A'" "Á") - ("A," "Ą") - ("A-" "Ā") - ("A/" "Å") - ("A\"" "Ä") - ("A^" "Â") - ("A`" "À") - ("A~" "Ã") - ("A~" "Ă") - ("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/" "Ø") - ("O/" "Œ") - ("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~" "Ž") - ("a'" "á") - ("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~" "ě") - ("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/" "ø") - ("o/" "œ") - ("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~" "ž") - ("!//" "!/") + ("//" "°") ("///" "//") + ("<<" "\«") ("<<<" "<<") + (">>" "\»") (">>>" ">>") + ("?/" "¿") ("?//" "?/") - ("$//" "$/") - ("A''" "A'") - ("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^") - ("E``" "E`") - ("E~~" "E~") - ("G,," "G,") - ("G.." "G.") - ("G^^" "G^") - ("G~~" "G~") - ("H//" "H/") - ("H^^" "H^") - ("I''" "I'") - ("I,," "I,") - ("I--" "I-") - ("I.." "I.") - ("I\"\"" "I\"") - ("I^^" "I^") - ("I``" "I`") - ("I~~" "I~") - ("J^^" "J^") - ("K,," "K,") - ("L''" "L'") - ("L,," "L,") - ("L//" "L/") - ("L~~" "L~") - ("N''" "N'") - ("N,," "N,") - ("N//" "N/") - ("N~~" "N~") - ("O''" "O'") - ("O--" "O-") - ("O//" "O/") - ("O::" "O:") - ("O\"\"" "O\"") - ("O^^" "O^") - ("O``" "O`") - ("O~~" "O~") - ("R''" "R'") - ("R,," "R,") - ("R~~" "R~") - ("S''" "S'") - ("S,," "S,") - ("S^^" "S^") - ("S~~" "S~") - ("T,," "T,") - ("T//" "T/") - ("T~~" "T~") - ("U''" "U'") - ("U,," "U,") - ("U--" "U-") - ("U.." "U.") - ("U::" "U:") - ("U\"\"" "U\"") - ("U^^" "U^") - ("U``" "U`") - ("U~~" "U~") - ("Y''" ["Y'"]) - ("Y\"\"" "Y\"") - ("Y==" "Y=") - ("Z''" "Z'") - ("Z.." "Z.") - ("Z~~" "Z~") - ("a''" "a'") - ("a,," "a,") - ("a--" "a-") - ("a//" "a/") - ("a\"\"" "a\"") - ("a^^" "a^") - ("a__" "a_") - ("a``" "a`") - ("a~~" "a~") - ("c''" "c'") - ("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^") - ("e``" "e`") - ("e==" "e=") - ("e~~" "e~") - ("g,," "g,") - ("g.." "g.") - ("g^^" "g^") - ("g~~" "g~") - ("h//" "h/") - ("h^^" "h^") - ("i''" "i'") - ("i,," "i,") - ("i--" "i-") - ("i.." "i.") - ("i\"\"" "i\"") - ("i^^" "i^") - ("i``" "i`") - ("i~~" "i~") - ("j^^" "j^") - ("k,," "k,") - ("k//" "k/") - ("l''" "l'") - ("l,," "l,") - ("l//" "l/") - ("l~~" "l~") - ("n''" "n'") - ("n,," "n,") - ("n//" "n/") - ("n~~" "n~") - ("o''" "o'") - ("o--" "o-") - ("o//" "o/") - ("o::" "o:") - ("o\"\"" "o\"") - ("o^^" "o^") - ("o__" "o_") - ("o``" "o`") - ("o~~" "o~") - ("r''" "r'") - ("r,," "r,") - ("r~~" "r~") - ("s''" "s'") - ("s,," "s,") - ("s//" "s/") - ("s^^" "s^") - ("s~~" "s~") - ("t,," "t,") - ("t//" "t/") - ("t~~" "t~") - ("u''" "u'") - ("u,," "u,") - ("u--" "u-") - ("u.." "u.") - ("u::" "u:") - ("u\"\"" "u\"") - ("u^^" "u^") - ("u``" "u`") - ("u~~" "u~") - ("y''" "y'") - ("y\"\"" "y\"") - ("z''" "z'") - ("z.." "z.") - ("z~~" "z~") - ) + ("$/" "£") + ("$//" "¤") + ("$///" "$/") + ("A'" "Á") ("a'" "á") + ("A''" "A'") ("a''" "a'") + ("A," "Ą") ("a," "ą") + ("A,," "A,") ("a,," "a,") + ("A-" "Ā") ("a-" "ā") + ("A--" "A-") ("a--" "a-") + ("A/" "Å") ("a/" "å") + ("A//" "A/") ("a//" "a/") + ("A\"" "Ä") ("a\"" "ä") + ("A\"\"" "A\"") ("a\"\"" "a\"") + ("A^" "Â") ("a^" "â") + ("A^^" "A^") ("a^^" "a^") + ("A`" "À") ("a`" "à") + ("A``" "A`") ("a``" "a`") + ("A~" "Ã") ("a~" "ã") + ("A~~" "Ă") ("a~~" "ă") + ("A~~~" "A~") ("a~~~" "a~") + ("AE/" "Æ") ("ae/" "æ") + ("AE//" "Æ/") ("ae//" "æ/") + ("AE///" "AE/") ("ae///" "ae/") + ("a_" "ª") + ("a__" "a_") + ("C'" "Ć") ("c'" "ć") + ("C''" "C'") ("c''" "c'") + ("C," "Ç") ("c," "ç") + ("C,," "C,") ("c,," "c,") + ("C." "Ċ") ("c." "ċ") + ("C.." "C.") ("c.." "c.") + ("C^" "Ĉ") ("c^" "ĉ") + ("C^^" "C^") ("c^^" "c^") + ("C~" "Č") ("c~" "č") + ("C~~" "C~") ("c~~" "c~") + ("c/" "¢") + ("c//" "c/") + ("D/" "Ð") ("d/" "ð") + ("D//" "Đ") ("d//" "đ") + ("D///" "D/") ("d///" "d/") + ("D~" "Ď") ("d~" "ď") + ("D~~" "D~") ("d~~" "d~") + ("E'" "É") ("e'" "é") + ("E''" "E'") ("e''" "e'") + ("E," "Ę") ("e," "ę") + ("E,," "E,") ("e,," "e,") + ("E-" "Ē") ("e-" "ē") + ("E--" "E-") ("e--" "e-") + ("E." "Ė") ("e." "ė") + ("E.." "E.") ("e.." "e.") + ("E\"" "Ë") ("e\"" "ë") + ("E\"\"" "E\"") ("e\"\"" "e\"") + ("E^" "Ê") ("e^" "ê") + ("E^^" "E^") ("e^^" "e^") + ("E`" "È") ("e`" "è") + ("E``" "E`") ("e``" "e`") + ("E~" "Ě") ("e~" "ě") + ("E~~" "Ĕ") ("e~~" "ĕ") + ("E~~~" "E~") ("e~~~" "e~") + ("e=" "€") + ("e==" "e=") + ("G," "Ģ") ("g," "ģ") + ("G,," "G,") ("g,," "g,") + ("G." "Ġ") ("g." "ġ") + ("G.." "G.") ("g.." "g.") + ("G^" "Ĝ") ("g^" "ĝ") + ("G^^" "G^") ("g^^" "g^") + ("G~" "Ğ") ("g~" "ğ") + ("G~~" "G~") ("g~~" "g~") + ("H/" "Ħ") ("h/" "ħ") + ("H//" "H/") ("h//" "h/") + ("H^" "Ĥ") ("h^" "ĥ") + ("H^^" "H^") ("h^^" "h^") + ("I'" "Í") ("i'" "í") + ("I''" "I'") ("i''" "i'") + ("I," "Į") ("i," "į") + ("I,," "I,") ("i,," "i,") + ("I-" "Ī") ("i-" "ī") + ("I--" "I-") ("i--" "i-") + ("I." "İ") ("i." "ı") + ("I.." "I.") ("i.." "i.") + ("I\"" "Ï") ("i\"" "ï") + ("I\"\"" "I\"") ("i\"\"" "i\"") + ("I^" "Î") ("i^" "î") + ("I^^" "I^") ("i^^" "i^") + ("I`" "Ì") ("i`" "ì") + ("I``" "I`") ("i``" "i`") + ("I~" "Ĩ") ("i~" "ĩ") + ("I~~" "Ĭ") ("i~~" "ĭ") + ("I~~~" "I~") ("i~~~" "i~") + ("IJ/" "IJ") ("ij/" "ij") + ("IJ//" "IJ/") ("ij//" "ij/") + ("IJ///" "IJ/") ("ij///" "ij/") + ("J^" "Ĵ") ("j^" "ĵ") + ("J^^" "J^") ("j^^" "j^") + ("K," "Ķ") ("k," "ķ") + ("K,," "K,") ("k,," "k,") + ("k/" "ĸ") + ("k//" "k/") + ("L'" "Ĺ") ("l'" "ĺ") + ("L''" "L'") ("l''" "l'") + ("L," "Ļ") ("l," "ļ") + ("L,," "L,") ("l,," "l,") + ("L." "Ŀ") ("l." "ŀ") + ("L.." "L.") ("l.." "l.") + ("L/" "Ł") ("l/" "ł") + ("L//" "L/") ("l//" "l/") + ("L~" "Ľ") ("l~" "ľ") + ("L~~" "L~") ("l~~" "l~") + ("N'" "Ń") ("n'" "ń") + ("N''" "N'") ("n''" "n'") + ("N," "Ņ") ("n," "ņ") + ("N,," "N,") ("n,," "n,") + ("N/" "Ŋ") ("n/" "ŋ") + ("N//" "N/") ("n//" "n/") + ("N~" "Ñ") ("n~" "ñ") + ("N~~" "Ň") ("n~~" "ň") + ("N~~~" "N~") ("n~~~" "n~") + ("O'" "Ó") ("o'" "ó") + ("O''" "O'") ("o''" "o'") + ("O-" "Ō") ("o-" "ō") + ("O--" "O-") ("o--" "o-") + ("O/" "Ø") ("o/" "ø") + ("O//" "O/") ("o//" "o/") + ("O:" "Ő") ("o:" "ő") + ("O::" "O:") ("o::" "o:") + ("O\"" "Ö") ("o\"" "ö") + ("O\"\"" "O\"") ("o\"\"" "o\"") + ("O^" "Ô") ("o^" "ô") + ("O^^" "O^") ("o^^" "o^") + ("O`" "Ò") ("o`" "ò") + ("O``" "O`") ("o``" "o`") + ("O~" "Õ") ("o~" "õ") + ("O~~" "Ŏ") ("o~~" "ŏ") + ("O~~~" "O~") ("o~~~" "o~") + ("OE/" "Œ") ("oe/" "œ") + ("OE//" "Œ/") ("oe//" "œ/") + ("OE///" "OE/") ("oe///" "oe/") + ("o_" "º") + ("o__" "o_") + ("R'" "Ŕ") ("r'" "ŕ") + ("R''" "R'") ("r''" "r'") + ("R," "Ŗ") ("r," "ŗ") + ("R,," "R,") ("r,," "r,") + ("R~" "Ř") ("r~" "ř") + ("R~~" "R~") ("r~~" "r~") + ("S'" "Ś") ("s'" "ś") + ("S''" "S'") ("s''" "s'") + ("S," "Ş") ("s," "ş") + ("S,," "S,") ("s,," "s,") + ("S^" "Ŝ") ("s^" "ŝ") + ("S^^" "S^") ("s^^" "s^") + ("S~" "Š") ("s~" "š") + ("S~~" "S~") ("s~~" "s~") + ("s/" "ß") + ("s//" "s/") + ("T," "Ţ") ("t," "ţ") + ("T,," "T,") ("t,," "t,") + ("T/" "Þ") ("t/" "þ") + ("T//" "Ŧ") ("t//" "ŧ") + ("T///" "T/") ("t///" "t/") + ("T~" "Ť") ("t~" "ť") + ("T~~" "T~") ("t~~" "t~") + ("U'" "Ú") ("u'" "ú") + ("U''" "U'") ("u''" "u'") + ("U," "Ų") ("u," "ų") + ("U,," "U,") ("u,," "u,") + ("U-" "Ū") ("u-" "ū") + ("U--" "U-") ("u--" "u-") + ("U/" "Ů") ("u/" "ů") + ("U//" "U/") ("u//" "u/") + ("U:" "Ű") ("u:" "ű") + ("U::" "U:") ("u::" "u:") + ("U\"" "Ü") ("u\"" "ü") + ("U\"\"" "U\"") ("u\"\"" "u\"") + ("U^" "Û") ("u^" "û") + ("U^^" "U^") ("u^^" "u^") + ("U`" "Ù") ("u`" "ù") + ("U``" "U`") ("u``" "u`") + ("U~" "Ũ") ("u~" "ũ") + ("U~~" "Ŭ") ("u~~" "ŭ") + ("U~~~" "U~") ("u~~~" "u~") + ("W^" "Ŵ") ("w^" "ŵ") + ("W^^" "W^") ("w^^" "w^") + ("Y'" "Ý") ("y'" "ý") + ("Y''" "Y'") ("y''" "y'") + ("Y^" "Ŷ") ("y^" "ŷ") + ("Y^^" "Y^") ("y^^" "y^") + ("Y\"" "Ÿ") ("y\"" "ÿ") + ("Y\"\"" "Y\"") ("y\"\"" "y\"") + ("Y=" "¥") + ("Y==" "Y=") + ("Z'" "Ź") ("z'" "ź") + ("Z''" "Z'") ("z''" "z'") + ("Z." "Ż") ("z." "ż") + ("Z.." "Z.") ("z.." "z.") + ("Z~" "Ž") ("z~" "ž") + ("Z~~" "Z~") ("z~~" "z~") + )) (state (init -- 1.7.10.4