[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] conditionals inside a table?
From: |
Mike Bianchi |
Subject: |
Re: [Groff] conditionals inside a table? |
Date: |
Thu, 4 Dec 2014 11:30:06 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
The issue is that tbl processes the entire file before groff sees it.
The data follow is typically
tbl <inputfile | groff ...
Can you express your column widths in en units?
>From tbl(1) ...
w,W Minimal column width value. Must be followed either by a
troff(1) width expression in parentheses or a unitless integer.
If no unit is given, en units are used. Also used as the
default line length for included text blocks. If used multiple
times to specify the width for a particular column, the last
entry takes effect.
On Thu, Dec 04, 2014 at 07:57:50AM -0800, Anton Shterenlikht 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
>
--
Mike Bianchi
Foveal Systems
973 822-2085
address@hidden
http://www.AutoAuditorium.com
http://www.FovealMounts.com