diff options
author | Robert Alessi <alessi@robertalessi.net> | 2016-04-26 13:02:21 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2016-04-26 13:02:58 +0200 |
commit | d6397857b9a28e7a73d6806422dcb03112441711 (patch) | |
tree | e689092c1516ec015498605c4c64c87e319c949e /arabluatex.dtx | |
parent | 00b0ecbf36167f16bbdf284ad3d7140139015591 (diff) | |
download | arabluatex-d6397857b9a28e7a73d6806422dcb03112441711.tar.gz |
implementation of abjad numbering in Lua, so that polyglossia no longer be needed (this is much more flexible)
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r-- | arabluatex.dtx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index bd9810c..79d038d 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -1967,6 +1967,8 @@ wa-ya.sIru ta.hta 'l-jildi | |||
1967 | {\NewDocumentCommand{\RL}{m}{\bgroup\textdir TRT#1\rmfamily\egroup}}} | 1967 | {\NewDocumentCommand{\RL}{m}{\bgroup\textdir TRT#1\rmfamily\egroup}}} |
1968 | % \end{macrocode} | 1968 | % \end{macrocode} |
1969 | % \end{macro} | 1969 | % \end{macro} |
1970 | \NewDocumentCommand{\abjad}{m}% | ||
1971 | {\luadirect{tex.sprint(abjadify(#1))}} | ||
1970 | % \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as well. | 1972 | % \begin{macro}{\aemph} Arabic emphasis. Needs to be redefined as well. |
1971 | % \begin{macrocode} | 1973 | % \begin{macrocode} |
1972 | \AtBeginDocument{\ifdef{\aemph}% | 1974 | \AtBeginDocument{\ifdef{\aemph}% |