*** empty log message ***
authornisikimi <nisikimi>
Mon, 8 Mar 2010 07:31:47 +0000 (07:31 +0000)
committernisikimi <nisikimi>
Mon, 8 Mar 2010 07:31:47 +0000 (07:31 +0000)
MIM/si-samanala.mimx
MIM/vi-tcvn.mimx
MIM/vi-telex.mimx
MIM/vi-viqr.mimx
MIM/vi-vni.mimx

index cde0b05..81b93e0 100644 (file)
@@ -9,7 +9,7 @@ The transleteration system is based on the Samanala version 2
 developed by Prasad Dharmasena.
   &lt;http://www.nongnu.org/sinhala/doc/transliteration/sinhala-transliteration_1.html&gt;
 </description>
-  <title>Samanala</title>
+  <title>සි</title>
   <map-list>
     <map mname="map-consonant">
       <rule>
index 69026ff..f3f54c9 100644 (file)
@@ -363,7 +363,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-=</string>
+            <symbol>A-=</symbol>
           </list>
         </keyseq>
         <insert>
@@ -373,7 +373,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-\</string>
+            <symbol>A-\</symbol>
           </list>
         </keyseq>
         <insert>
@@ -383,7 +383,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-[</string>
+            <symbol>A-[</symbol>
           </list>
         </keyseq>
         <insert>
@@ -393,7 +393,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-]</string>
+            <symbol>A-]</symbol>
           </list>
         </keyseq>
         <insert>
@@ -403,7 +403,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-!</string>
+            <symbol>A-!</symbol>
           </list>
         </keyseq>
         <insert>
@@ -413,7 +413,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-@</string>
+            <symbol>A-@</symbol>
           </list>
         </keyseq>
         <insert>
@@ -423,7 +423,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-#</string>
+            <symbol>A-#</symbol>
           </list>
         </keyseq>
         <insert>
@@ -433,7 +433,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-$</string>
+            <symbol>A-$</symbol>
           </list>
         </keyseq>
         <insert>
@@ -443,7 +443,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-%</string>
+            <symbol>A-%</symbol>
           </list>
         </keyseq>
         <insert>
@@ -453,7 +453,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-^</string>
+            <symbol>A-^</symbol>
           </list>
         </keyseq>
         <insert>
@@ -463,7 +463,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-&amp;</string>
+            <symbol>A-&amp;</symbol>
           </list>
         </keyseq>
         <insert>
@@ -473,7 +473,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-*</string>
+            <symbol>A-*</symbol>
           </list>
         </keyseq>
         <insert>
@@ -483,7 +483,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-(</string>
+            <symbol>A-(</symbol>
           </list>
         </keyseq>
         <insert>
@@ -493,7 +493,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-)</string>
+            <symbol>A-)</symbol>
           </list>
         </keyseq>
         <insert>
@@ -513,7 +513,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-+</string>
+            <symbol>A-+</symbol>
           </list>
         </keyseq>
         <insert>
@@ -523,7 +523,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-|</string>
+            <symbol>A-|</symbol>
           </list>
         </keyseq>
         <insert>
@@ -533,7 +533,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-{</string>
+            <symbol>A-{</symbol>
           </list>
         </keyseq>
         <insert>
@@ -543,7 +543,7 @@ If the value is 1, Backspace key undoes the previous key
       <rule>
         <keyseq>
           <list>
-            <string>A-}</string>
+            <symbol>A-}</symbol>
           </list>
         </keyseq>
         <insert>
@@ -689,6 +689,12 @@ If the value is 1, Backspace key undoes the previous key
         <set vname="SELECT">
           <integer>0</integer>
         </set>
+        <set vname="NST">
+          <eq>
+            <surrounding-text-flag/>
+            <integer>-2</integer>
+          </eq>
+        </set>
       </state-hook>
       <branch mname="map-consonant">
         <set vname="C">
@@ -696,6 +702,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-consonant-ext">
         <set vname="C">
@@ -703,6 +717,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-vowel">
         <mark>
@@ -749,6 +771,40 @@ If the value is 1, Backspace key undoes the previous key
       <branch mname="map-misc"/>
       <branch mname="map-smart-quotes"/>
     </state>
+    <state sname="state-after-c">
+      <branch mname="map-vowel">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+      <branch mname="map-vowel-ext">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+    </state>
     <state sname="state-after-v">
       <branch mname="map-consonant">
         <shift>
index 1953ce1..2074b24 100644 (file)
@@ -897,6 +897,12 @@ If the value is 1, Backspace key undoes the previous key
         <set vname="SELECT">
           <integer>0</integer>
         </set>
+        <set vname="NST">
+          <eq>
+            <surrounding-text-flag/>
+            <integer>-2</integer>
+          </eq>
+        </set>
       </state-hook>
       <branch mname="map-consonant">
         <set vname="C">
@@ -904,6 +910,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-consonant-ext">
         <set vname="C">
@@ -911,6 +925,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-consonant-or-tone-mark">
         <cond>
@@ -964,6 +986,14 @@ If the value is 1, Backspace key undoes the previous key
                 <marker>@-1</marker>
               </char-at>
             </set>
+            <cond>
+              <list>
+                <varref vname="NST"/>
+                <shift>
+                  <symbol>state-after-c</symbol>
+                </shift>
+              </list>
+            </cond>
           </list>
         </cond>
       </branch>
@@ -1011,6 +1041,40 @@ If the value is 1, Backspace key undoes the previous key
       </branch>
       <branch mname="map-smart-quotes"/>
     </state>
+    <state sname="state-after-c">
+      <branch mname="map-vowel">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+      <branch mname="map-vowel-ext">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+    </state>
     <state sname="state-after-v">
       <branch mname="map-ending-1st-consonant">
         <funcall fname="macro-handle-mark"/>
index e6f5a29..d7d3e83 100644 (file)
@@ -374,6 +374,12 @@ If the value is 1, Backspace key undoes the previous key
         <set vname="SELECT">
           <integer>0</integer>
         </set>
+        <set vname="NST">
+          <eq>
+            <surrounding-text-flag/>
+            <integer>-2</integer>
+          </eq>
+        </set>
       </state-hook>
       <branch mname="map-consonant">
         <set vname="C">
@@ -381,6 +387,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-consonant-ext">
         <set vname="C">
@@ -388,6 +402,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-vowel">
         <mark>
@@ -432,6 +454,40 @@ If the value is 1, Backspace key undoes the previous key
         </shift>
       </branch>
     </state>
+    <state sname="state-after-c">
+      <branch mname="map-vowel">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+      <branch mname="map-vowel-ext">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+    </state>
     <state sname="state-after-v">
       <branch mname="map-consonant">
         <shift>
index 96a74cf..fe0d857 100644 (file)
@@ -366,6 +366,12 @@ If the value is 1, Backspace key undoes the previous key
         <set vname="SELECT">
           <integer>0</integer>
         </set>
+        <set vname="NST">
+          <eq>
+            <surrounding-text-flag/>
+            <integer>-2</integer>
+          </eq>
+        </set>
       </state-hook>
       <branch mname="map-consonant">
         <set vname="C">
@@ -373,6 +379,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-consonant-ext">
         <set vname="C">
@@ -380,6 +394,14 @@ If the value is 1, Backspace key undoes the previous key
             <marker>@-1</marker>
           </char-at>
         </set>
+        <cond>
+          <list>
+            <varref vname="NST"/>
+            <shift>
+              <symbol>state-after-c</symbol>
+            </shift>
+          </list>
+        </cond>
       </branch>
       <branch mname="map-vowel">
         <mark>
@@ -425,6 +447,40 @@ If the value is 1, Backspace key undoes the previous key
       </branch>
       <branch mname="map-smart-quotes"/>
     </state>
+    <state sname="state-after-c">
+      <branch mname="map-vowel">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+      <branch mname="map-vowel-ext">
+        <mark>
+          <marker>M</marker>
+        </mark>
+        <set vname="V-2">
+          <varref vname="V-1"/>
+        </set>
+        <set vname="V-1">
+          <char-at>
+            <marker>@-1</marker>
+          </char-at>
+        </set>
+        <shift>
+          <symbol>state-after-v</symbol>
+        </shift>
+      </branch>
+    </state>
     <state sname="state-after-v">
       <branch mname="map-consonant">
         <shift>