diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty index 5e5b0f64190..d95056d228a 100644 --- a/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty +++ b/Master/texmf-dist/tex/latex/pdfmanagement-testphase/output-patches-tmp-ltx.sty @@ -22,13 +22,11 @@ \ProvidesPackage{output-patches-tmp-ltx} [2021-08-20 v0.95 Temporary patches of output commands] \RequirePackage{etoolbox} -\newcommand\@kernel@before@head{} -\newcommand\@kernel@before@foot{} -\newcommand\@kernel@after@head{} -\newcommand\@kernel@after@foot{} -\newcommand\@kernel@before@footins{} -\newcommand\@kernel@before@cclv{} -\newcommand\@mult@ptagging@hook{} +\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} @@ -39,15 +37,21 @@ {\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 } + \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 } + \pretocmd\@makecol{\@kernel@before@cclv} + {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror } + } \AddToHook{package/multicol/after} {% multicol needs later loading \patchcmd\page@sofar |