diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-11-14 10:59:09 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-11-14 10:59:09 +0100 |
commit | f9d17db9b81555577ef8d161c9cf2ccea11c408d (patch) | |
tree | 18d2dcaa57b4812b4be7c2d552e6e0b3486ac293 | |
parent | 76740471992f10b710d38b0eb8688c6d22e68d92 (diff) | |
download | arabluatex-f9d17db9b81555577ef8d161c9cf2ccea11c408d.tar.gz |
always interpret the initial straight double quote as a connective alif in 'dmg' transliteration mode
-rw-r--r-- | arabluatex_trans.lua | 8 |
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 | ||
268 | digraphstrdmg = { | 268 | digraphstrdmg = { |
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"}, |