diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-10-02 17:24:35 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-10-02 17:24:35 +0200 |
commit | 09e25ae260d149e1637a67281f673f8bf219b654 (patch) | |
tree | d85d77cf991c8c929dcceb68f259a5314fa38486 | |
parent | c05933f3664e3ea91bf0ec0191651282c284a1b5 (diff) | |
download | arabluatex-09e25ae260d149e1637a67281f673f8bf219b654.tar.gz |
new command \ayah
-rw-r--r-- | arabluatex.dtx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 0248d0f..4f841e9 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -258,7 +258,7 @@ | |||
258 | %</driver> | 258 | %</driver> |
259 | % \fi | 259 | % \fi |
260 | % | 260 | % |
261 | % \CheckSum{899} | 261 | % \CheckSum{0} |
262 | % | 262 | % |
263 | % \CharacterTable | 263 | % \CharacterTable |
264 | % {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 | 264 | % {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 | |||
4791 | \fi} | 4791 | \fi} |
4792 | % \end{macrocode} | 4792 | % \end{macrocode} |
4793 | % \end{macro} | 4793 | % \end{macro} |
4794 | % \begin{macro}{\ayah}\changes{v1.15}{2018/10/02}{Prints End of Ayah | ||
4795 | % sign}\cs{ayah}\marg{number} prints up to 3-digit numbers inside | ||
4796 | % \enquote*{end of Ayah} sign (|U+06DD|) or inside parentheses | ||
4797 | % depending on the mode which is selected. | ||
4798 | % \begin{macrocode} | ||
4799 | \NewDocumentCommand{\ayah}{m}{% | ||
4800 | \luadirect{tex.sprint(ayah(\luastringN{#1}))}} | ||
4801 | % \end{macrocode} | ||
4802 | % \end{macro} | ||
4803 | % | ||
4794 | % \begin{macro}{\arbnull} | 4804 | % \begin{macro}{\arbnull} |
4795 | % \changes{v1.7}{2016/12/24}{New \cs{arbnull} command for putting | 4805 | % \changes{v1.7}{2016/12/24}{New \cs{arbnull} command for putting |
4796 | % back on any contextual analysis rule broken by other commands.} | 4806 | % back on any contextual analysis rule broken by other commands.} |