diff options
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 5 |
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) | |||
671 | return str | 671 | return str |
672 | end | 672 | end |
673 | 673 | ||
674 | function newarbmark(abbr, rtlmk, ltrmk) | ||
675 | table.insert(arbmarks, {a = abbr, b = rtlmk, c = ltrmk}) | ||
676 | return true | ||
677 | end | ||
678 | |||
674 | function processarbmarks(str) | 679 | function 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 |