[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #60624] [man] unnecessarily breaks after short TP tag at page bound
From: |
G. Branden Robinson |
Subject: |
[bug #60624] [man] unnecessarily breaks after short TP tag at page boundary |
Date: |
Mon, 14 Jun 2021 14:34:20 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #60624 (project groff):
Status: None => Fixed
Assigned to: None => gbranden
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #1:
commit 4e1dbb55dc805d8eb5f5bcfa8ab8cbe1059cb7fd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Jun 15 04:20:30 2021 +1000
[man]: Fix Savannah #60624.
[man]: Don't spuriously break a page after a paragraph tag when the tag
is short enough to fit within the paragraph's indentation.
* tmac/an-old.tmac (an-write-paragraph-tag): Reserve ("need") 2 vees
plus 1 basic unit of vertical space regardless of the width of the
tag. In the short tag case, we reverse space by one vee after
outputting the diversion in which the tag is stored, but it will
always contain a break, and by the time we reverse, we might have
already hit a page location trap (an-break-body-text), and by then
it's too late to back up.
Fixes <https://savannah.gnu.org/bugs/index.php?60624>.
commit 42ff1127bc4c1ea19482b7147f28238156e1269e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Tue Jun 15 04:00:38 2021 +1000
Add regression test for Savannah #60624.
* tmac/tests/an-old_no-break-after-short-paragraph-tags.sh: Test it.
* tmac/tmac.am (tmac_TESTS): Run test.
Test fails at this commit.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60624>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #60624] [man] unnecessarily breaks after short TP tag at page boundary,
G. Branden Robinson <=