aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-03-25 20:00:36 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-03-25 20:00:36 +0100
commitc3ebe405380117e05e6f518a9adbfe993286ab89 (patch)
tree9096c7e5a169e609e4508a77f0f15877c3f1e600 /arabluatex_trans.lua
parent3935c8e7fae78ab7fc6f52a912e6290b91fe2e92 (diff)
downloadarabluatex-c3ebe405380117e05e6f518a9adbfe993286ab89.tar.gz
improved quoting feature in all modes; still documenting
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua26
1 files changed, 13 insertions, 13 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 684977a..46dbc33 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -158,20 +158,20 @@ tanwintrdmg = {
158 {a="uN", b="un"}, 158 {a="uN", b="un"},
159 {a="(aN)(_A)", b="an"}, 159 {a="(aN)(_A)", b="an"},
160 {a="(aN)(Y)", b="an"}, 160 {a="(aN)(Y)", b="an"},
161 {a="(T)(aN)", b="tan"}, 161 {a="(T)(\"?aN)", b="tan"},
162 {a="([^TA])(aN)", b="%1an"}, 162 {a="([^TA])(\"?aN)", b="%1an"},
163 {a="iN", b="in"} 163 {a="iN", b="in"}
164} 164}
165 165
166digraphstrdmg = { 166digraphstrdmg = {
167 {a="([uai]%-)([uai])", b="%1'"}, -- hyphen + initial alif without hamza 167 {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza
168 {a="^([uai])", b="%1"}, -- initial alif without hamza 168 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
169-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza 169-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza
170 {a="(aW)(%s)([uai])", b="awu%2%3"}, 170 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"},
171 {a="([^%_][uai])(%s)([uai])", b="%1%2'"}, 171 {a="([^%_][uai])(%s)(\"?[uai])", b="%1%2'"},
172 {a="([%_]?[AYa])(%s)([uai])", b="a%2'"}, 172 {a="([%_]?[AYa])(%s)(\"?[uai])", b="a%2'"},
173 {a="([%_]?[Uu])(%s)([uai])", b="u%2'"}, 173 {a="([%_]?[Uu])(%s)(\"?[uai])", b="u%2'"},
174 {a="([%_]?[Ii])(%s)([uai])", b="i%2'"}, 174 {a="([%_]?[Ii])(%s)(\"?[uai])", b="i%2'"},
175 -- shorten long vowels preceding ʾalif conjunctionis 175 -- shorten long vowels preceding ʾalif conjunctionis
176 {a="(U)(A)", b="U"}, 176 {a="(U)(A)", b="U"},
177 {a="(aW)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="awu%2%3"}, 177 {a="(aW)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="awu%2%3"},
@@ -179,7 +179,7 @@ digraphstrdmg = {
179 {a="([%_]?[Uu])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="u%2%3"}, 179 {a="([%_]?[Uu])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="u%2%3"},
180 {a="([%_]?[Ii])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="i%2%3"}, 180 {a="([%_]?[Ii])(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="i%2%3"},
181 {a="%-%-", b=""}, 181 {a="%-%-", b=""},
182 {a="T([^uai])", b="%1"}, 182-- {a="T([^uai])", b="%1"},
183 {a="T(%s)", b="%1"}, 183 {a="T(%s)", b="%1"},
184 {a="T$", b=""}, 184 {a="T$", b=""},
185 {a="_t", b="ṯ"}, 185 {a="_t", b="ṯ"},
@@ -359,8 +359,8 @@ tanwintrloc = {
359 {a="uN", b="un"}, 359 {a="uN", b="un"},
360 {a="(aN)(_A)", b="an"}, 360 {a="(aN)(_A)", b="an"},
361 {a="(aN)(Y)", b="an"}, 361 {a="(aN)(Y)", b="an"},
362 {a="(T)(aN)", b="tan"}, 362 {a="(T)(\"?aN)", b="tan"},
363 {a="([^TA])(aN)", b="%1an"}, 363 {a="([^TA])(\"?aN)", b="%1an"},
364 {a="iN", b="in"} 364 {a="iN", b="in"}
365} 365}
366 366
@@ -372,7 +372,7 @@ digraphstrloc = {
372 {a="uww", b="ūw"}, 372 {a="uww", b="ūw"},
373 {a="iyy", b="īy"}, 373 {a="iyy", b="īy"},
374 {a="([tkdsg])(h)", b="%1'%2"}, 374 {a="([tkdsg])(h)", b="%1'%2"},
375 {a="T([^uai])", b="h%1"}, 375-- {a="T([^uai])", b="h%1"},
376 {a="T$", b="h"}, 376 {a="T$", b="h"},
377 {a="T(%W)", b="h%1"}, 377 {a="T(%W)", b="h%1"},
378 {a="_t", b="th"}, 378 {a="_t", b="th"},