aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex.dtx9
1 files changed, 6 insertions, 3 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 6469ed3..a45b3bd 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -4394,12 +4394,15 @@ wa-ya.sIru ta.hta 'l-jild-i
4394% \begin{macro}{\arbmark} 4394% \begin{macro}{\arbmark}
4395% \changes{v1.11}{2018/03/31}{New command for inserting additional 4395% \changes{v1.11}{2018/03/31}{New command for inserting additional
4396% marks in Arabic environments} \cs{arbmark} takes one argument from a 4396% marks in Arabic environments} \cs{arbmark} takes one argument from a
4397% list of defined elements. This command is coded in Lua. 4397% list of defined elements. This command is coded in
4398% Lua. \changes{v1.13}{2018/08/23}{New optional argument: either
4399% \texttt{rl} or \texttt{lr}}
4398% \begin{macrocode} 4400% \begin{macrocode}
4399\NewDocumentCommand{\arbmark}{m}{% 4401\NewDocumentCommand{\arbmark}{O{} m}{%
4400 \bgroup% 4402 \bgroup%
4401 \SetInputScheme{arabtex}% 4403 \SetInputScheme{arabtex}%
4402 \luadirect{tex.sprint(processarbmarks(\luastringN{#1}))}% 4404 \luadirect{tex.sprint(processarbmarks(\luastringN{#2},
4405 \luastringN{#1}))}%
4403 \egroup} 4406 \egroup}
4404% \end{macrocode} 4407% \end{macrocode}
4405% \end{macro} 4408% \end{macro}