[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] conditionals inside a table?
From: |
Denis M. Wilson |
Subject: |
Re: [Groff] conditionals inside a table? |
Date: |
Thu, 4 Dec 2014 17:22:25 +0000 |
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.
address@hidden@Nice
address@hidden
.TE
Denis
On Thu, 04 Dec 2014 07:57:50 -0800 (PST)
Anton Shterenlikht <address@hidden> wrote:
> 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.2i) lw(1i) lw(5i) lw(3i).
>
> However, it seems tbl doesn't understand this:
>
> tbl:wish.1:12: `.' not last character on line
> tbl:wish.1:12: giving up on this table
>
> Please advise
>
> Thanks
>
> Anton
>
--