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

2022-03-15 Thread Damian McGuckin
On Tue, 15 Mar 2022, Dave Kemper wrote: You can submit a groff bug report by visiting the bug tracker at http://savannah.gnu.org/bugs/?group=groff and selecting "Submit new" under the "Bugs" menu. Done - #62190. Let me know if it is done correctly or whether there are better ways to describe

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

2022-03-15 Thread Dave Kemper
On 3/13/22, Damian McGuckin wrote: > If anybody else agrees that there is a problem and that my fix is done > correctly, how do I submit a bug report and the fix. Hi Damian, You can submit a groff bug report by visiting the bug tracker at http://savannah.gnu.org/bugs/?group=groff and selecting "

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

2022-03-15 Thread Ralph Corderoy
Hi Damian, > But I agree, variations between releases are a pain. > > I must admit that far worse is the change between a working > Ghostscript in CentOS 6.6 which displays nicely on a Gnome desktop and > a Ghostscript in CentOS 7.9 which segfaults just as it trys to bring > the window up. > > At

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

2022-03-14 Thread Damian McGuckin
On Mon, 14 Mar 2022, Ralph Corderoy wrote: Then you may like to be aware there are other problems with groff's mm macros. The one I recall is a regression where 1.17.2 worked and 1.18 didn't. https://launchpad.net/ubuntu/+source/groff/+bug/42764 I has noticed that. We use groff for a)

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

2022-03-14 Thread Ralph Corderoy
Hi Damian, > I have decade's of files tht I need to have work correctly wirh groff > without editing things. Then you may like to be aware there are other problems with groff's mm macros. The one I recall is a regression where 1.17.2 worked and 1.18 didn't. https://launchpad.net/ubuntu/+source

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

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

2022-03-12 Thread Damian McGuckin
This is version 1.22.4. When using groff -mm -e and an left justified Equation like .DS 0 .EQ (10) equation data .EN .DE the equation is nicely left justified and the label right justified right up against the right margin. The same alignment