[latex3-commits] [l3svn] 02/03: l3doc: minor dtx comment around indexing
noreply at latex-project.org
noreply at latex-project.org
Sun Nov 12 03:09:30 CET 2017
This is an automated email from the git hooks/post-receive script.
will pushed a commit to branch master
in repository l3svn.
commit 56d5a48311ff1c5f718db340ca58636e22b3e4cd
Author: Will Robertson <wspr81 at gmail.com>
Date: Sun Nov 12 12:31:56 2017 +1030
l3doc: minor dtx comment around indexing
---
l3kernel/l3doc.dtx | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index de2cd58..ca3f5cb 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -3877,7 +3877,19 @@ and all files in that bundle must be distributed together.
% \begin{macrocode}
\tl_new:N \l_@@_index_escaped_macro_tl
\tl_new:N \l_@@_index_escaped_key_tl
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_new_protected:Npn \@@_special_index_module:nnnnN #1#2#3#4#5
+% \end{macrocode}
+% \begin{arguments}
+% \item key
+% \item macro
+% \item module
+% \item index `type' (\texttt{main}/\texttt{usage}/\emph{etc.})
+% \item boolean whether internal command
+% \end{arguments}
+% \begin{macrocode}
{
\use:x
{
@@ -3899,8 +3911,24 @@ and all files in that bundle must be distributed together.
}
{#4}
}
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_generate_variant:Nn \@@_special_index_module:nnnnN { ooo }
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_new_protected:Npn \@@_special_index_aux:nnnnnn #1#2#3#4#5#6
+% \end{macrocode}
+% \begin{arguments}
+% \item key
+% \item macro
+% \item index subheading string
+% \item index subheading text
+% \item index subheading suffix (appended to both arg 3 and 4)
+% \item index `type' (\texttt{main}/\texttt{usage}/\emph{etc.})
+% \end{arguments}
+% \begin{macrocode}
{
\tl_set:Nn \l_@@_index_escaped_key_tl {#1}
\@@_quote_special_char:N \l_@@_index_escaped_key_tl
@@ -3928,6 +3956,9 @@ and all files in that bundle must be distributed together.
hdclindex{\the\c at HD@hypercount}{#6}
}
}
+% \end{macrocode}
+%
+% \begin{macrocode}
\cs_new_protected:Npn \@@_special_index_set:Nn #1#2
{
\tl_set:Nx #1 { \tl_to_str:n {#2} }
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list