groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Groff] floating keeps and tbl usage


From: Konovalov, Vadim
Subject: RE: [Groff] floating keeps and tbl usage
Date: Thu, 7 Sep 2000 17:31:19 +0400

> > From: Steckl, A. David [mailto:address@hidden
> > Is there anyway to use a floating keep on groups of rows 
> > within a table?
> > This is a problem for me as I have a multi-page table which 
> > has groupings
> > which need to be intact. If you could refer me to any 
> > resources or answer
> > this query I'd really appreciate it. Thanks.
> 
> I will suggest adding extra fake empty cells vertically 
> spanned near needed
> cells, so they will be forced to be on one page, because TBL 
> do not breaks
> cells.
> There will be some extra work to make them to be not seen on 
> paper. For
> example, if table was rounded by box, there should be that 
> box removed and
> drawn by inserting "_", "|" in appropriate places.
> We did so in our department a couple of years ago.
> 
> OTOH I think such tables transformation may be written in 
> Perl, based on my
> existings scripts working with tables.

After thinking some more I've found that fake cells may be absolutely
0-width, look at the following example to get the idea:

.TS
allbox;
cclzw(-6000u)
cc^
cc^
cc^
ccl
cc^
cc^
cc^
cc^
cc^.
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
1       2
3       4
.TE

Note negative width specified in last column to return back.
Here is vertically spanned fake cells, and no need to manually draw boxes
with "|" and "_" around table.

<!ENTITY Vadim REALLIFE "Vadim V.Konovalov, St.Petersburg, Russia">
&Vadim;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]