URL:
  <https://savannah.gnu.org/bugs/?66380>

                 Summary: [mm] vertical space should precede date in `LT`
blocked letters
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Sat 26 Oct 2024 06:05:22 AM UTC
                Category: Macro package mm
                Severity: 3 - Normal
              Item Group: Rendering/Cosmetics
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 26 Oct 2024 06:05:22 AM UTC By: G. Branden Robinson <gbranden>
Problem affects _groff_ 1.22.3 and later, likely earlier too.

Exhibit:


$ cat ATTIC/simpler-letter.mm 
.WA
123 Main Street
Anytown, ST  10101
.WE
.IA
456 Elsewhere Avenue
Nirvana, PA  20406
.IE
.LT
.P
We have a research leak!
The next person I catch embedding engineering samples of our Lightspeed
Overdrive 2048-core processors in cork coasters distributed at trade
shows is going to regret it.
.FC
.SG
.NS
sundry careless people
.NE


At first, it appears that DWB 3.3 _mm_ didn't put vertical space before the
date when formatting such a letter.


$ DWBHOME=~/dwb ~/dwb/bin/nroff -mm ATTIC/simpler-letter.mm | cat -s

                                     123 Main Street
                                     Anytown, ST  10101
                                     October 26, 2024

       456 Elsewhere Avenue
       Nirvana, PA  20406

       We have a research leak!  The next person I catch embedding
       engineering samples of our Lightspeed Overdrive 2048-core
       processors in cork coasters distributed at trade shows is
       going to regret it.

                                     Yours very truly,

       Copy to
       sundry careless people



...but this is contradicted by [https://tkurtbond.github.io/troff/mm-all.pdf
an example in the DWB 3.3 manual (p. D-2, PDF p. 60)].

Checking DWB _troff_, rather than _nroff_, output is revealing.


$ DWBHOME=~/dwb ~/dwb/bin/troff -a -mm ATTIC/simpler-letter.mm | cat -s

 123 Main Street
 Anytown, ST 10101

 October 26, 2024

456 Elsewhere Avenue
Nirvana, PA 20406

We have a research leak! The next person I catch embedding engineering samples
of our Lightspeed
Overdrive 2048-core processors in cork coasters distributed at trade shows is
going to regret it.

 Yours very truly, 

\XINFO:[NOTATION LIST: CODE = , TYPE = Copy to] \XINFO:[NOTATION LIST:
<START>] Copy to
sundry careless people
\XINFO:[NOTATION LIST: <END>] 



(Heirloom Doctools _mm_ has some pretty bad regressions relative to DWB 3.3
and so I won't show its output.)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66380>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to