diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-10-11 00:51:56 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-10-11 00:51:56 +0200 |
commit | 6c70347e621f120bda282ac25784360877a27179 (patch) | |
tree | f7f98d141b7bc179936615df615b69e337b90a90 | |
parent | 678c033067b3f46e61927f4bcdab84e5c98c4d0e (diff) | |
download | arabluatex-6c70347e621f120bda282ac25784360877a27179.tar.gz |
ayah(): removed nested TRT into TRT which was superfluous
-rw-r--r-- | arabluatex.lua | 3 |
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 | |||
1162 | function ayah(str) | 1162 | function 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 |