Re: [Groff] WARNING: tbl with auto-incrementing registers!

2008-02-20 Thread Gunnar Ritter
(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

Re: [Groff] WARNING: tbl with auto-incrementing registers!

2008-02-20 Thread Ted Harding
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

Re: [Groff] WARNING: tbl with auto-incrementing registers!

2008-02-20 Thread Denis M. Wilson
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

Re: [Groff] WARNING: tbl with auto-incrementing registers!

2008-02-19 Thread Werner LEMBERG
> Do not use auto-incrementing number registers in tables!! I would be glad if you could provide something for tbl.man, section BUGS. Werner

[Groff] WARNING: tbl with auto-incrementing registers!

2008-02-19 Thread Ted Harding
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 ==