aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2016-12-24 10:54:17 +0100
committerRobert Alessi <alessi@robertalessi.net>2016-12-24 10:54:17 +0100
commit76a796b5a80d1cb0e63ddbbf00d9dc9507e92dfb (patch)
tree09a6b0f8d7c2e664a9db754b5bf7b9b89761e81c
parent9d7ef19362cff84d572aea204eca818a0e8fdd2d (diff)
downloadarabluatex-76a796b5a80d1cb0e63ddbbf00d9dc9507e92dfb.tar.gz
arbnulls inserted in novoc table
-rw-r--r--arabluatex.lua1
-rw-r--r--arabluatex_novoc.lua3
2 files changed, 4 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 7c49693..3b552b6 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -547,6 +547,7 @@ end
547 547
548function processnovoc(str, rules, scheme) 548function processnovoc(str, rules, scheme)
549 str = "\\arb{".. str.."}" 549 str = "\\arb{".. str.."}"
550 str = processarbnull(str, scheme)
550 str = takeoutcapetc(str) 551 str = takeoutcapetc(str)
551 str = protectarb(str) 552 str = protectarb(str)
552 str = breakcmd(str) 553 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
24 24
25tanwinnv = { 25tanwinnv = {
26 -- assimilations (begin). These are good but may not apply here. 26 -- assimilations (begin). These are good but may not apply here.
27-- {a="(o[%S]-)(%-?[uai]N[UI]?)(o)([rlmnwy])", b="%4%4"},
27-- {a="(%-?[uai]NU)(%s)([rlmnwy])", b="%1%2%3%3"}, 28-- {a="(%-?[uai]NU)(%s)([rlmnwy])", b="%1%2%3%3"},
28 -- assimilations (end) 29 -- assimilations (end)
29 {a="%-?uNU", b="و"}, 30 {a="%-?uNU", b="و"},
@@ -31,6 +32,8 @@ tanwinnv = {
31 {a="%-?iNU", b="و"}, 32 {a="%-?iNU", b="و"},
32 -- assimilations (begin). These are good but may not apply here. 33 -- assimilations (begin). These are good but may not apply here.
33-- {a="%-?(uN)(%s)([rlmnwy])", b="|%2%3%3"}, 34-- {a="%-?(uN)(%s)([rlmnwy])", b="|%2%3%3"},
35-- {a="(o[%S]-)(%-?aN)(_A)(o)([rlmnwy])", b="%5%5"},
36-- {a="(o[%S]-)(%-?aN)(Y)(o)([rlmnwy])", b="%5%5"},
34-- {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ى%3%4%4"}, 37-- {a="%-?(aN)(_A)(%s)([rlmnwy])", b="ى%3%4%4"},
35-- {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ى%3%4%4"}, 38-- {a="%-?(aN)(Y)(%s)([rlmnwy])", b="ى%3%4%4"},
36-- {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1%3%4%4"}, 39-- {a="(T)%-?(aN)(%s)([rlmnwy])", b="%1%3%4%4"},