From 76a796b5a80d1cb0e63ddbbf00d9dc9507e92dfb Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sat, 24 Dec 2016 10:54:17 +0100 Subject: arbnulls inserted in novoc table --- arabluatex.lua | 1 + arabluatex_novoc.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arabluatex.lua b/arabluatex.lua index 7c49693..3b552b6 100644 --- a/arabluatex.lua +++ b/arabluatex.lua @@ -547,6 +547,7 @@ end function processnovoc(str, rules, scheme) str = "\\arb{".. str.."}" + str = processarbnull(str, scheme) str = takeoutcapetc(str) str = protectarb(str) str = breakcmd(str) diff --git a/arabluatex_novoc.lua b/arabluatex_novoc.lua index 3f0299b..a79be82 100644 --- a/arabluatex_novoc.lua +++ b/arabluatex_novoc.lua @@ -24,6 +24,7 @@ along with this program. If not, see tanwinnv = { -- assimilations (begin). These are good but may not apply here. +-- {a="(o[%S]-)(%-?[uai]N[UI]?)(o)([rlmnwy])", b="%4%4"}, -- {a="(%-?[uai]NU)(%s)([rlmnwy])", b="%1%2%3%3"}, -- assimilations (end) {a="%-?uNU", b="و"}, @@ -31,6 +32,8 @@ tanwinnv = { {a="%-?iNU", b="و"}, -- assimilations (begin). These are good but may not apply here. -- {a="%-?(uN)(%s)([rlmnwy])", b="|%2%3%3"}, +-- {a="(o[%S]-)(%-?aN)(_A)(o)([rlmnwy])", b="%5%5"}, +-- {a="(o[%S]-)(%-?aN)(Y)(o)([rlmnwy])", b="%5%5"}, -- {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ى%3%4%4"}, -- {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ى%3%4%4"}, -- {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1%3%4%4"}, -- cgit v1.2.3