From 57e29caf9c4693e85f4fd8ace0acf8bafd9485c1 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Fri, 24 Jan 2025 14:46:28 +0100 Subject: [PATCH] suppress patch if latex-lab-math is new enough --- luamml-patches-lab-math.sty | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/luamml-patches-lab-math.sty b/luamml-patches-lab-math.sty index f329911..c74a206 100644 --- a/luamml-patches-lab-math.sty +++ b/luamml-patches-lab-math.sty @@ -1,9 +1,13 @@ \ProvidesExplPackage {luamml-patches-lab-math} {2024-10-30} {0.2.0} {Feel free to add a description here} -% This definition is identical to the one in latex-lab-math. +% This definition is identical to the one in latex-lab-math. % The redefinition and the whole patch file can be removed in 2025-06-01 -\AddToHook{begindocument} { +\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24} + {} + { + \AddToHook{begindocument} { + \PackageInfo{luamml}{patching~\string\common@align@ending} \cs_set:Npn \common@align@ending { \math@cr \black@ \totwidth@ @@ -18,5 +22,6 @@ $$ \fi \ignorespacesafterend + } } }