For the first time ever I've encountered a situation where the removal
of environments would be a good thing, thus I'm going to implement it,
I think :-)
The snippet below has been taken from the forthcoming groff_hdtbl.man,
with minor simplifications. The main idea is to wrap the `.I' man
macro
> > With tbl? Interesting. Please give an example.
>
> From p.218 of their book:
Thanks. Well, this isn't what I would call `nested tables', because
they are defined serially. hdtbl really supports nesting like this:
.TBL cols=2
. TR
.TD
. nop 1*1
.TD
. nop 1*2
> . nr env-count 0 1
> .
> . de CI
> .ev e-\\n+[env-count]
> .nop \&\\$*
> .nr have-int \\n[.int]
> .ev
> .fam C
> .ie \\n[have-int] \{\
> . I \&\\$*
> . fam
> .\}
> .el \
> . I \&\\$*\F[]
> ..
This seems to screw up for very long arguments. I gues
> > . nr env-count 0 1
> > .
> > . de CI
> > .ev e-\\n+[env-count]
> > .nop \&\\$*
> > .nr have-int \\n[.int]
> > .ev
> > .fam C
> > .ie \\n[have-int] \{\
> > . I \&\\$*
> > . fam
> > .\}
> > .el \
> > . I \&\\$*\F[]
> > ..
>
> This seems to screw u
> Excellent! This is *very* nice.
Ah, well, long time ago I had the same problem with the
large spaces after text set in Courier, and that's how I
solved it. (I use font positions instead of families,
but the behavior is essentially the same.)
One feature the macro doesn't implement is that
in