aboutsummaryrefslogtreecommitdiff
path: root/arabluatex_trans.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-12-06 11:29:30 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-06 11:29:30 +0100
commitc3602097f2b0c81625317422187e381848d09881 (patch)
tree5d3c5a94c963607b9d061aaebbfc2833d707cd12 /arabluatex_trans.lua
parent1d2205ff9fe21d21088f9b0c003751da52d0d9ea (diff)
downloadarabluatex-c3602097f2b0c81625317422187e381848d09881.tar.gz
added punctuation characters in trigraphs rules (dmg mode) before al-; still implementing Arabic verse environment
Diffstat (limited to 'arabluatex_trans.lua')
-rw-r--r--arabluatex_trans.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index bf6be44..e7087c0 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -165,24 +165,24 @@ tanwintrdmg = {
165trigraphstrdmg = { -- trigraphs or more 165trigraphstrdmg = { -- trigraphs or more
166 -- 'llatI / 'llad_I 166 -- 'llatI / 'llad_I
167 {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"}, 167 {a="^'ll(a)([%_]?[dt])", b="'ll%1%2"},
168 {a="(%s)'ll(a)([%_]?[dt])", b="%1'll%2%3"}, 168 {a="([%p%s])'ll(a)([%_]?[dt])", b="%1'll%2%3"}, --p
169 -- al- + lām 169 -- al- + lām
170 {a="^(a)l%-(l)", b="%1l-%2"}, 170 {a="^(a)l%-(l)", b="%1l-%2"},
171 {a="([%s%-])(a)l%-(l)", b="%1%2l-%3"}, 171 {a="([%p%s%-])(a)l%-(l)", b="%1%2l-%3"}, --p
172 -- al- + solar consonant 172 -- al- + solar consonant
173 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"}, 173 {a="^(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2-%2"},
174 {a="([%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, 174 {a="([%p%s%-])(a)l%-([%_%^%.]?[tdrzsn])", b="%1%2%3-%3"}, --p
175 -- assim. art. + solar consonant 175 -- assim. art. + solar consonant
176 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"}, 176 {a="^(a)([%_%^%.]?[tdrzsn])%-", b="%1%2-"},
177 {a="([%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, 177 {a="([%p%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"}, --p
178 -- al- + initial unstable hamza 178 -- al- + initial unstable hamza
179 {a="^(a)l%-(\"?[uai])", b="%1l-%2"}, 179 {a="^(a)l%-(\"?[uai])", b="%1l-%2"},
180 {a="([%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"}, 180 {a="([%p%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"}, --p
181 -- li-/la- + art. + initial unstable hamza is a special orthography 181 -- li-/la- + art. + initial unstable hamza is a special orthography
182 {a="l([ai])%-l%-([uai])", b="l%1-l-%2"}, 182 {a="l([ai])%-l%-([uai])", b="l%1-l-%2"},
183 -- al- + lunar consonant (i.e. what remains) 183 -- al- + lunar consonant (i.e. what remains)
184 {a="^(a)l%-", b="%1l-"}, 184 {a="^(a)l%-", b="%1l-"},
185 {a="([%s%-])(a)l%-", b="%1%2l-"}, 185 {a="([%p%s%-])(a)l%-", b="%1%2l-"}, --p
186 -- diphthongs to be resolved before ʾalif conjunctionis 186 -- diphthongs to be resolved before ʾalif conjunctionis
187 {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"}, 187 {a="(aw)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1u%2%3"},
188 {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"}, 188 {a="(ay)(%s)(['][%_%^%.]?[l'btjghxdrzs`fqkmnwy]%-)", b="%1i%2%3"},