aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua15
1 files changed, 6 insertions, 9 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 0868262..b29ae37 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -140,6 +140,7 @@ hamzatrdmg = {
140tanwintrdmg = { 140tanwintrdmg = {
141 {a="%-?([uai]NU)(o)([ui])([%S]-o)", b="\\arbup{un%3}"}, 141 {a="%-?([uai]NU)(o)([ui])([%S]-o)", b="\\arbup{un%3}"},
142 {a="%-?([uai]NU)(%s)([ui])", b="\\arbup{un%3}%2'"}, 142 {a="%-?([uai]NU)(%s)([ui])", b="\\arbup{un%3}%2'"},
143 {a="(o[%S]-)([uai]N[UI])(o)(\"?[ui])", b="'"},
143 {a="%-?uNU", b="\\arbup{un}"}, 144 {a="%-?uNU", b="\\arbup{un}"},
144 {a="%-?aNU", b="\\arbup{an}"}, 145 {a="%-?aNU", b="\\arbup{an}"},
145 {a="%-?iNU", b="\\arbup{in}"}, 146 {a="%-?iNU", b="\\arbup{in}"},
@@ -209,30 +210,26 @@ trigraphstrdmg = { -- trigraphs or more
209 {a="(%W)(law)(%s)([%(%[%|%<]?\"?[uai])", b="%1%2i%3%4"}, --p 210 {a="(%W)(law)(%s)([%(%[%|%<]?\"?[uai])", b="%1%2i%3%4"}, --p
210 -- al- + lām 211 -- al- + lām
211 {a="^(a)l%-(l)", b="%1l-%2"}, 212 {a="^(a)l%-(l)", b="%1l-%2"},
212 {a="([%(%[%|%<%s%-])(a)l%-(l)", b="%1%2l-%3"}, --p 213 {a="([%(%[%|%<%s%-o])(a)l%-(l)", b="%1%2l-%3"}, --p
213 -- al- + solar consonant 214 -- al- + solar consonant
214 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, 215 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"},
215 {a="([%(%[%|%<%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, --p 216 {a="([%(%[%|%<%s%-o])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, --p
216 -- assim. art. + solar consonant 217 -- assim. art. + solar consonant
217 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, 218 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"},
218 {a="([%(%[%|%<%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, --p 219 {a="([%(%[%|%<%s%-o])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, --p
219 -- al- + initial unstable hamza 220 -- al- + initial unstable hamza
220 {a="^(a)l%-(\"?[uai])", b="%1l-%2"}, 221 {a="^(a)l%-(\"?[uai])", b="%1l-%2"},
221 {a="([%(%[%|%<%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p 222 {a="([%(%[%|%<%s%-o])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p
222 -- li-/la- + art. + initial unstable hamza is a special orthography 223 -- li-/la- + art. + initial unstable hamza is a special orthography
223 {a="l([ai])%-l%-([uai])", b="l%1-l-%2"}, 224 {a="l([ai])%-l%-([uai])", b="l%1-l-%2"},
224 -- al- + lunar consonant (i.e. what remains) 225 -- al- + lunar consonant (i.e. what remains)
225 {a="^(a)l%-", b="%1l-"}, 226 {a="^(a)l%-", b="%1l-"},
226 {a="([%(%[%|%<%s%-])(a)l%-", b="%1%2l-"}, --p 227 {a="([%(%[%|%<%s%-o])(a)l%-", b="%1%2l-"}, --p
227 -- diphthongs to be resolved before ʾalif conjunctionis 228 -- diphthongs to be resolved before ʾalif conjunctionis
228 {a="(aw)(o)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)([%S]-o)", b="%1u"}, 229 {a="(aw)(o)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)([%S]-o)", b="%1u"},
229 {a="(ay)(o)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)([%S]-o)", b="%1i"}, 230 {a="(ay)(o)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)([%S]-o)", b="%1i"},
230 {a="(aw)(o)(\"?[uai])([%S]-o)", b="%1u"},
231 {a="(ay)(o)(\"?[uai])([%S]-o)", b="%1i"},
232 {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"}, 231 {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"},
233 {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"}, 232 {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"},
234 {a="(aw)(%s)([%(%[%|%<]?\"?[uai])", b="%1u%2%3"}, --p
235 {a="(ay)(%s)([%(%[%|%<]?\"?[uai])", b="%1i%2%3"}, --p
236 -- art. with waṣla + lām 233 -- art. with waṣla + lām
237 {a="'l%-(l)", b="'l-%1"}, 234 {a="'l%-(l)", b="'l-%1"},
238 -- art. with waṣla + solar consonant 235 -- art. with waṣla + solar consonant