From 09e25ae260d149e1637a67281f673f8bf219b654 Mon Sep 17 00:00:00 2001
From: Robert Alessi <alessi@robertalessi.net>
Date: Tue, 2 Oct 2018 17:24:35 +0200
Subject: new command \ayah

---
 arabluatex.dtx | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'arabluatex.dtx')

diff --git a/arabluatex.dtx b/arabluatex.dtx
index 0248d0f..4f841e9 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -258,7 +258,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{899}
+% \CheckSum{0}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -4791,6 +4791,16 @@ wa-ya.sIru ta.hta 'l-jild-i
   \fi}
 %    \end{macrocode}
 % \end{macro}
+% \begin{macro}{\ayah}\changes{v1.15}{2018/10/02}{Prints End of Ayah
+% sign}\cs{ayah}\marg{number} prints up to 3-digit numbers inside
+% \enquote*{end of Ayah} sign (|U+06DD|) or inside parentheses
+% depending on the mode which is selected.
+%    \begin{macrocode}
+\NewDocumentCommand{\ayah}{m}{%
+  \luadirect{tex.sprint(ayah(\luastringN{#1}))}}
+%    \end{macrocode}
+% \end{macro}
+% 
 % \begin{macro}{\arbnull}
 %   \changes{v1.7}{2016/12/24}{New \cs{arbnull} command for putting
 %   back on any contextual analysis rule broken by other commands.}
-- 
cgit v1.2.3

