bugGNU roff - Bugs: bug #61380, [man] type size and vertical...

 
 

bug #61380: [man] type size and vertical spacing not reset before TP paragraphs

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 25 Oct 2021 09:45:17 AM UTC
   
 
Category:  Macro man Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Oct 2021 11:37:17 AM UTC, comment #2: 


commit cf1824eda38a39d196877386f849f62b32fea042
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Mon Oct 25 20:50:54 2021 +1100

    [man]: Fix Savannah #61380.

    * tmac/an.tmac (TP): Reset type size, vertical spacing, and font to
      defaults before setting the new paragraph.

    Fixes <https://savannah.gnu.org/bugs/?61380>.


G. Branden Robinson <gbranden>
Group administrator
Mon 25 Oct 2021 09:47:49 AM UTC, comment #1: 

The font is not reset, either.

G. Branden Robinson <gbranden>
Group administrator
Mon 25 Oct 2021 09:45:17 AM UTC, original submission:  

Input:


.TH typesize 1 "groff test suite" 2021-10-25
.SH Name
typesize \- provoke type size and line spacing reset problem in groff
.SH Description
Foo.
.ps -4
.vs +22
.TP
tag
Bar.


Format with `groff -Tps -man`.  Problem present in groff 1.22.4 and probably goes back quite a ways.

The .P (.LP, .PP) and .IP macros don't exhibit this problem.

Attaching screenshot.

G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-26 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
        Summary[man]: type size and vertical spacing not reset before TP paragraphs [man] type size and vertical spacing not reset before TP paragraphs
    2021-10-25 gbranden Attached File- Added TP-macro-does-not-reset-ps-and-vs.png, #52151

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code