From 4948d317c59e957856bf91049b8dfcc8f9141dae Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Wed, 28 Mar 2018 00:07:59 +0200
Subject: new command \arbmark{} for inserting any additional Arabic mark

---
 arabluatex.dtx | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index e6b680e..53a7ed4 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -3746,16 +3746,11 @@ wa-ya.sIru ta.hta 'l-jild-i
 % \begin{macro}{\arbmark}
 % New command to be documented
 %    \begin{macrocode}
-\NewDocumentCommand{\garbmark}{m}{%
+\NewDocumentCommand{\arbmark}{m}{%
   \bgroup%
   \SetInputScheme{arabtex}%
-  \ifx\al@mode\al@mode@trans%
-  \luadirect{tex.write(processarbmarks(\luastringN{#1},
-    \luastringO{trans}))}%
-  \else%
-  \luadirect{tex.write(processarbmarks(\luastringN{#1},
-    \luastringO{notrans}))}%
-  \fi\egroup}
+  \luadirect{tex.sprint(processarbmarks(\luastringN{#1}))}%
+  \egroup}
 %    \end{macrocode}
 % 
 % \end{macro}
-- 
cgit v1.2.3

