aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2017-09-06 00:41:03 +0200
committerRobert Alessi <alessi@robertalessi.net>2017-09-06 00:41:03 +0200
commit19a4ab7d4518d410f85cdc0c94de51686646b1f6 (patch)
tree046ea90e00b5a459c148fb8d9c935a1f19592bc7
parenta5bffbf7ed2dd7eb78ebe43cc103e0b05e236170 (diff)
downloadarabluatex-19a4ab7d4518d410f85cdc0c94de51686646b1f6.tar.gz
bugfix: wrong redefinition of \aemph*
-rw-r--r--arabluatex.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 89b051e..2e503be 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -3361,7 +3361,7 @@ wa-ya.sIru ta.hta 'l-jild-i
3361% well. The function is actually coded in Lua. 3361% well. The function is actually coded in Lua.
3362% \begin{macrocode} 3362% \begin{macrocode}
3363\AtBeginDocument{\ifdef{\aemph}% 3363\AtBeginDocument{\ifdef{\aemph}%
3364 {\RenewDocumentCommand{\aemph}{m}{% 3364 {\RenewDocumentCommand{\aemph}{s m}{%
3365 \IfBooleanTF{#1}{% 3365 \IfBooleanTF{#1}{%
3366 $\overline{\text{#2}}$} 3366 $\overline{\text{#2}}$}
3367 {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}} 3367 {\luadirect{tex.sprint(aemph(\luastringN{#2}))}}}}