Jump to content

Keeping Lines with Head


DVezina

Recommended Posts

Posted

I'm wondering if anyone has found a solution to this problem. The requirement of the style sheet is to ALWAYS keep two lines with a head. This, of course, works using the widows and orphans property if the head is followed by a block of multiple lines. However, in my case, the head is followed by single line blocks.

<fo:block xsl:use-attribute-sets="title" keep-with-next.within-column="always">Configuring a Disk Drive</fo:block><fo:block>This is an intro paragraph.</fo:block><fo:block>This is a single line paragraph.</fo:block>

I must keep both lines with the head. I cannot use attributes on these blocks because they will not always be single lines. They may be large paragraphs. Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...