On Mon, 14 Mar 2022, Tadziu Hoffmann wrote:
You are right, it is a bug in groff's MM. Your fix does look reasonable. The real problem is that groff's MM's treatment of displayed equations is messed up, and should be completely reworked. In groff's MM the equation number is printed independently of the equation proper,
Yes.
and is thus not guaranteed to be aligned with the baseline of the equation.
It has worked for me.
AT&T MM does it correctly.
Should I just grab the AT&T MM files from heirloom troff and use those with GROFF?
Stay safe - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer