diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3doc.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3doc.dtx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/macros/latex/contrib/l3kernel/l3doc.dtx b/macros/latex/contrib/l3kernel/l3doc.dtx index eb67bd70b3..bd63683b35 100644 --- a/macros/latex/contrib/l3kernel/l3doc.dtx +++ b/macros/latex/contrib/l3kernel/l3doc.dtx @@ -61,7 +61,7 @@ and all files in that bundle must be distributed together. %</driver|class> % %<*driver> -\ProvidesFile{l3doc.dtx}[2020/08/21 L3 Experimental documentation class] +\ProvidesFile{l3doc.dtx}[2022/01/12 L3 Experimental documentation class] \documentclass{l3doc} \usepackage{framed,lipsum} \begin{document} @@ -72,14 +72,14 @@ 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}{2018-04-30}{} +\ProvidesExplClass{l3doc}{2022-01-12}{} {L3 Experimental documentation class} %</class> % \fi % % \title{The \cls{l3doc} class} % \author{\Team} -% \date{Released 2022-01-12} +% \date{Released 2022-01-21} % \maketitle % \tableofcontents % @@ -3610,7 +3610,7 @@ and all files in that bundle must be distributed together. % into \pkg{expl3} syntax. New features are added in various places. % % \begin{macro} -% {\StopEventually, \Finale, \AlsoImplementation, \OnlyDescription} +% {\StopEventually, \MaybeStop, \Finale, \AlsoImplementation, \OnlyDescription} % \begin{variable}{\g_@@_finale_tl} % TODO: remove these four commands altogether, document that it is % better to use the \env{documentation} and \env{implementation} @@ -3631,6 +3631,15 @@ and all files in that bundle must be distributed together. } { #1 \endinput } } +% \end{macrocode} +% We also need to support doc V3 \cs{MaybeStop} if it is around +% (which may not be the case). +% \begin{macrocode} +\cs_if_exist:NT \MaybeStop + { \RenewCommandCopy \MaybeStop \StopEventually } +% \end{macrocode} +% +% \begin{macrocode} \DeclareDocumentCommand \Finale { } { \tl_use:N \g_@@_finale_tl } \tl_new:N \g_@@_finale_tl |