[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-OR-lab: or code is now in a sty (ca42cc0)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Feb 15 18:29:56 CET 2022


Repository : https://github.com/latex3/pdfresources
On branch  : test-OR-lab
Link       : https://github.com/latex3/pdfresources/commit/ca42cc0b47788b47aebb85e5b0049222a7074153

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

commit ca42cc0b47788b47aebb85e5b0049222a7074153
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Feb 15 18:29:56 2022 +0100

    or code is now in a sty


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

ca42cc0b47788b47aebb85e5b0049222a7074153
 firstaid/output-patches-tmp-ltx.dtx | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/firstaid/output-patches-tmp-ltx.dtx b/firstaid/output-patches-tmp-ltx.dtx
index c08cd40..341bc1f 100644
--- a/firstaid/output-patches-tmp-ltx.dtx
+++ b/firstaid/output-patches-tmp-ltx.dtx
@@ -92,34 +92,25 @@
 %      update the \cs{footins} stream if that one got split
 %    \end{itemize}
 %
-%   If the new latex-lab file for the output routine it will do the right thing.
+%   If the new latex-lab file for the output routine is loaded it will do the right thing.
 %   In the other case we patch \cs{@makecol} manually.
 %    \begin{macrocode}
-%\ShowDocumentProperties
-\begingroup
-    \edef\x{\GetDocumentProperties{document/testphase/new-or}}%
-    \edef\y{loaded}%
-  \expandafter\endgroup
-  \ifx\x\y
-    \expandafter\@firstoftwo
-  \else
-    \expandafter\@secondoftwo
-  \fi
+\@ifpackageloaded{latex-lab-testphase-new-or}
    {}
    {
     \providecommand\@kernel at before@footins{}
     \providecommand\@kernel at before@cclv{}
 
-  \patchcmd\@makecol
+    \patchcmd\@makecol
       {\vskip\skip\footins}
       {\vskip\skip\footins\@kernel at before@footins}
-    {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror }
+      {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror }
 
 % for some reason patching with etoolbox only works in this order ...
 
-  \pretocmd\@makecol{\@kernel at before@cclv}
-    {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror }
-  }
+    \pretocmd\@makecol{\@kernel at before@cclv}
+     {\typeout{Patching \string\@makecol\space for tagging}}{\PATCHerror }
+   }
 %    \end{macrocode}
 %  \end{macro}
 %





More information about the latex3-commits mailing list.