Update of bug #61402 (project groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.23.0
_______________________________________________________
Follow-up Comment #1:
commit 2a9135c7146e121a07a8c63a9f74dfc60e04f98d
Author: G. Branden Robinson <[email protected]>
Date: Sat Oct 30 14:02:11 2021 +1100
[man]: Handle degenerate input quietly.
* tmac/an.tmac (TH): Define new register `an-TH-was-called`.
(an-end): Return immediately if that register is not defined; to
format the default page footer we must have the information declared
in a valid `TH` call. (`TH` also initializes the type size and
baseline spacing registers we use to prepare the page footer
environment.) If the register _is_ defined, remove it just prior to
the end of this macro definition, in preparation for next page to be
rendered.
* tmac/tests/an_handle-degenerate-input-quietly.sh: Test it.
Fixes <https://savannah.gnu.org/bugs/61402>, a regression from groff
1.22.4 (problem introduced by me in the course of many changes to trap
management and header/footer handling to work nicely in batch rendering
with -mandoc and mdoc(7) documents).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61402>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/