[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60611] [man] vertical spacing glitches when continuous rendering p
From: |
G. Branden Robinson |
Subject: |
[bug #60611] [man] vertical spacing glitches when continuous rendering plus batch processing |
Date: |
Wed, 19 May 2021 11:02:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #60611 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up 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>.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60611>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/