suppress patch if latex-lab-math is new enough

This commit is contained in:
Ulrike Fischer 2025-01-24 14:46:28 +01:00
parent 2fda593fae
commit 57e29caf9c

View File

@ -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
}
}
}