(Ted Harding) <[EMAIL PROTECTED]> wrote:
> I don't see any way of working round this, given the way
> 'tbl' works,
The content of T{ T} is evaluated only once.
Gunnar
On 20-Feb-08 17:59:22, Denis M. Wilson wrote:
> I've often used these registers in tables. Re-initialising the
> register inside the table works for me. Ted's example comes out
> right as follows:
>
>
> \#.LP
> .nr EQno 0 1
> .TS
> tab(#);
> l l.
> .nr EQno 0 1
> \n+[EQno]#\n+[EQno]
> .TE
>
> De
I've often used these registers in tables. Re-initialising the
register inside the table works for me. Ted's example comes out
right as follows:
\#.LP
.nr EQno 0 1
.TS
tab(#);
l l.
.nr EQno 0 1
\n+[EQno]#\n+[EQno]
.TE
Denis M. Wilson
> Do not use auto-incrementing number registers in tables!!
I would be glad if you could provide something for tbl.man, section
BUGS.
Werner
Hi Folks,
I have just stumbled on a nasty little trap.
Do not use auto-incrementing number registers in tables!!
Example (two versions):
A:
.nr EQno 0 1
.LP
\n+[EQno] \n+[EQno]
Output:
1 2
===
B:
.nr EQno 0 1
.LP
.TS
tab(#);
l l.
\n+[EQno]#\n+[EQno]
.TE
Output:
3 4
==