diff options
author | Robert Alessi <alessi@robertalessi.net> | 2020-03-15 16:54:42 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2020-03-15 16:54:42 +0100 |
commit | ceaa579e7862cc70fbe5329527413588b9bca0d7 (patch) | |
tree | 010e172bb43f894555fc1482df4b493d944b4cf6 /arabluatex.lua | |
parent | ecbedc8eb3207f2285a4d5e7831cf4ce26c33e54 (diff) | |
download | arabluatex-ceaa579e7862cc70fbe5329527413588b9bca0d7.tar.gz |
use lua-ul instead of ulemv1.19
Diffstat (limited to 'arabluatex.lua')
-rw-r--r-- | arabluatex.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arabluatex.lua b/arabluatex.lua index 868e116..cc3f713 100644 --- a/arabluatex.lua +++ b/arabluatex.lua | |||
@@ -724,7 +724,7 @@ local function processarbtoutf(str) | |||
724 | bbody = string.sub(bbody, 2, -2) | 724 | bbody = string.sub(bbody, 2, -2) |
725 | if tonumber(bbody) ~= nil then | 725 | if tonumber(bbody) ~= nil then |
726 | bbody = arabluatex.abjadify(bbody) | 726 | bbody = arabluatex.abjadify(bbody) |
727 | return string.format("\\oline*{\\arb[novoc]{%s}}", bbody) | 727 | return string.format("\\aoline*{\\arb[novoc]{%s}}", bbody) |
728 | else | 728 | else |
729 | return string.format("%s{%s}", btag, bbody) | 729 | return string.format("%s{%s}", btag, bbody) |
730 | end | 730 | end |
@@ -1183,12 +1183,12 @@ end | |||
1183 | 1183 | ||
1184 | function arabluatex.aemph(str, opt) | 1184 | function arabluatex.aemph(str, opt) |
1185 | if tex.textdir == "TRT" then | 1185 | if tex.textdir == "TRT" then |
1186 | str = "\\oline{\\textdir TRT{}"..str.."}" | 1186 | str = "\\aoline{\\textdir TRT{}"..str.."}" |
1187 | elseif tex.textdir == "TLT" then | 1187 | elseif tex.textdir == "TLT" then |
1188 | if opt == "over" then | 1188 | if opt == "over" then |
1189 | str = "\\oline{"..str.."}" | 1189 | str = "\\aoline{"..str.."}" |
1190 | else | 1190 | else |
1191 | str = "\\uline{"..str.."}" | 1191 | str = "\\auline{"..str.."}" |
1192 | end | 1192 | end |
1193 | end | 1193 | end |
1194 | return str | 1194 | return str |