Update of bug #61477 (project groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.23.0                 
                 Summary: [tbl] "nowarn" should suppress "table row will not
fit warning" as well => [tbl] "nowarn" should suppress "table row will not
fit" warning as well

    _______________________________________________________

Follow-up Comment #4:


commit 45aeaeb06899b21e5615aa910c3d58ac4e728ea7
Author: G. Branden Robinson <[email protected]>
Date:   Mon Nov 15 17:10:18 2021 +1100

    [tbl]: If "nowarn", suppress table row warning.
    
    * src/preproc/tbl/table.cpp (table::init_output): Bracket the generated
      groff code that emits a warning if a table row overruns a page
      location trap (usually, is too long to vertically fit on the page) in
      a test for whether the "nowarn" region option was given, so that this
      warning is suppressed as well when that option is used.
    * src/preproc/tbl/tbl.1.man (Region options): Document new "nowarn"
      behavior.
    
    ("nokeep" also suppresses this warning, for a different reason; no
    diversion is created to hold the table row, so its vertical size does
    not exist to be compared to the distance to the next page trap.)
    
    Fixes <https://savannah.gnu.org/bugs/?61477>.
    
    You can generate a document to test with the following.
    
    (printf '.TS\nL.\nT{\n.nf\n'; seq 1 71; printf 'T}\n.TE\n') > foo.roff


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61477>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to