bugGNU roff - Bugs: bug #63695, [mm] omits vertical space after...


bug #63695: [mm] omits vertical space after salutation in LT letters

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 23 Jan 2023 10:44:04 PM UTC
Category:  Macro mm Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Mon 23 Jan 2023 10:52:15 PM UTC, comment #1: 


Even though there's no salutation in type SP, there is a similar problem: the first paragraph directly follows the inside address with no vertical space.

My guess is that both birds can be killed with one stone.

G. Branden Robinson <gbranden>
Project Administrator
Mon 23 Jan 2023 10:44:04 PM UTC, original submission:  

Input (from DWB 3.3 mm manual, with slight modifications):

.if \nT=1 .ds Ty BL\"
.if \nT=2 .ds Ty SB\"
.if \nT=3 .ds Ty FB\"
.if \nT=4 .ds Ty SP\"
.ND "April 1, 1990"
.WA "S. P. Lename" "Manager, Product Sales"
SoftPackers, Inc.
25 Bubble Sheet Road
Columbia, Maryland  21046
.IA "J. J. Jones" "Purchasing Supervisor"
Getem Electronics, Inc.
9 Circuit Lane
St. Louis, Missouri  63101
.LO SA "Dear Mr. Jones,"
.LT \*(Ty
Thank you for your interest in Softpackers' new
EnviroPack\*(Tm packaging sheets.
I am sure you will find that EnviroPack offers many advantages
over other commercially available packaging materials:
EnviroPack is of a lighter-weight material,
thereby reducing shipping costs.
EnviroPack is less expensive than standard bubble sheets or
styrofoam chips.
EnviroPack is made of a completely biodegradable
compound so it is environmentally sound,
an important factor
in a world where environmental issues are of great concern.
We expect this product to enjoy great success and we are
delighted that you will be among the first to try it.
The attached brochure provides additional product information.
You will receive your trial shipment in one week.
If you do not receive this shipment or are not pleased
with the product,
please contact me at 201-567-9876.
.NS 3

DWB 3.3 mm consistently puts a blank line after the salutation in all letter types where a salutation is present (all but SP).

groff mm does not.  It should.

I won't show output here as it is repetitious, but you can use

for N in 1 2 3 4; do nroff -rT$N -mm ATTIC/sample-letter-LT.mm > LT-$N.txt; done

to observe it.

(Heirloom Doctools mm behaves badly with all letter types and is not useful for comparison.  DWB screws up interpolation of the `Tm` string, and the line length for letter type BL seems to be too long, but otherwise produces plausible output.  My guess is that nroff output was not tested often or well.)

G. Branden Robinson <gbranden>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.11