From 9d7ef19362cff84d572aea204eca818a0e8fdd2d Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sat, 24 Dec 2016 10:43:16 +0100 Subject: arbnulls inserted in fullvoc table; some additional corrections in the other tables --- arabluatex_trans.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'arabluatex_trans.lua') diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index b29ae37..c420f6f 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua @@ -262,8 +262,8 @@ trigraphstrdmg = { -- trigraphs or more idghamtrdmg = { -- assimilations {a="(n)(}?)(%s)([rlmnwy])", b="%4%2%3%4"}, - {a="(n)(o)([rlmnwy])([%S]-o)", b="%3"} -} + {a="(n)(}?)(o)([rlmnwy])([%S]-o)", b="%4%2"} +} digraphstrdmg = { {a="([uai]%-)(\"?[uai])", b="%1'"}, -- hyphen + initial alif without hamza @@ -276,6 +276,10 @@ digraphstrdmg = { {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)(o)(\"?[uai])([%S]-o)", b="%1u"}, + {a="(aw)(%s)([%(%[%|%<]?)(\"?[uai])", b="%1u%2%3'"}, --p + {a="(ay)(o)(\"?[uai])([%S]-o)", b="%1i"}, + {a="(ay)(%s)([%(%[%|%<]?)(\"?[uai])", b="%1i%2%3'"}, --p {a="(aW)(o)(\"?[uai])([%S]-o)", b="awu"}, {a="(UA)(o)(\"?[uai])([%S]-o)", b="u"}, {a="(%_A)(o)(\"?[uai])([%S]-o)", b="ạ"}, -- cgit v1.2.3