Re: Equation Label wrongly positioned in indented '-mm' (MM) display

2022-03-13 Thread Damian McGuckin
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 independen

Re: Equation Label wrongly positioned in indented '-mm' (MM) display

2022-03-13 Thread Tadziu Hoffmann
> This is a bug in groff's MM. Irrespective of the type of display, the > Equation number argument to .EQ should display on the right margin. 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 messe

Re: Equation Label wrongly positioned in indented '-mm' (MM) display

2022-03-13 Thread Damian McGuckin
On Sun, 13 Mar 2022, Tadziu Hoffmann wrote: What about defining a new display style that only indents on the left, not on the right? I.e., add the following two lines to m.tmac at the appropriate places: .nr ds*format!6 6\" indent only on the left and .if \\n[ds*format]=6 'in \\n[ds*

Re: Equation Label wrongly positioned in indented '-mm' (MM) display

2022-03-13 Thread Tadziu Hoffmann
> If anybody wants to tell me a better way to fix the problem, > I would love to know. What about defining a new display style that only indents on the left, not on the right? I.e., add the following two lines to m.tmac at the appropriate places: .nr ds*format!6 6\" indent only on the lef