aboutsummaryrefslogtreecommitdiff
path: root/arabluatex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'arabluatex.dtx')
-rw-r--r--arabluatex.dtx21
1 files changed, 15 insertions, 6 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 83ce9f1..a2f56c4 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -217,7 +217,7 @@
217%</driver> 217%</driver>
218% \fi 218% \fi
219% 219%
220% \CheckSum{0} 220% \CheckSum{700}
221% 221%
222% \CharacterTable 222% \CharacterTable
223% {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 223% {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
@@ -311,6 +311,7 @@
311% \url{https://notabug.org/ralessi/arabluatex/issues} 311% \url{https://notabug.org/ralessi/arabluatex/issues}
312% \end{compactitem} 312% \end{compactitem}
313% 313%
314% \marginpar{\texttt{gpl3+}}
314% This program is free software: you can redistribute it and/or modify 315% This program is free software: you can redistribute it and/or modify
315% it under the terms of the GNU General Public License as published by 316% it under the terms of the GNU General Public License as published by
316% the Free Software Foundation, either version 3 of the License, or 317% the Free Software Foundation, either version 3 of the License, or
@@ -342,7 +343,7 @@
342% \label{sec:documentation-license} 343% \label{sec:documentation-license}
343% Copyright \textcopyright\ 2016--2017 Robert Alessi 344% Copyright \textcopyright\ 2016--2017 Robert Alessi
344% 345%
345% \ccbysa\ 346% \ccbysa\marginpar{\texttt{CC BY-SA 4.0}}
346% This document is licensed under the Creative Commons 347% This document is licensed under the Creative Commons
347% Attribution-ShareAlike 4.0 International License. To view a copy of 348% Attribution-ShareAlike 4.0 International License. To view a copy of
348% this license, visit 349% this license, visit
@@ -3297,14 +3298,22 @@ wa-ya.sIru ta.hta 'l-jild-i
3297\DeclareDocumentCommand{\cap}{m}% 3298\DeclareDocumentCommand{\cap}{m}%
3298 {\luadirect{tex.sprint(cap(\luastringN{#1}))}} 3299 {\luadirect{tex.sprint(cap(\luastringN{#1}))}}
3299% \end{macrocode} 3300% \end{macrocode}
3300% \begin{macro}{\Cap} \changes{v1.8.2}{2017/04/02}{New \cs{Cap} macro: 3301% \end{macro}
3301% does the same as \cs{cap}, but not to be used outside \texttt{trans} 3302% \begin{macro}{\Cap} \cs{cap} may be used safely in all of the modes
3302% mode.} 3303% that are provided by \package{arabluatex} as any of the |voc|,
3304% |fullvoc| and |novoc| modes discard it on top of any other
3305% functions to be run. \cs{Cap} does the same as \cs{cap} except
3306% that \emph{it is never discarded}. For that reason, \cs{Cap}
3307% \emph{should never be used outside the} |trans|
3308% \emph{mode}. \package{arabluatex} uses \cs{Cap} internally so as
3309% to prevent \cs{cap} from being discarded in case words that are to
3310% be transliterated are inserted into Arabic commands or
3311% environments where transliteration is not required. Therefore, it
3312% is not documented.
3303% \begin{macrocode} 3313% \begin{macrocode}
3304\let\Cap\cap 3314\let\Cap\cap
3305% \end{macrocode} 3315% \end{macrocode}
3306% \end{macro} 3316% \end{macro}
3307% \end{macro}
3308% \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left 3317% \begin{macro}{\txarb} \cs{txarb} sets the direction to right-to-left
3309% and selects the Arabic font. It is used internally by several Lua 3318% and selects the Arabic font. It is used internally by several Lua
3310% functions, but available to the user should he wish to insert 3319% functions, but available to the user should he wish to insert