On Sat, 14 Jun 2025 at 08:25, Marcel Fabian Krüger <tex@2krueger.de> wrote:
Hi,

in recent LuaTeX versions \mathflattenmode has been marked as obsolete.
We would like to use this functionality in LuaLaTeX, so it would be great
if it could stick around. We only need it to disable flattening though,
so if you want to avoid keeping the whole thing we would also be happy
to just have a boolean "disable mth flattening" option equivalent to
\mathflattenmode=0.

Ok, it's not obsolete. I quickly looked at the code, the fix seems simple -- can you send me the patch?

--
luigi