aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-12-01 19:33:22 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-01 19:33:22 +0100
commit2960849bbca9b09ea62973dcbce7e6c7095b200c (patch)
tree5b4e84eb25557aa8f661ed4d1b598ad59cbe5f29
parent2f2504db341106bd94e292cb78a05cf976a46590 (diff)
downloadarabluatex-2960849bbca9b09ea62973dcbce7e6c7095b200c.tar.gz
bugfix: the rules of art. + 'quoted' initial unstable hamzah were thrown away by the rules of initial ʾalif without hamzah in the trigraphstrdmg table
-rw-r--r--arabluatex_trans.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index a91ae0e..bf6be44 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -176,8 +176,8 @@ trigraphstrdmg = { -- trigraphs or more
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="([%s%-])(a)([%_%^%.]?[tdrzsn])%-", b="%1%2%3-"},
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="([%s%-])(a)l%-(\"?[uai])", b="%1%2l-%3"},
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)
@@ -199,7 +199,7 @@ trigraphstrdmg = { -- trigraphs or more
199 -- li-/la- + assim. art. + solar consonant is a special orthography 199 -- li-/la- + assim. art. + solar consonant is a special orthography
200 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%3"}, 200 {a="l([ai])%-([%_%^%.]?[tdrzsn])%-([%_%^%.]?[tdrzsn])", b="l%1-%2-%3"},
201 -- art. with waṣla + initial unstable hamza 201 -- art. with waṣla + initial unstable hamza
202 {a="'l%-([uai])", b="'l-%1"}, 202 {a="'l%-(\"?[uai])", b="'l-%1"},
203 -- art. with waṣla + lunar consonant (i.e. what remains) 203 -- art. with waṣla + lunar consonant (i.e. what remains)
204 {a="'l%-", b="'l-"}, 204 {a="'l%-", b="'l-"},
205 -- the silent wāw 205 -- the silent wāw
@@ -225,10 +225,10 @@ digraphstrdmg = {
225 -- the following two are replaced with the 4 lines next for now 225 -- the following two are replaced with the 4 lines next for now
226-- {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza 226-- {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
227-- {a="(%W)(\"?[uai])", b="%1%2"}, -- initial alif without hamza 227-- {a="(%W)(\"?[uai])", b="%1%2"}, -- initial alif without hamza
228 {a="^(\"[uai])", b="'"}, -- initial alif without hamza 228-- {a="^(\"[uai])", b="'"}, -- initial alif without hamza
229 {a="(%W)(\"[uai])", b="%1'"}, -- initial alif without hamza 229-- {a="(%W)(\"[uai])", b="%1'"}, -- initial alif without hamza
230 {a="^([uai])", b="%1"}, -- initial alif without hamza 230 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
231 {a="(%W)([uai])", b="%1%2"}, -- initial alif without hamza 231 {a="(%W)(\"?[uai])", b="%1%2"}, -- initial alif without hamza
232 -- this is not necessary, take out for now: 232 -- this is not necessary, take out for now:
233-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza 233-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza
234 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"}, 234 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"},