/usr/share/m17n/latn1-pre.mim is in m17n-db 1.7.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 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 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 | ;; latn1-pre.mim -- Latin input method simulating "US International Keyboard"
;; Copyright (C) 2014 Florêncio Neves <florencioneves@gmail.com>
;; 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., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;; Input method for Latin script with prefix modifiers and AltGr combinations.
;; | mark | prefix | examples
;; |------------+--------+----------
;; | acute | ' | 'a -> á
;; | grave | ` | `a -> à
;; | circumflex | ^ | ^a -> â
;; | diaeresis | " | "a -> ä
;; | tilde | ~ | ~a -> ã
;; | cedilla | ' | 'c -> ç
;; | symbol | | AltGr-/ -> ¿ AltGr-5 ~> €
;; | symbol | | AltGr-z -> æ AltGr-s -> ß
(input-method t latn1-pre)
(description
"Latin1 input method simulating \"US International Keyboard\"
which uses prefix modifiers and AltGr combinations as this:
| mark | prefix | examples
|------------+--------+----------
| acute | ' | 'a -> á
| grave | ` | `a -> à
| circumflex | ^ | ^a -> â
| diaeresis | \" | \"a -> ä
| tilde | ~ | ~a -> ã
| cedilla | ' | 'c -> ç
| symbol | | AltGr-/ -> ¿, AltGr-z -> æ, AltGr-s -> ß
For Western European languages, these characters are supported too:
\"Y -> Ÿ, AltGr-x -> œ, AltGr-X -> Œ, AltGr-5 -> €,
AltGr-{ -> ª, AltGr-} ?º, AltGr-( -> “, AltGr-) -> ”")
(title "latin1")
(map
(us-international-keyboard
;; Dead keys
("' " ?')
("'A" ?Á)
("'E" ?É)
("'I" ?Í)
("'O" ?Ó)
("'U" ?Ú)
("'Y" ?Ý)
("'C" ?Ç)
("'a" ?á)
("'e" ?é)
("'i" ?í)
("'o" ?ó)
("'u" ?ú)
("'y" ?ý)
("'c" ?ç)
("\" " ?\")
("\"A" ?Ä)
("\"E" ?Ë)
("\"I" ?Ï)
("\"O" ?Ö)
("\"U" ?Ü)
("\"a" ?ä)
("\"e" ?ë)
("\"i" ?ï)
("\"o" ?ö)
("\"u" ?ü)
("\"y" ?ÿ)
("^ " ?^)
("^A" ?Â)
("^E" ?Ê)
("^I" ?Î)
("^O" ?Ô)
("^U" ?Û)
("^a" ?â)
("^e" ?ê)
("^i" ?î)
("^o" ?ô)
("^u" ?û)
("` " ?`)
("`A" ?À)
("`E" ?È)
("`I" ?Ì)
("`O" ?Ò)
("`U" ?Ù)
("`a" ?à)
("`e" ?è)
("`i" ?ì)
("`o" ?ò)
("`u" ?ù)
("~ " ?~)
("~A" ?Ã)
("~N" ?Ñ)
("~O" ?Õ)
("~a" ?ã)
("~n" ?ñ)
("~o" ?õ)
;; AltGr combinations
((G-1) ?¡)
((G-2) ?²)
((G-3) ?³)
((G-4) ?¤)
((G-6) ?¼)
((G-7) ?½)
((G-8) ?¾)
((G-9) ?‘)
((G-0) ?’)
((G--) ?¥)
((G-=) ?×)
((G-!) ?¹)
((G-$) ?£)
((G-+) ?÷)
((G-q) ?ä)
((G-w) ?å)
((G-e) ?é)
((G-r) ?®)
((G-t) ?þ)
((G-y) ?ü)
((G-u) ?ú)
((G-i) ?í)
((G-o) ?ó)
((G-p) ?ö)
((G-\[) ?«)
((G-\]) ?»)
((G-a) ?á)
((G-s) ?ß)
((G-d) ?ð)
((G-l) ?ø)
((G-\;) ?¶)
((G-\') ?´)
((G-\\) ?¬)
((G-z) ?æ)
((G-c) ?©)
((G-n) ?ñ)
((G-m) ?µ)
((G-,) ?ç)
((G-/) ?¿)
((G-Q) ?Ä)
((G-W) ?Å)
((G-E) ?É)
((G-T) ?Þ)
((G-Y) ?Ü)
((G-U) ?Ú)
((G-I) ?Í)
((G-O) ?Ó)
((G-P) ?Ö)
((G-A) ?Á)
((G-S) ?§)
((G-D) ?Ð)
((G-L) ?Ø)
((G-:) ?°)
((G-\") ?¨)
((G-|) ?¦)
((G-Z) ?Æ)
((G-C) ?¢)
((G-N) ?Ñ)
((G-<) ?Ç))
(extra
;; Not in "US International Keyboard, but needed in some Western
;; European languages.
("\"Y" ?Ÿ)
((G-x) ?œ)
((G-X) ?Œ)
((G-5) ?€)
((G-{) ?ª)
((G-}) ?º)
((G-\() ?“)
((G-\)) ?”)
))
(state
(init
(us-international-keyboard)
(extra)))
;; Local Variables:
;; coding: utf-8
;; mode: emacs-lisp
;; End:
|