summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/l3kernel/l3doc.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3doc.dtx')
-rw-r--r--macros/latex/contrib/l3kernel/l3doc.dtx26
1 files changed, 14 insertions, 12 deletions
diff --git a/macros/latex/contrib/l3kernel/l3doc.dtx b/macros/latex/contrib/l3kernel/l3doc.dtx
index 695e47a444..a48a24df23 100644
--- a/macros/latex/contrib/l3kernel/l3doc.dtx
+++ b/macros/latex/contrib/l3kernel/l3doc.dtx
@@ -71,7 +71,7 @@ and all files in that bundle must be distributed together.
% This isn't included in the typeset documentation because it's a bit
% ugly:
%<*class>
-\ProvidesExplClass{l3doc}{2024-02-20}{}
+\ProvidesExplClass{l3doc}{2024-03-14}{}
{L3 Experimental documentation class}
%</class>
% \fi
@@ -84,7 +84,7 @@ and all files in that bundle must be distributed together.
% require you to do updates, if the class changes.}}
%
% \author{\Team}
-% \date{Released 2024-02-20}
+% \date{Released 2024-03-14}
% \maketitle
% \tableofcontents
%
@@ -1655,7 +1655,7 @@ and all files in that bundle must be distributed together.
%
% \begin{macro}{\l@section, \l@subsection}
% Customise the table of contents (as we have so many sections).
-% Different design and/or structure is called for).
+% Different design and/or structure is called for.
% \begin{macrocode}
\@addtoreset{section}{part}
\cs_gset:Npn \l@section #1#2
@@ -2127,11 +2127,9 @@ and all files in that bundle must be distributed together.
{ \hyperlink { explTF } }
{ \mbox }
{
- \color{black}
\itshape TF
\makebox[0pt][r]
{
- \cs_if_exist:NT \Codedoc@explTF { \color{red} }
\underline { \phantom{\itshape TF} \kern-0.1em }
}
}
@@ -3206,18 +3204,22 @@ and all files in that bundle must be distributed together.
\tl_set:Nn \l_@@_tmpa_tl {#1}
\tl_replace_all:NnV \l_@@_tmpa_tl
{ ~ } \c_catcode_other_space_tl
- \@@_macroname_prefix:o \l_@@_tmpa_tl
- \@@_macroname_suffix:N #2
+ \@@_print_macroname_aux:on
+ \l_@@_tmpa_tl { \bool_if:NT #2 { \@@_typeset_TF: } }
}
}
-\cs_new_protected:Npn \@@_macroname_prefix:n #1
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_print_macroname_aux:nn}
+% |#1| is prefix, |#2| is optional |TF| suffix.
+% \begin{macrocode}
+\cs_new_protected:Npn \@@_print_macroname_aux:nn #1#2
{
\@@_if_macro_internal:nTF {#1}
- { \@@_typeset_aux:n {#1} } {#1}
+ { \@@_typeset_aux:n { #1 #2 } } { #1 #2 }
}
-\cs_generate_variant:Nn \@@_macroname_prefix:n { o }
-\cs_new_protected:Npn \@@_macroname_suffix:N #1
- { \bool_if:NTF #1 { \@@_typeset_TF: } { } }
+\cs_generate_variant:Nn \@@_print_macroname_aux:nn { o }
% \end{macrocode}
% \end{macro}
%