[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: better put the docstrip guards inside macrcode (0f5ab217)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Aug 17 20:04:34 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks2
Link       : https://github.com/latex3/latex2e/commit/0f5ab2175c63f45e28a5c7b48103ac9ef7e7d994

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

commit 0f5ab2175c63f45e28a5c7b48103ac9ef7e7d994
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Aug 17 20:04:34 2020 +0200

    better put the docstrip guards inside macrcode


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

0f5ab2175c63f45e28a5c7b48103ac9ef7e7d994
 base/ltfiles.dtx     | 11 +++++++----
 base/source2edoc.cls |  2 ++
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index d2624b91..032059a7 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -610,10 +610,6 @@
 \let\@auxout=\@mainaux
 %    \end{macrocode}
 %
-%</2ekernel>
-%<*2ekernel|latexrelease>
-%<latexrelease>\IncludeInRelease{2020/10/01}%
-%<latexrelease>                 {\includeonly}{Spaces in file names}%
 %
 %  \begin{macro}{\include,\includeonly}
 % \changes{v0.9p}{1994/01/18}
@@ -645,6 +641,13 @@
 %    add the space after it has acted to keep the legacy interface of
 %    \cs{@include}.
 %    \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2020/10/01}%
+%<latexrelease>                 {\includeonly}{Spaces in file names}%
+%    \end{macrocode}
+%    
+%    \begin{macrocode}
 \def\include#1{\relax
   \ifnum\@auxout=\@partaux
     \@latex at error{\string\include\space cannot be nested}\@eha
diff --git a/base/source2edoc.cls b/base/source2edoc.cls
index 1cabcfba..be6e675b 100644
--- a/base/source2edoc.cls
+++ b/base/source2edoc.cls
@@ -214,4 +214,6 @@ Bug reports can be opened (category \texttt{#1}) at\\%
            {}
 
 
+\errorstopmode
+           
 \endinput





More information about the latex3-commits mailing list.