[latex3-commits] [git/LaTeX3-latex3-latex2e] shipout-hook-adjust: Merge branch 'develop' into shipout-hook-adjust (b21646c3)
Frank Mittelbach
frank.mittelbach at latex-project.org
Mon Jan 18 23:07:27 CET 2021
Repository : https://github.com/latex3/latex2e
On branch : shipout-hook-adjust
Link : https://github.com/latex3/latex2e/commit/b21646c3a79aee32f375ce8d8080e582b28e27bd
>---------------------------------------------------------------
commit b21646c3a79aee32f375ce8d8080e582b28e27bd
Merge: 08eb20e7 1faea67c
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Jan 18 23:07:27 2021 +0100
Merge branch 'develop' into shipout-hook-adjust
# Conflicts:
# base/changes.txt
# base/ltshipout.dtx
>---------------------------------------------------------------
b21646c3a79aee32f375ce8d8080e582b28e27bd
base/changes.txt | 5 ++
base/doc/ltnews33.tex | 14 ++++-
base/fontdef.dtx | 4 +-
base/format.ins | 1 -
base/ltclass.dtx | 10 +--
base/ltdefns.dtx | 4 +-
base/ltdirchk.dtx | 10 ++-
base/ltexpl.dtx | 6 +-
base/ltfilehook.dtx | 24 ++++++--
base/ltfiles.dtx | 16 +++--
base/ltfinal.dtx | 7 ++-
base/ltfssaxes.dtx | 8 ++-
base/ltfssdcl.dtx | 6 +-
base/ltfssini.dtx | 34 +++++-----
base/lthooks.dtx | 25 ++++----
base/ltluatex.dtx | 10 ++-
base/ltshipout.dtx | 82 ++++++-------------------
base/lttextcomp.dtx | 30 ++++-----
base/ltvers.dtx | 26 ++++----
base/source2edoc.cls | 29 ++++++++-
base/testfiles-lthooks2/shipout2-emulations.tlg | 5 +-
support/texlive.sh | 1 +
22 files changed, 201 insertions(+), 156 deletions(-)
diff --cc base/changes.txt
index 0a3065d9,325b2508..2f6834b4
--- a/base/changes.txt
+++ b/base/changes.txt
@@@ -6,24 -6,11 +6,29 @@@ completeness or accuracy and it contain
are not part of the distribution.
================================================================================
+2021-01-12 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltshipout.dtx: Make sure that the shipout/firstpage hook material
+ is not stored inside \ShipoutBox, in case that gets reused, e.g. via
+ \RawShipout but is only ever added to the very first page shipped out.
+
+2021-01-10 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltshipout.dtx:
+ Added internal \@kernel at after@shipout at background hook.
+ Added public shipout/after hook
+
+ (subsection{Overloading the \shipout primitive}):
+ Add \RawShipout for shipping out while bypassing most hooks.
+
+ (subsection{Emulating atbegshi}): Added
+ \AtBeginShipoutOriginalShipout to the emulation of atbegshi.
+
+ 2021-01-08 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltshipout.dtx (subsection{Package \pkg{everyshi} emulation}):
+ The emulation is no longer needed so taken out (gh440)
+
2020-12-22 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltfssaxes.dtx (subsection{Changing to a new series}):
diff --cc base/doc/ltnews33.tex
index aa6c6021,aa6c6021..b44acfc6
--- a/base/doc/ltnews33.tex
+++ b/base/doc/ltnews33.tex
@@@ -173,6 -173,6 +173,19 @@@ the preamble
++\subsection{Shipping out a page while bypassing hooks}
++
++In the 2020 October release several hooks were added to the page
++shipout process, e.g., to add some background or foreground material
++to some or all pages. We now also added a \cs{RawShipout} command that
++bypasses most of these hooks during the shipout. Some essential
++internal bookkeeping still takes place such as updating the
++\texttt{totalpages} counter or adding \texttt{shipout/firstpage} or
++\texttt{shipout/lastpage} material if the page happens to be the first
++or last.
++
++
++
\subsection{\ldots}
\emph{to be written}
@@@ -181,7 -181,7 +194,6 @@@
--
\section{Changes to packages in the \pkg{graphics} category}
\subsection{\ldots}
More information about the latex3-commits
mailing list.