Move the macro section to the top as suggested by Takahashi.
[m17n/m17n-contrib.git] / im / gu-inscript.mim
1 ;; gu-inscript.mim -- Gujarati input method for inscript layout
2 ;; This file is derived from the Gujarati inscript table of scim-tables,
3 ;; which was derived from iiimf unitLE's Gujarati inscript layout.
4 ;; Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
5
6 ;; This file is part of the m17n contrib; a sub-part of the m17n
7 ;; library.
8
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
13
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 ;; Lesser General Public License for more details.
18
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 (input-method gu inscript)
25
26 (description "Gujarati input method for inscript layout.
27
28 Reference URL - http://indlinux.org/wiki/index.php/InscriptLayouts#Gujarati
29
30 Key summary :-
31 1. જ્ઞ : % 
32                 This can also be typed as a sequence of following:
33                                 જ + ્  + ઞ i.e. p + d + }
34 2. ત્ર : ^
35                 This can also be typed as a sequence of following:
36                                 ત + ્  + ર i.e. l + d + j
37
38 3. ક્ષ : &
39                 This can also be typed as a sequence of following:
40                                 ક + ્  + ષ i.e. k + d + <
41
42 4. શ્ર : *
43                 This can also be typed as a sequence of following:
44                                 શ + ્  + ર i.e. M + d + j
45                                 
46 Key summary: Ankitkumar Rameshchandra Patel <ankit@redhat.com>
47
48 ")
49
50 (title "ક")
51
52 (map
53  (trans
54  
55   ((KP_1) "૧")
56   ((KP_2) "૨")
57   ((KP_3) "૩")
58   ((KP_4) "૪")
59   ((KP_5) "૫")
60   ((KP_6) "૬")
61   ((KP_7) "૭")
62   ((KP_8) "૮")
63   ((KP_9) "૯")
64   ((KP_0) "૦")
65   ((KP_Decimal) ".")
66   ((KP_Divide) "/")
67   ((KP_Multiply) "*")
68   ((KP_Add) "+")
69   ((KP_Subtract) "-") 
70  
71   ("!" ?ઍ)
72   ("1" ?૧)
73   ("@" ?ૅ)
74   ("2" ?૨)
75   ("#" ?ૠ)
76   ("3" ?૩)
77   ("$" ?ૄ)
78   ("4" ?૪)
79   ("5" ?૫)
80   ("6" ?૬)
81   ("7" ?૭)
82   ("8" ?૮)
83   ("(" ?()
84   ("9" ?૯)
85   (")" ?))
86   ("0" ?૦)
87   ("_" ?ઃ)
88   ("-" ?-)
89   ("+" ?ઋ)
90   ("=" ?ૃ)
91   ("Q" ?ઔ)
92   ("q" ?ૌ)
93   ("W" ?ઐ)
94   ("w" ?ૈ)
95   ("E" ?આ)
96   ("e" ?ા)
97   ("R" ?ઈ)
98   ("r" ?ી)
99   ("T" ?ઊ)
100   ("t" ?ૂ)
101   ("Y" ?ભ)
102   ("y" ?બ)
103   ("U" ?ઙ)
104   ("u" ?હ)
105   ("I" ?ઘ)
106   ("i" ?ગ)
107   ("O" ?ધ)
108   ("o" ?દ)
109   ("P" ?ઝ)
110   ("p" ?જ)
111   ("{" ?ઢ)
112   ("[" ?ડ)
113   ("}" ?ઞ)
114   ("]" ?઼)
115   ("A" ?ઓ)
116   ("a" ?ો)
117   ("S" ?એ)
118   ("s" ?ે)
119   ("D" ?અ)
120   ("d" ?્)
121   ("F" ?ઇ)
122   ("f" ?િ)
123   ("G" ?ઉ)
124   ("g" ?ુ)
125   ("H" ?ફ)
126   ("h" ?પ)
127   ("J" ?ઽ)
128   ("j" ?ર)
129   ("K" ?ખ)
130   ("k" ?ક)
131   ("L" ?થ)
132   ("l" ?ત)
133   (":" ?છ)
134   (";" ?ચ)
135   ("\"" ?ઠ)
136   ("'" ?ટ)
137   ("|" ?ઑ)
138   ("\\" ?ૉ)
139   ("~" ?~)
140   ("`" ?`)
141   ("Z" ?ૐ)
142   ("z" ?૱)
143   ("X" ?ઁ)
144   ("x" ?ં)
145   ("C" ?ણ)
146   ("c" ?મ)
147   ("V" ?\")
148   ("v" ?ન)
149   ("B" ?')
150   ("b" ?વ)
151   ("N" ?ળ)
152   ("n" ?લ)
153   ("M" ?શ)
154   ("m" ?સ)
155   ("<" ?ષ)
156   ("," ?,)
157   (">" "।")
158   ("." ?.)
159   ("?" ??)
160   ("/" ?ય)
161   ("%" "જ્ઞ")
162   ("^" "ત્ર")
163   ("&" "ક્ષ")
164   ("*" "શ્ર")
165   ))
166
167 (state
168   (init
169     (trans)))