groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] A trap with 'tbl'!


From: Heinz-Jürgen Oertel
Subject: Re: [Groff] A trap with 'tbl'!
Date: Sat, 30 Jul 2011 08:08:55 +0200
User-agent: KMail/1.13.7 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.5; i686; ; )

Am Samstag 30 Juli 2011 schrieb Deri James:

> I think this could be because tbl needs to know the max width of each column 
> before starting to output, so when considering the first column it will have 
> to 
> examine the width of \*[lmn] foreach row that you use it on. So these six 
> accesses to get the width trigger the increment before it starts to output 
> the 
> first row.

Hello,
this is my assumption as well.
As a work around in such cases, we define the number register in the first row.

.ds lmn \Z'\v'-1.5m'\h'-\w'\\n+[lmno]\0\0\0\0\0'u'\\n[lmno]'
.TS H
expand tab(#);
ce cw(2.0i) ce.
Name (in Capitals)#Address#Signature
_
.TH
.T&
|l |l |l|.
.nr lmno -0 1
\*[lmn]
_
\*[lmn]
_
\*[lmn]
_
\*[lmn]
_
\*[lmn]
\*[lmn]
_
.TE

regards
   Heinz



reply via email to

[Prev in Thread] Current Thread [Next in Thread]