[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Tables in .ig/.. blocks not ignored
From: |
Clarke Echols |
Subject: |
Re: [Groff] Tables in .ig/.. blocks not ignored |
Date: |
Wed, 26 Jul 2006 22:20:20 -0600 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
Sounds like a bug in tbl. It's looking at .TS and .TE, but not
catching .ig requests. I've never used classic troff that way, so
I don't know how it handles such a construct.
Adding a .\" in front of the .TS as in
.\".TS
should do the job. With no .TS, tbl probably ignores the .TE.
Not the cleanest, but should work.
The right answer is to teach tbl to recognize .ig.
Clarke
Larry Kollar wrote:
Tables that *should* be commented out using the .ig / .. construct still
appear in the output. I first noticed this in 1.19.2, but it also appears in the
CVS.
Here's an example file:
.\" ---------------- start ------------------
.LP
The following table should be seen:
.TS
allbox;
cb cb
n l .
Value Description
1 enable line 1
2 enable line 2
3 enable both lines
.TE
.LP
But this table should
.I not
be seen:
.ig
.TS
allbox;
cb cb
n l .
Value Description
0 Disable all lines.
1 Enable line 1.
2 Enable line 2.
4 Enable line 3.
8 Enable line 4.
.TE
..
.LP
And that's all.
.\" ---------------- end ------------------
-- Larry
_______________________________________________
Groff mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/groff