aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-11-14 10:59:09 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-11-14 10:59:09 +0100
commitf9d17db9b81555577ef8d161c9cf2ccea11c408d (patch)
tree18d2dcaa57b4812b4be7c2d552e6e0b3486ac293
parent76740471992f10b710d38b0eb8688c6d22e68d92 (diff)
downloadarabluatex-f9d17db9b81555577ef8d161c9cf2ccea11c408d.tar.gz
always interpret the initial straight double quote as a connective alif in 'dmg' transliteration mode
-rw-r--r--arabluatex_trans.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua
index 82459e9..87c85e9 100644
--- a/arabluatex_trans.lua
+++ b/arabluatex_trans.lua
@@ -267,7 +267,13 @@ trigraphstrdmgeasy = { -- see the differences below under 'easy' tag
267 267
268digraphstrdmg = { 268digraphstrdmg = {
269 {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza 269 {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza
270 {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza 270 -- the following two are replaced with the 4 lines next for now
271-- {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza
272-- {a="(%W)(\"?[uai])", b="%1%2"}, -- initial alif without hamza
273 {a="^(\"[uai])", b="'"}, -- initial alif without hamza
274 {a="(%W)(\"[uai])", b="%1'"}, -- initial alif without hamza
275 {a="^([uai])", b="%1"}, -- initial alif without hamza
276 {a="(%W)([uai])", b="%1%2"}, -- initial alif without hamza
271 -- this is not necessary, take out for now: 277 -- this is not necessary, take out for now:
272-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza 278-- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza
273 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"}, 279 {a="(aW)(%s)(\"?[uai])", b="awu%2%3"},