From 794311265c5b020e8c459c33056e1376b169e27f Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Sun, 2 Jul 2017 20:16:35 +0200
Subject: new command \MkArbBreak{} for inserting user-defined single argument
 commands in Arabic environments

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

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 887acff..236e95f 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -3280,6 +3280,14 @@ wa-ya.sIru ta.hta 'l-jild-i
   {\NewDocumentCommand{\RL}{m}{\bgroup\textdir TRT#1\rmfamily\egroup}}}
 %    \end{macrocode}
 % \end{macro}
+% \begin{macro}{\MkArbBreak}
+% \changes{v1.9}{2017/07/02}{New \cs{MkArbBreak} command for inserting
+% user-defined macros in Arabic environments}
+%    \begin{macrocode}
+\DeclareDocumentCommand{\MkArbBreak}{m}{%
+  \luadirect{mkarbbreak(\luastringN{#1})}}
+%    \end{macrocode}
+% \end{macro}
 % \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as well.
 %    \begin{macrocode}
 \AtBeginDocument{\ifdef{\aemph}%
-- 
cgit v1.2.3

