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*old-in]u+\\n[Si]n
Or perhaps use -1 instead of 6? Just an idea
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.
I have decade's of files tht I need to have work correctly wirh groff
without editing things.
In particular, I have a 40+ page tutorial on using groff with MM from the
90s that worked perfectly on an old SUN workstation with the MM macros.
SUN's used AT&T's troff with the original Bell Lab's MM. I am trying to
get the source code to display like it did when it was first written and
will open-source it when I have finished sorting out the issues.
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