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 ==

Re: [Groff] conditional logic based on device?

2008-02-19 Thread Werner LEMBERG
> Is there a way I can mark up a certain chunk of groff code/markup so > that it's used only for a particular device but not for others? Clarke has already mentioned the `n' and `t' conditionals. If this distinction isn't fine enough, use the \*[.T] string register which holds the name of the ou