Hi Ingo,
Thanks for the input!!
I'm not sure this works for me. Since I am using groff/tbl to produce
computer reports, there could actually be 1,000 lines in the table! So I
can't specify the format for each line upfront.
In my case, there can be zero or more (could be 50) of col6 col7 rows.
Thanks for the great ideas!
What I did for this instance is to put the sub-table inside one of the
top-level tables. It's not a general solution but sufficient for my needs
in this instance.
Incidentally, as I think I mentioned before, I use groff with tbl to
produce computer reports. It's far
Hi Blake,
Blake McBride wrote on Sun, Feb 09, 2020 at 01:50:01PM -0600:
> I have a need to nest tables as follows:
I'm reducing the number of columns (no col5 nor col8)
and lines to make the example code smaller:
> col1 col2 col3 col4
>col6 col7
>col6 col7
> co
Hi Blake,
> Any ideas?
tbl(1) is a preprocessor that looks for .TS to .TE pairs.
It doesn't handle nested pairs.
Do you definitely need tbl(1)? Tabs are quite useful.
See
info groff 'gtroff Reference' 'Tabs and Fields' | less
Could mulitple tables with no vertical gap between them suffice
Actually, .T& is not doing it. It seems to want to align the .T& columns
within the same format as the original. What I mean is that if the first
column in the first format is 2 inches wide, the first column in the second
format is forced to 2 inches wide. So, the .T& is not a totally new format
.T& seems to do it!
On Sun, Feb 9, 2020 at 1:50 PM Blake McBride wrote:
> Greetings,
>
> I have a need to nest tables as follows:
>
> col1 col2 col3 col4 col5
>col6 col7 col8
>col6 col7 col8
>col6 col7 col8
>col6 col7 col8
> col
Greetings,
I have a need to nest tables as follows:
col1 col2 col3 col4 col5
col6 col7 col8
col6 col7 col8
col6 col7 col8
col6 col7 col8
col1 col2 col3 col4 col5
col6 col7 col8
col6 col7 col8
col1