Re: [Groff] conditionals inside a table?

2014-12-04 Thread Denis M. Wilson
The following method works ( give an example): .sp 1i .ie n .nr w1 2i .el .nr w1 .5i .TS tab(@); lw(\n[w1]u) l l. Hello@World@Nice Day@Today .TE Denis On Thu, 04 Dec 2014 07:57:50 -0800 (PST) Anton Shterenlikht wrote: > I want to make a document that can give good > ascii and Postscript result

Re: [Groff] conditionals inside a table?

2014-12-04 Thread Ted Harding
And I would add to this that 'tbl' does not interpret troff requests (if it sees any in the 'tbl' contents, after the initial formatting setup, then it simply passes them through to the next link in the chain). In fact, what 'tbl' does not like in Anton's attempt at .ie/.el is the fact that it int

Re: [Groff] conditionals inside a table?

2014-12-04 Thread Carsten Kunze
> I want to make a document that can give good > ascii and Postscript results. I found that I need > to adjust the formating of tables. I'm trying to > to this with .ie/.el like this: > >10 .TS H >11 expand,center; >12 .ie t lw(0.5i) lw(0.01i) lw(0.5i) lw(2.5i) lw(1.4i). >13

Re: [Groff] conditionals inside a table?

2014-12-04 Thread Mike Bianchi
The issue is that tbl processes the entire file before groff sees it. The data follow is typically tbl From tbl(1) ... w,WMinimal column width value. Must be followed either by a troff(1) width expression in parentheses or a unitless integer. If

[Groff] conditionals inside a table?

2014-12-04 Thread Anton Shterenlikht
I want to make a document that can give good ascii and Postscript results. I found that I need to adjust the formating of tables. I'm trying to to this with .ie/.el like this: 10 .TS H 11 expand,center; 12 .ie t lw(0.5i) lw(0.01i) lw(0.5i) lw(2.5i) lw(1.4i). 13 .el lw(1i) lw(0.