[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] tables in a macro
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] tables in a macro |
Date: |
Tue, 13 Jun 2006 15:45:58 +0200 (CEST) |
> However I want to have a variable parameter list. At maximum I can
> have up to 10 parameters. Each parameter opens a new row. If the
> Parameter is empty the do not open a new row.
>
> The following didn't work. Seems I am missing something
>
> .eo
> .de ATABLE ..
> .TS
> allbox tab(;);
> cl.
> Text1;\$1
> .if !'\$2'' Text2;\$2
> .TE
> ...
> .ec
> .ATABLE A table
> .ATABLE Another table abc
>
> The 'Text2;\2' is printed but it is not within the table. It seems
> that the semicolon is not recognized.
Lines starting with a `.' are ignored by tbl, and tbl itself doesn't
provide conditionals.
Werner