From 66827ccf15a7b86dcc2f7218b4b5e683fe1b72f3 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Sun, 3 Jul 2016 12:02:49 +0200 Subject: almost done implementing Buckwalter scheme; testing romanization --- arabluatex.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arabluatex.lua') 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) return str end -function processtrans(str, mode, rules) +function processtrans(str, mode, rules, scheme) str = "\\arb{".. str.."}" str = takeoutabjad(str) str = protectarb(str) str = breakcmd(str) str = holdcmd(str) + if scheme == "buckwalter" then + str = processbuckw(str) + else end if mode == "dmg" then if rules == "easy" then str = transdmgeasy(str) -- cgit v1.2.3