Hi Branden,

On 2024-04-23 01:10, G. Branden Robinson wrote:

> Hi Jan,
> 
> At 2024-04-23T07:28:41+0200, Jan Eden wrote:
> > enclosing a table in a box avoids page breaks within the table
> > reliably for me – is it possible to get the same behaviour without the
> > box?
> 
> Yes.  This is what "keep" macros are for, assuming the macro package
> you're using offers those (all full-service packages except those for
> man pages[1] do).
> 
> Hmm, your recent questions about mm suggest to me that that's the
> package you're using, and our groff_mm(7) page does not employ the word
> "keep".
> 
> However, mm's display macros can serve this purpose and §7.3 of the DWB
> 3.3 mm manual mentions this fact.

Sorry for failing to mention that I use the tbl preprocessor, which only
has a `nokeep` option described as follows:

"Don't use roff diversions to manage page breaks. Normally, tbl employs
them to avoid breaking a page within a table row. This usage can
sometimes interact badly with macro packages' own use of diversions—when
footnotes, for example, are employed. This is a GNU extension."

With tbl's `box` option –

.TS
box;
.\" further table config and content
.TE

– the tables are typeset exactly as intended, but without boxes, some
tables are cut in half by a page break.

- Jan

Attachment: signature.asc
Description: PGP signature

Reply via email to