[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: more ltshipout and doc (7a9934a0)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Aug 16 11:28:56 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : lthooks2
Link       : https://github.com/latex3/latex2e/commit/7a9934a0d3059d31e838f7406fdb7f844c05e6fa

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

commit 7a9934a0d3059d31e838f7406fdb7f844c05e6fa
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Aug 16 11:28:56 2020 +0200

    more ltshipout and doc


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

7a9934a0d3059d31e838f7406fdb7f844c05e6fa
 base/lthooks.ins     |  6 ++++--
 base/ltshipout.dtx   | 23 +++++++++++++++--------
 base/source2edoc.cls |  5 +++--
 3 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/base/lthooks.ins b/base/lthooks.ins
index bb3e9372..c1816324 100644
--- a/base/lthooks.ins
+++ b/base/lthooks.ins
@@ -60,9 +60,11 @@ where one can also log issues in case there are any.
 \endpreamble
 
 
-\generate{\file{lthooks.ltx}{\from{lthooks.dtx}{2ekernel}}}    % only for lthooks.sty
+\generate{\file{lthooks.ltx}{\from{lthooks.dtx}{2ekernel}}}       % only for lthooks.sty
+\generate{\file{ltshipout.ltx}{\from{ltshipout.dtx}{2ekernel}}}   % only for lthooks.sty
+
+\generate{\file{atenddvi-integrated.sty}{\from{ltshipout.dtx}{atenddvi}}}
 
-\generate{\file{ltshipout.ltx}{\from{ltshipout.dtx}{2ekernel}}}
 \generate{\file{ltfilehook.ltx}{\from{ltfilehook.dtx}{2ekernel}}}
 
 
diff --git a/base/ltshipout.dtx b/base/ltshipout.dtx
index 97889a03..bb1eef43 100644
--- a/base/ltshipout.dtx
+++ b/base/ltshipout.dtx
@@ -412,8 +412,7 @@
 
 % \subsection{Emulating \pkg{everyshi}}
 %
-
-
+%
 % \begin{function}{\EveryShipout}
 %   \begin{syntax}
 % \cs{EveryShipout}\Arg{code} $\equiv$ \cs{AddToHook}\texttt{\{shipout/before\}}\Arg{code}
@@ -1410,22 +1409,34 @@
 \@namedef {ver at everyshi.sty}{2020/10/01}
 %    \end{macrocode}
 
+%    \begin{macrocode}
+\ExplSyntaxOff
+%</2ekernel>
+%    \end{macrocode}
 
 
 % \subsection{Package \pkg{atenddvi} emulation}
 %
+%
 %  \begin{macro}{\AtEndDvi}
 %    This package has only one public command to simulating it is easy:
 %    \begin{macrocode}
+%<*atenddvi>
+\ProvidesExplPackage{atenddvi}{2020/10/01}{v.10}
+                    {atenddvi for 2020-10-01 LaTeX or later}
+%    \end{macrocode}
+%    
+%    \begin{macrocode}
 \cs_new:Npn \AtEndDvi {\AddToHook{shipout/lastpage}}
+%</atenddvi>
 %    \end{macrocode}
 %  \end{macro}
 %
 %
 %    \begin{macrocode}
-\expandafter\cs_set_eq:NN\csname ver at atenddvi.sty\endcsname\fmtversion
-\@namedef {ver at atenddvi.sty}{2020/10/01}
+%\declare at file@substitution{atenddvi}{atenddvi-integrated}
 %    \end{macrocode}
+%
 
 
 %    Rather important :-)
@@ -1433,10 +1444,6 @@
 %<@@=>
 %    \end{macrocode}
 %
-%    \begin{macrocode}
-\ExplSyntaxOff
-%</2ekernel>
-%    \end{macrocode}
 
 %    \Finale
 %
diff --git a/base/source2edoc.cls b/base/source2edoc.cls
index 4048f6cb..990e3487 100644
--- a/base/source2edoc.cls
+++ b/base/source2edoc.cls
@@ -1,8 +1,9 @@
 
 % This class is buggy and needs fixing
 
-\ProvidesClass{source2edoc}[2020/08/16 v0.1 Quick hack to typeset source2.tex
-   (not usable for anything else and buggy -- will vanish again)!]
+\ProvidesClass{source2edoc}
+              [2020/08/16 v0.1 Quick hack to typeset source2.tex
+               (not usable for anything else and buggy -- will vanish again)!]
 
 \LoadClass{l3doc}
 





More information about the latex3-commits mailing list.