On Sun, 2 Feb 2025 at 18:51, Hans Hagen <[email protected]> wrote:

> On 2/2/2025 10:56 AM, Udicoudco wrote:
>
> > Even though this change is less disruptive, there might be more
> > concerns about backwards compatibility today than three years ago, if
> > this is the case a new value to \matheqdirmode can be added.
>
> I checked how I'd do it in luametatex and  noticed a potential issue
> with the patch: because there can be more than one node (par plus plenty
> dir) you need to flush the list starting with vlink(head), otherwise you
> leak nodes.
>
> (Because pop_nest is kind of dumb that should be enough but in other
> situations one should also set tail to head and the next node of head to
> null.)
>
> (I actually added a bit more clever variant so that i can test some
> scenarios, but right now I can't forecast side effects as i have no clue
>   about intended usage in macro packages as we don't need it in context.)
>

ok, finally done.

commit ba8a0978018c3215144c77ffb0c4f14638a3c1e1 (HEAD -> master,
origin/master, origin/HEAD)
Author: Luigi Scarso <[email protected]>
Date:   Wed Feb 5 00:53:09 2025 +0100

    add mathemptydisplaymode primitive, fix nodes leak in end_graf (thanks
to [email protected])


--
luigi
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to