diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-05-06 12:42:10 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-05-06 12:42:10 +0200 |
commit | ead71bd1eb0e996a00da3b88894eb0ee39cc7865 (patch) | |
tree | b2dc5dfc9cf1724a263e19085a6e89382cdf6838 /arabluatex.dtx | |
parent | d29c2198970d50582a29f20c63d931a1b89b8811 (diff) | |
download | arabluatex-ead71bd1eb0e996a00da3b88894eb0ee39cc7865.tar.gz |
\abjad{} should be able to accept commands and counters as arguments
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 289512f..2672655 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -3988,10 +3988,10 @@ wa-ya.sIru ta.hta 'l-jild-i | |||
3988 | \AtBeginDocument{% | 3988 | \AtBeginDocument{% |
3989 | \ifdefined\abjad% | 3989 | \ifdefined\abjad% |
3990 | \RenewDocumentCommand{\abjad}{m}% | 3990 | \RenewDocumentCommand{\abjad}{m}% |
3991 | {\luadirect{tex.sprint(abjadify(#1))}}% | 3991 | {\luadirect{tex.sprint(abjadify(\luastring{#1}))}}% |
3992 | \else% | 3992 | \else% |
3993 | \NewDocumentCommand{\abjad}{m}% | 3993 | \NewDocumentCommand{\abjad}{m}% |
3994 | {\luadirect{tex.sprint(abjadify(#1))}} | 3994 | {\luadirect{tex.sprint(abjadify(\luastring{#1}))}} |
3995 | \fi} | 3995 | \fi} |
3996 | % \end{macrocode} | 3996 | % \end{macrocode} |
3997 | % \end{macro} | 3997 | % \end{macro} |