[latex3-commits] [git/LaTeX3-latex3-latex3] main: support doc V3 interface (\MaybeStop) (8b8d9550f)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Jan 12 19:31:33 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/8b8d9550fd1da0be0ea066eee9b17d8d094576ce

>---------------------------------------------------------------

commit 8b8d9550fd1da0be0ea066eee9b17d8d094576ce
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Jan 12 19:31:33 2022 +0100

    support doc V3 interface (\MaybeStop)


>---------------------------------------------------------------

8b8d9550fd1da0be0ea066eee9b17d8d094576ce
 l3kernel/l3doc.dtx | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index eb67bd70b..5d48dc425 100644
--- a/l3kernel/l3doc.dtx
+++ b/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,7 +72,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}{2018-04-30}{}
+\ProvidesExplClass{l3doc}{2022-01-12}{}
   {L3 Experimental documentation class}
 %</class>
 % \fi
@@ -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,13 @@ and all files in that bundle must be distributed together.
       }
       { #1 \endinput }
   }
+%    \end{macrocode}
+%    We also need to support doc V3 \cs{MaybeStop}.
+%    \begin{macrocode}
+\RenewCommandCopy\MaybeStop\StopEventually
+%    \end{macrocode}
+%
+%    \begin{macrocode}
 \DeclareDocumentCommand \Finale { }
   { \tl_use:N \g_@@_finale_tl }
 \tl_new:N \g_@@_finale_tl





More information about the latex3-commits mailing list.