155
|
1 ;;; quail/ipa.el -- Quail package for inputting IPA characters
|
|
2
|
|
3 ;; Copyright (C) 1995 Free Software Foundation, Inc.
|
|
4 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
|
|
5
|
|
6 ;; Keywords: multilingual, input method, IPA
|
|
7
|
|
8 ;; This file is part of GNU Emacs.
|
|
9
|
|
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 2, or (at your option)
|
|
13 ;; any later version.
|
|
14
|
|
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.
|
|
19
|
|
20 ;; You should have received a copy of the GNU General Public License
|
|
21 ;; along with GNU Emacs; see the file COPYING. If not, write to
|
|
22 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
23
|
|
24 ;;; Code:
|
|
25
|
|
26 (require 'quail)
|
|
27
|
|
28 (quail-define-package
|
|
29 "quail-ipa" "IPA" "IPA" t
|
|
30 "International Phonetic Alphabet for English, French, German and Italian.
|
|
31 Upside-down characters are obtained by a preceding slash (/)."
|
|
32 nil t)
|
|
33
|
|
34 (quail-define-rules
|
|
35 ("i" ?,0 (B)
|
|
36 ("I" ?,0!(B)
|
|
37 ("e" ?,0"(B)
|
|
38 ("/3" ?,0#(B)
|
|
39 ("E" ?,0#(B)
|
|
40 ("ae" ?,0$(B)
|
|
41 ("a" ?,0%(B)
|
|
42 ("i-" ?,0&(B)
|
|
43 ("/e" ?,0'(B)
|
|
44 ("/a" ?,0((B)
|
|
45 ("/m" ?,0)(B)
|
|
46 ("&" ?,0*(B)
|
|
47 ("/v" ?,0+(B)
|
|
48 ("A" ?,0,(B)
|
|
49 ("o|" ?,0,(B)
|
|
50 ("y" ?,0-(B)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