aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 9134ce5..5400a62 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -515,12 +515,15 @@ function processnovoc(str, rules)
515return str 515return str
516end 516end
517 517
518function processtrans(str, mode, rules) 518function processtrans(str, mode, rules, scheme)
519 str = "\\arb{".. str.."}" 519 str = "\\arb{".. str.."}"
520 str = takeoutabjad(str) 520 str = takeoutabjad(str)
521 str = protectarb(str) 521 str = protectarb(str)
522 str = breakcmd(str) 522 str = breakcmd(str)
523 str = holdcmd(str) 523 str = holdcmd(str)
524 if scheme == "buckwalter" then
525 str = processbuckw(str)
526 else end
524 if mode == "dmg" then 527 if mode == "dmg" then
525 if rules == "easy" then 528 if rules == "easy" then
526 str = transdmgeasy(str) 529 str = transdmgeasy(str)