%% %% This is file `output-patches-tmp-ltx.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% output-patches-tmp-ltx.dtx (with options: `package') %% %% Copyright (C) 2019-2021 The LaTeX Project %% %% It may be distributed and/or modified under the conditions of %% the LaTeX Project Public License (LPPL), either version 1.3c of %% this license or (at your option) any later version. The latest %% version of this license is in the file: %% %% https://www.latex-project.org/lppl.txt %% %% This file is part of the "LaTeX PDF management testphase bundle" (The Work in LPPL) %% and all files in that bundle must be distributed together. %% %% File: output-patches.dtx (C) Copyright 2020-2021 Frank Mittelbach \ProvidesPackage{output-patches-tmp-ltx} [2021-08-20 v0.95 Temporary patches of output commands] \RequirePackage{etoolbox} \providecommand\@kernel@before@head{} \providecommand\@kernel@before@foot{} \providecommand\@kernel@after@head{} \providecommand\@kernel@after@foot{} \providecommand\@mult@ptagging@hook{}% multicol \patchcmd\@outputpage {\vfil\color@hbox\normalcolor\hb@xt@\textwidth{\@thehead}\color@endbox} {\vfil\@kernel@before@head\color@hbox\normalcolor\hb@xt@\textwidth{\@thehead}\color@endbox\@kernel@after@head} {\typeout{Patching header in \string\@outputpage}}{\PATCHerror } \patchcmd\@outputpage {\color@hbox\normalcolor\hb@xt@\textwidth{\@thefoot}\color@endbox} {\@kernel@before@foot\color@hbox\normalcolor\hb@xt@\textwidth{\@thefoot}\color@endbox\@kernel@after@foot} {\typeout{Patching footer in \string\@outputpage}}{\PATCHerror } \@ifpackageloaded{latex-lab-testphase-new-or} {} { \providecommand\@kernel@before@footins{} \providecommand\@kernel@before@cclv{} \patchcmd\@makecol {\vskip\skip\footins} {\vskip\skip\footins\@kernel@before@footins} {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror } \pretocmd\@makecol{\@kernel@before@cclv} {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror } } \AddToHook{package/multicol/after} {% multicol needs later loading \patchcmd\page@sofar {\setbox\z@\hbox{p}\global\dimen\tw@\dp\z@}% {% \setbox\z@\hbox{p}\global\dimen\tw@\dp\z@ \@mult@ptagging@hook }% {\typeout{Patching \string\page@sofar\space for tagging}}{\PATCHerror}% } \ExplSyntaxOn \def\@kernel@before@head{\pdfannot_link_off:} \def\@kernel@before@foot{\pdfannot_link_off:} \def\@kernel@after@head {\pdfannot_link_on:} \def\@kernel@after@foot {\pdfannot_link_on:} \ExplSyntaxOff %% %% %% End of file `output-patches-tmp-ltx.sty'.