bugGNU roff - Bugs: bug #60611, [man] vertical spacing glitches...

 
 

bug #60611: [man] vertical spacing glitches when continuous rendering plus batch processing

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sun 16 May 2021 01:05:40 AM UTC
   
 
Category:  Macro package man Severity:  2 - Minor
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
   

Wed 19 May 2021 03:02:49 PM UTC, comment #1: 


commit ef2bca1e2f11e1d12fd5559edb39953550d4fa4c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu May 20 00:55:11 2021 +1000

    [man]: Fix other half of Savannah #60611.

    * tmac/an-old.tmac (an-bp): In continuous rendering mode, draw a
      horizontal line between a page footer of one man page document and the
      beginning of the next, but only if multiple documents are beign
      rendered.

      (initialization): Use variable to ensure we don't draw this line after
      finishing the only document we render.

    Fixes other half of <https://savannah.gnu.org/bugs/?60611>.

commit f6f1218b0408233124b7b63cd53aa529659e0901
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Thu May 20 00:50:01 2021 +1000

    [man]: Fix half of Savannah #60611.

    Fix stochastic vertical space loss problems in continuous rendering mode
    by being more scrupulous about extending the page length.  As noted in
    Savannah #60611, sometimes the vertical space between a header line and
    the first section heading ("Name") would be reduced or removed
    altogether, in a way that was highly sensitive to circumstances.  As far
    as I can tell, the problem is that this vertical space disappeared only
    when we were in double-secret probation no-space mode; this is the
    special non-spacing mode (not apparent with inspection of \n[.ns]) that
    happens when the internal stealth vertical position trap is sprung.
    This trap does not appear in .ptr output but can be disabled with ".vpt
    0", which is an alternative fix for this problem (because continuous
    rendering mode does not use vertical position traps at all).  Another
    fix might have been to simply call the moral equivalent of ".pl MAXINT"
    as soon as continuous rendering mode was decided upon.

    * tmac/an-old.tmac (an-header): In continuous rendering mode, extend the
      page length by one line before calling PT to output the page header,
      and afterwards, extend the page length by 3 vees and space by that
      amount (instead of half an inch).

    Fixes half of <https://savannah.gnu.org/bugs/?60611>.


G. Branden Robinson <gbranden>
Group administrator
Sun 16 May 2021 01:05:40 AM UTC, original submission:  

As I observed in bug #60609:


    When I batch-render our 62 man pages to the terminal, I do note one
    cosmetic regression: the lj4_font(5) page, when continuously rendered in
    batch processing, has no space between its header line and first section
    heading ("Name").  Another cosmetic issue in this scenario is that the
    footers for every rendered page but the last, which had (wrongly) been
    absent entirely, are set with no space after them and the header of the
    next.


Fix these.

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:
   

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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-19 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2021-05-19 gbranden StatusNone In Progress
        Assigned toNone gbranden

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code