<?xml version='1.0'?>
<input-method xmlns="http://www.m17n.org/MIM">
-<!--Usage of variables:
-M (mark): point after the last vowel
-T (mark): point after the tone-mark-attached vowel
-TPLACE: On which vowel a tone is attached (0:none, 1:1st, 2:2nd, or 3:3rd)
-C: The initial consonant
-V-1: The last vowel
-V-2: The second from the last vowel (or 0 if there aren't two vowels)
-V-3: The third from the last vowel (or 0 if there aren't three vowels)
-C-AFTER-V: Number of the final consonants
-SELECT: Which tone is selected
--->
<tags>
<language>t</language>
<name>nil</name>
<expr operator="|">
<expr operator="=">
<variable-reference id="V-1"/>
- <int-val>234</int-val>
+ <int-val>2282</int-val>
</expr>
<expr operator="=">
<variable-reference id="V-1"/>
- <int-val>417</int-val>
+ <int-val>332001</int-val>
</expr>
<expr operator="=">
<variable-reference id="V-1"/>
- <int-val>202</int-val>
+ <int-val>2250</int-val>
</expr>
<expr operator="=">
<variable-reference id="V-1"/>
- <int-val>416</int-val>
+ <int-val>332000</int-val>
</expr>
</expr>
<set id="TPLACE">
<insert character="57"/>
</rule>
</map>
+ <map id="map-smart-quotes">
+ <rule>
+ <keyseq keys="'"/>
+ <insert character="39"/>
+ </rule>
+ <rule>
+ <keyseq keys="''"/>
+ <insert string="‘’"/>
+ </rule>
+ <rule>
+ <keyseq keys="""/>
+ <insert character="34"/>
+ </rule>
+ <rule>
+ <keyseq keys=""""/>
+ <insert string="“”"/>
+ </rule>
+ </map>
<map id="map-permanent-escape">
<rule>
<keyseq keys="\"/>
</description>
<title>Ắ(TCVN)</title>
<variable-list>
- <variable id="tone-mark-on-last">
- <description>
- <get-text>Flag to control tone mark position in equivocal cases.
+ <variable id="tone-mark-on-last"><description>
+ <get-text>Flag to control tone mark position in equivocal cases.
If this variable is 0 (the default), put tone mark on the first vowel
in such equivocal cases as "oa", "oe", "uy".
Otherwise, put tone mark on the last vowel.</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
- <variable id="backspace-is-undo">
- <description>
- <get-text>Flag to control the action of Backspace key (delete or undo).
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
+ <variable id="backspace-is-undo"><description>
+ <get-text>Flag to control the action of Backspace key (delete or undo).
If this variable is 0 (the default), Backspace key deletes the previous
character (e.g. "q u a i s BS" => "quá").
If the value is 1, Backspace key undoes the previous key
(e.g. "q u a i s BS" => "quai").</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
</variable-list>
<macro-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>macro</section>
+ </xi:include>
</macro-list>
<map-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>map</section>
+ </xi:include>
<map id="map-vowel-ext">
<rule>
<keyseq keys="2"/>
<map id="map-consonant-ext">
<rule>
<keyseq keys="0"/>
- <insert character="273"/>
+ <insert character="331825"/>
</rule>
<rule>
<keyseq keys=")"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
</map>
<map id="map-tone-mark">
<map id="map-misc">
<rule>
<keyseq keys="="/>
- <insert character="8363"/>
+ <insert character="342603"/>
</rule>
<rule>
<keyseq keys="=="/>
<shift-to id="state-escape-in-normal-mode"/>
</branch>
<branch branch-selecting-map="map-misc"/>
+ <branch branch-selecting-map="map-smart-quotes"/>
</state>
<state id="state-after-v">
<branch branch-selecting-map="map-consonant">
</branch>
</state>
</state-list>
-</input-method>
+</input-method>
\ No newline at end of file
</description>
<title>Ắ(TLX)</title>
<variable-list>
- <variable id="tone-mark-on-last">
- <description>
- <get-text>Flag to control tone mark position in equivocal cases.
+ <variable id="tone-mark-on-last"><description>
+ <get-text>Flag to control tone mark position in equivocal cases.
If this variable is 0 (the default), put tone mark on the first vowel
in such equivocal cases as "oa", "oe", "uy".
Otherwise, put tone mark on the last vowel.</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
- <variable id="backspace-is-undo">
- <description>
- <get-text>Flag to control the action of Backspace key (delete or undo).
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
+ <variable id="backspace-is-undo"><description>
+ <get-text>Flag to control the action of Backspace key (delete or undo).
If this variable is 0 (the default), Backspace key deletes the previous
character (e.g. "q u a i s BS" => "quá").
If the value is 1, Backspace key undoes the previous key
(e.g. "q u a i s BS" => "quai").</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
</variable-list>
<macro-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>macro</section>
+ </xi:include>
</macro-list>
<map-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>map</section>
+ </xi:include>
<map id="map-vowel-ext">
<rule>
<keyseq keys="aa"/>
<map id="map-consonant-ext">
<rule>
<keyseq keys="dd"/>
- <insert character="273"/>
+ <insert character="331825"/>
</rule>
<rule>
<keyseq keys="DD"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
<rule>
<keyseq keys="Dd"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
</map>
<map id="map-tone-mark">
<branch branch-selecting-map="map-permanent-escape">
<shift-to id="state-escape-in-normal-mode"/>
</branch>
+ <branch branch-selecting-map="map-smart-quotes"/>
</state>
<state id="state-after-v">
<branch branch-selecting-map="map-ending-1st-consonant">
</branch>
</state>
</state-list>
-</input-method>
+</input-method>
\ No newline at end of file
</description>
<title>Ắ(VIQR)</title>
<variable-list>
- <variable id="tone-mark-on-last">
- <description>
- <get-text>Flag to control tone mark position in equivocal cases.
+ <variable id="tone-mark-on-last"><description>
+ <get-text>Flag to control tone mark position in equivocal cases.
If this variable is 0 (the default), put tone mark on the first vowel
in such equivocal cases as "oa", "oe", "uy".
Otherwise, put tone mark on the last vowel.</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
- <variable id="backspace-is-undo">
- <description>
- <get-text>Flag to control the action of Backspace key (delete or undo).
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
+ <variable id="backspace-is-undo"><description>
+ <get-text>Flag to control the action of Backspace key (delete or undo).
If this variable is 0 (the default), Backspace key deletes the previous
character (e.g. "q u a i s BS" => "quá").
If the value is 1, Backspace key undoes the previous key
(e.g. "q u a i s BS" => "quai").</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
</variable-list>
<macro-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>macro</section>
+ </xi:include>
</macro-list>
<map-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>map</section>
+ </xi:include>
<map id="map-vowel-ext">
<rule>
<keyseq keys="a^"/>
<map id="map-consonant-ext">
<rule>
<keyseq keys="dd"/>
- <insert character="273"/>
+ <insert character="331825"/>
</rule>
<rule>
<keyseq keys="DD"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
<rule>
<keyseq keys="Dd"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
</map>
<map id="map-tone-mark">
</branch>
</state>
</state-list>
-</input-method>
+</input-method>
\ No newline at end of file
</description>
<title>Ắ(VNI)</title>
<variable-list>
- <variable id="tone-mark-on-last">
- <description>
- <get-text>Flag to control tone mark position in equivocal cases.
+ <variable id="tone-mark-on-last"><description>
+ <get-text>
+Flag to control tone mark position in equivocal cases.
If this variable is 0 (the default), put tone mark on the first vowel
in such equivocal cases as "oa", "oe", "uy".
-Otherwise, put tone mark on the last vowel.</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
- <variable id="backspace-is-undo">
- <description>
- <get-text>Flag to control the action of Backspace key (delete or undo).
+Otherwise, put tone mark on the last vowel.
+ </get-text>
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
+ <variable id="backspace-is-undo"><description>
+ <get-text>Flag to control the action of Backspace key (delete or undo).
If this variable is 0 (the default), Backspace key deletes the previous
character (e.g. "q u a i s BS" => "quá").
If the value is 1, Backspace key undoes the previous key
(e.g. "q u a i s BS" => "quai").</get-text>
- </description>
- <value type="integer">0</value>
- <variable-value-candidate>
- <c-value type="integer">0</c-value>
- <c-value type="integer">1</c-value>
- </variable-value-candidate>
- </variable>
+ </description><value type="integer"/>0<variable-value-candidate>
+ <c-value type="integer">0</c-value>
+ <c-value type="integer">1</c-value>
+ </variable-value-candidate></variable>
</variable-list>
<macro-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:macro)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>macro</section>
+ </xi:include>
</macro-list>
<map-list>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx#xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="vi-base.mimx" xpointer="xmlns(mim=http://www.m17n.org/MIM)xpointer(//mim:map)">
+ <tags>
+ <language>t</language>
+ <name>nil</name>
+ <extra-id>vi-base</extra-id>
+ </tags>
+ <section>map</section>
+ </xi:include>
<map id="map-vowel-ext">
<rule>
<keyseq keys="a6"/>
<map id="map-consonant-ext">
<rule>
<keyseq keys="d9"/>
- <insert character="273"/>
+ <insert character="331825"/>
</rule>
<rule>
<keyseq keys="D9"/>
- <insert character="272"/>
+ <insert character="331824"/>
</rule>
</map>
<map id="map-tone-mark">
<branch branch-selecting-map="map-permanent-escape">
<shift-to id="state-escape-in-normal-mode"/>
</branch>
+ <branch branch-selecting-map="map-smart-quotes"/>
</state>
<state id="state-after-v">
<branch branch-selecting-map="map-consonant">
</branch>
</state>
</state-list>
-</input-method>
+</input-method>
\ No newline at end of file