aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 3d25a05..cd0bfa2 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -671,6 +671,11 @@ function processtrans(str, mode, rules, scheme)
671return str 671return str
672end 672end
673 673
674function newarbmark(abbr, rtlmk, ltrmk)
675 table.insert(arbmarks, {a = abbr, b = rtlmk, c = ltrmk})
676 return true
677end
678
674function processarbmarks(str) 679function processarbmarks(str)
675 if tex.textdir == "TLT" then 680 if tex.textdir == "TLT" then
676 for i = 1,#arbmarks do 681 for i = 1,#arbmarks do