bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61402] [man] handles degenerate input poorly


From: G. Branden Robinson
Subject: [bug #61402] [man] handles degenerate input poorly
Date: Sat, 30 Oct 2021 19:44:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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 <g.branden.robinson@gmail.com>
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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]