Update of bug #67875 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.24.0
_______________________________________________________
Follow-up Comment #1:
commit 1e7688a7aa07a28ae1bdd2f489ae353a96787e5a
Author: G. Branden Robinson <[email protected]>
Date: Thu Jan 1 03:59:15 2026 -0600
[mm]: Fix Savannah #67875 (1/2).
* contrib/mm/m.tmac: Put a two-vee margin between the footnote area and
page footers. New register `ft*margin-below` stores this measurement,
which initalizes to zero because a page does not always bear
footnotes.
(hd@set-page): Compute `pg*foot-trap` using it, and report this
computation at appropriate debugging level.
(FE): Set `ft*margin-below` to 2v.
Fixes <https://savannah.gnu.org/bugs/?67875>.
However this change is insufficient, as there's no mechanism for
reducing this `ft*margin-below` back to zero on a subsequent page that
lacks footnotes. See next commit.
commit b1a6d6beefb4bf9a0bc31d0fdb3b5f2955be2e7c
Author: G. Branden Robinson <[email protected]>
Date: Thu Jan 1 04:37:59 2026 -0600
[mm]: Improve page bottom layout.
...and revise page layout computations.
* contrib/mm/m.tmac: Add new register `pg*below-text-gap` to track the
size of the gap we want below the text area regardless of any other
material that follows (footnotes, bottom blocks, secondary footers, or
primary footers). Initialize it to `1v` (stealing this amount from
`ft*margin-below` when it is nonzero).
(hd@set-page): Compute `pg*foot-trap` using it, and report this
computation at appropriate debugging level.
(FE): Reduce `ft*margin-below` to 1v.
(ft@check-old): When a footnote is _not_ still pending after a page
break, set `ft*margin-below` back to zero and update trap locations.
(pg@header): Revise computation to include `pg*below-text-gap`. If a
page is insufficiently long, report how much the package needs.
* tests/short-pages-do-not-overflow-stack.sh: Update test expectations.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67875>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/