[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Formatting difference with 1.23.0.rc3 (ms)

From: Christof Meerwald
Subject: Re: Formatting difference with 1.23.0.rc3 (ms)
Date: Sun, 9 Apr 2023 23:46:30 +0200

On Sun, Apr 09, 2023 at 02:11:17PM -0500, G. Branden Robinson wrote:
> At 2023-04-08T19:38:49-0500, G. Branden Robinson wrote:
> > Yes.  Technically, this changed behavior is the result of a bug fix to
> > bring our rendering of ms documents more in line with AT&T troff ms, and
> > we don't ordinarily document bug fixes in the NEWS file.
> > 
> >

Hmm, just been trying to look a bit into this.

What I found was and

Looking at page 158, in "8. Braces for Grouping", I see quite a bit of
white-space before

  "Rule: Braces can always be used to force EQN to treat something as
   a unit,"

which seems to correspond to 

e sup {i omega t}
Rule:  Braces can
be used to force 
to treat something as a unit,

in the source code. So the ".sp" clearly does affect spacing here
(after .EN).

On page 147 where we have

  "There is also a ·shorthand notation so
   in-line expressions"

it also appears that .PP following the .EN in the source code does
result in some additional whitespace (although it's less obvious):

.EQ I (3.1a)
x = f(y/2) + y/2
There is also a shorthand notation so
in-line expressions

Also on page 159, compare the spacing before "11. Summation, Integral,
Etc". There clearly was a lot more spacing there in the original

(a sup 2 /b sub 2 ) sup half
.SC "Summation, Integral, Etc."

(where .P2 expands to .DE)

So the change really looks like a regression rather than a bug fix to

> > But since you're the second person to have raised this issue to the
> > mailing list, it seems it might be worth adding a NEWS item about it.
> > So I'll see about that.
> Here is my proposed text.
> +o The s (ms) macro package now enables the formatter's "no-space mode"
> +  after ending displays (`DE`) and equations (`EQ`); this is to improve

"EN" instead of "EQ" (so it's consistent with "DE")?

(but I'd actually prefer to revert that change)


--                             sip:cmeerw at
mailto:cmeerw at                   xmpp:cmeerw at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]