bug-groff
[Top][All Lists]
Advanced

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

[bug #61854] [tbl] tables lacking 'x' column modifier don't get table wi


From: G. Branden Robinson
Subject: [bug #61854] [tbl] tables lacking 'x' column modifier don't get table width warnings
Date: Wed, 19 Jan 2022 07:26:23 -0500 (EST)
User-agent: Lynx/2.8.9rel.1 libwww-FM/2.14 SSL-MM/1.4.1 GNUTLS/3.6.7

Update of bug #61854 (project groff):

                Category:  Macro - others/general => Macro ms               
                Severity:                1 - Wish => 3 - Normal             
              Item Group:          Feature change => Incorrect behaviour    
                  Status:               Need Info => Confirmed              
                 Summary: TE macro implementations should check TW register =>
[tbl] tables lacking 'x' column modifier don't get table width warnings

    _______________________________________________________

Follow-up Comment #2:

I found the problem; it's a _tbl_ bug.

The 'x' column modifier should not be necessary to enable
warnings about a table being too wide.

In the following exhibit, both tables should warn because they
overrun the line length by 1n.  But only the second one, using
the 'x' modifier, actually does.

groff 1.22.4 and Git HEAD both show this behavior.  There are
cosmetic differences in diagnostics.


$ cat EXPERIMENTS/wide-table.ms
.nr LL 10n
.TS
L.
12345678901
.TE
.
.TS
Lx.
12345678901
.TE
$ groff -Tutf8 -z -t -ms EXPERIMENTS/wide-table.ms
warning: file 'EXPERIMENTS/wide-table.ms', around line 9:
  table wider than line width
$ ./build/test-groff -Tutf8 -z -t -ms EXPERIMENTS/wide-table.ms 
EXPERIMENTS/wide-table.ms: around line 9: warning: table wider than line
width



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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