From f9d17db9b81555577ef8d161c9cf2ccea11c408d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Mon, 14 Nov 2016 10:59:09 +0100 Subject: always interpret the initial straight double quote as a connective alif in 'dmg' transliteration mode --- arabluatex_trans.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 digraphstrdmg = { {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza - {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza + -- the following two are replaced with the 4 lines next for now +-- {a="^(\"?[uai])", b="%1"}, -- initial alif without hamza +-- {a="(%W)(\"?[uai])", b="%1%2"}, -- initial alif without hamza + {a="^(\"[uai])", b="'"}, -- initial alif without hamza + {a="(%W)(\"[uai])", b="%1'"}, -- initial alif without hamza + {a="^([uai])", b="%1"}, -- initial alif without hamza + {a="(%W)([uai])", b="%1%2"}, -- initial alif without hamza -- this is not necessary, take out for now: -- {a="([%_]?[uaiUAIY])(%s)([uai])", b="%1%2'"}, -- initial alif without hamza {a="(aW)(%s)(\"?[uai])", b="awu%2%3"}, -- cgit v1.2.3