From 36cfb020d21d2a0f4bc3fdf89985f61a2374967f Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Mon, 3 Feb 2025 00:31:57 +0100 Subject: [PATCH] use sockets --- luamml-patches-amsmath.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luamml-patches-amsmath.sty b/luamml-patches-amsmath.sty index bc23b5d..ee173f3 100644 --- a/luamml-patches-amsmath.sty +++ b/luamml-patches-amsmath.sty @@ -305,14 +305,14 @@ % Less luckily, \endmultline@math sometimes get overwritten for the last line. % But that isn't a problem since we want special behavior there anyway. \cs_set:Npn \endmultline@math { - \luamml_save:nNn {} \displaystyle {mtd} + \UseTaggingSocket{math/luamml/save/nNn}{{} \displaystyle {mtd}} $ \UseTaggingSocket{math/luamml/mtable/finalizecol}{last} } \cs_set:Npn \rendmultline@ { \iftag@ - \luamml_save:nNn {} \displaystyle {mtd} + \UseTaggingSocket{math/luamml/save/nNn}{{} \displaystyle {mtd}} $ \UseTaggingSocket{math/luamml/mtable/finalizecol}{last} \let \endmultline@math \relax @@ -402,7 +402,7 @@ \egroup \egroup \UseTaggingSocket{math/luamml/mtable/innertable/finalize} - \UseTaggingSocket{ math/luamml/annotate/false } {}{ \, } + \UseTaggingSocket{math/luamml/annotate/false} {}{ \, } } }