summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-21 22:49:34 +0000
committerKarl Berry <karl@freefriends.org>2022-01-21 22:49:34 +0000
commit87aba59c84e17b383ab231357b7f9e75330738a4 (patch)
tree26cc1381a3b5189f541326c112e932b144030a91 /Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
parent7e5007eab3107fa4ad6a70beb002fe0bb541ef52 (diff)
l3kernel (21jan22)
git-svn-id: svn://tug.org/texlive/trunk@61685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3doc.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3doc.dtx17
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx b/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
index eb67bd70b38..bd63683b356 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3doc.dtx
+++ b/Master/texmf-dist/source/latex/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