Re: Nesting tables with tbl

2020-02-09 Thread Blake McBride
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.

Re: Nesting tables with tbl

2020-02-09 Thread Blake McBride
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

Re: Nesting tables with tbl

2020-02-09 Thread Ingo Schwarze
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

Re: Nesting tables with tbl

2020-02-09 Thread Ralph Corderoy
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

Re: Nesting tables with tbl

2020-02-09 Thread Blake McBride
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

Re: Nesting tables with tbl

2020-02-09 Thread Blake McBride
.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

Nesting tables with tbl

2020-02-09 Thread Blake McBride
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