bug-groff
[Top][All Lists]
Advanced

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

[bug #61477] [tbl] "nowarn" should suppress "table row will not fit" war


From: G. Branden Robinson
Subject: [bug #61477] [tbl] "nowarn" should suppress "table row will not fit" warning as well
Date: Sat, 20 Nov 2021 05:23:56 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

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