Skip to content

Commit

Permalink
update luamml
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Jan 24, 2025
1 parent 5bc2140 commit 386298a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 6 additions & 4 deletions texmf/tex/lualatex/luamml/luamml-patches-amsmath.sty
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,14 @@
\strut@
{##}
}
\dim_compare:nNnF {0pt} = {
\dim_compare:nNnTF {0pt} = {
\box_wd:N \c_zero_int
} {
}
{ \place@tag@gather }
{
\place@tag@gather
\__luamml_amsmath_set_tag:
}
\place@tag@gather
\tabskip \iftagsleft@
\gdisplaywidth@
\else
Expand Down Expand Up @@ -230,7 +232,7 @@
\omit
\kern -\alignsep@
\iftag@
\setboxz@h {
\setboxz@h {
\@lign
\strut@
{ \make@display@tag }
Expand Down
9 changes: 7 additions & 2 deletions texmf/tex/lualatex/luamml/luamml-patches-lab-math.sty
Original file line number Diff line number Diff line change
@@ -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@
Expand All @@ -18,5 +22,6 @@
$$
\fi
\ignorespacesafterend
}
}
}

0 comments on commit 386298a

Please sign in to comment.