aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.lua
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-10-11 00:51:56 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-10-11 00:51:56 +0200
commit6c70347e621f120bda282ac25784360877a27179 (patch)
treef7f98d141b7bc179936615df615b69e337b90a90 /arabluatex.lua
parent678c033067b3f46e61927f4bcdab84e5c98c4d0e (diff)
downloadarabluatex-6c70347e621f120bda282ac25784360877a27179.tar.gz
ayah(): removed nested TRT into TRT which was superfluous
Diffstat (limited to 'arabluatex.lua')
-rw-r--r--arabluatex.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/arabluatex.lua b/arabluatex.lua
index 862b8ae..58bc584 100644
--- a/arabluatex.lua
+++ b/arabluatex.lua
@@ -1162,7 +1162,8 @@ end
1162function ayah(str) 1162function ayah(str)
1163 if tonumber(str) ~= nil and str.len(str) < 4 then 1163 if tonumber(str) ~= nil and str.len(str) < 4 then
1164 if tex.textdir == "TRT" then 1164 if tex.textdir == "TRT" then
1165 str = "\\arb[novoc]{"..str.."^^^^06dd}" 1165-- str = "\\arb[novoc]{"..str.."^^^^06dd}"
1166 str = str.."^^^^06dd"
1166 elseif tex.textdir == "TLT" then 1167 elseif tex.textdir == "TLT" then
1167 str = "\\arb[trans]{("..str..")}" 1168 str = "\\arb[trans]{("..str..")}"
1168 end 1169 end