[rfc-i] use cases for page breaking hints, Re: Update on the plain text thread(s)

"Martin J. Dürst" duerst at it.aoyama.ac.jp
Sat Jun 28 04:41:02 PDT 2014



On 2014/06/27 23:32, John Levine wrote:
> In article <53AD62D2.9000009 at gmx.de> you write:
>> On 2014-06-27 14:12, Dearlove, Christopher (UK) wrote:
>>> Does the current version allow breaking tables with heading rows repeated, but only at certain points, and
>> keeping two independent things, of any types, together on one page?
>>
>> No.
>
> You can do running heads with "running" elements, although it appears
> you have to duplicate the text you want to put into the header in a
> paragraph in a class that will be moved to the page header or footer.
> There's some examples here:
>
> http://www.w3.org/TR/css3-gcpm/#running-elements
>
> To keep text together, there's "page-break-inside: avoid".

There's also "page-break-before: avoid" and "page-break-after: avoid", 
which amounts to the "keep together" in other software.

Unfortunately, the old Opera rendering engine (Presto) is the only one 
that currently does this reasonably well :-(.

Regards,   Martin.

> I'd think it wouldn't be too hard to add an attribute to <preamble> to
> say that it would be nice to repeat its contents if the figure or table
> spills across a printed page boundary.  In antique (but very useful) tools
> like tbl, there's a tag that says to do that.
>
> R's,
> John
> _______________________________________________
> rfc-interest mailing list
> rfc-interest at rfc-editor.org
> https://www.rfc-editor.org/mailman/listinfo/rfc-interest
>


More information about the rfc-interest mailing list