[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61597] [tbl] support "0" modifier for "|" column classifier
From: |
G. Branden Robinson |
Subject: |
[bug #61597] [tbl] support "0" modifier for "|" column classifier |
Date: |
Thu, 16 Mar 2023 17:26:20 -0400 (EDT) |
Follow-up Comment #6, bug #61597 (project groff):
As part of this we should decide upon and document the semantics of combining
the | classifier (with and without the "0" modifier) when it interacts with
manually-specified column widths.
Consider the following input.
$ cat ATTIC/specbox.roff
.nf
1234567890123456789012345678901234567890123456789012345678901234567890
.TS
tab(@);
Lw10 Lw10.
WWWWWWWWWW@XXXXXXXXXX
.TE
.sp
.TS
tab(@);
Lw10 0 Lw10.
YYYYYYYYYY@ZZZZZZZZZZ
.TE
.sp
.TS
tab(@);
Lw10 |0 Lw10.
one@two
.TE
.sp
.TS
tab(@) allbox;
Cw(2.5i) | Cw(2.5i)
Lw(2.5i) | Lw(2.5i).
Make@Model
Gibson@Les Paul
Fender@Stratocaster
.TE
.pl \n(nlu
And observe the output.
$ ./build/test-groff -t -Tascii ATTIC/specbox.roff
1234567890123456789012345678901234567890123456789012345678901234567890
WWWWWWWWWW XXXXXXXXXX
YYYYYYYYYYZZZZZZZZZZ
|
one two
+---------------------------+---------------------------+
| Make | Model |
+---------------------------+---------------------------+
| Gibson | Les Paul |
+---------------------------+---------------------------+
| Fender | Stratocaster |
+---------------------------+---------------------------+
(This is from my working copy, but groff 1.22.4 produces the same output
except for bug #63449, which hides the vertical space that should be
observable above the "one two" table, and commit
[https://git.savannah.gnu.org/cgit/groff.git/commit/?id=8f066786ea3cb5e1dbade1149e7d50ae978da202
8f066786ea].)
The issue to note here is that the "t" in "two" overprints the vertical rule
between columns. That's ugly.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61597>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #61597] [tbl] support "0" modifier for "|" column classifier,
G. Branden Robinson <=