atom feed7 messages in org.oasis-open.lists.docbook-appsDOCBOOK-APPS: Re: How to avoid pagebr...
FromSent OnAttachments
Steinar BangApr 22, 2002 3:09 am 
Steinar BangApr 22, 2002 4:50 am 
Steinar BangApr 22, 2002 5:10 am 
Steinar BangApr 22, 2002 6:13 am 
Steinar BangApr 22, 2002 6:46 am 
Steinar BangApr 22, 2002 11:37 am 
Steinar BangApr 23, 2002 12:59 am 
Subject:DOCBOOK-APPS: Re: How to avoid pagebreak between <section> title andbody?
From:Steinar Bang (sb@dod.no)
Date:Apr 23, 2002 12:59:20 am
List:org.oasis-open.lists.docbook-apps

Steinar Bang <sb@dod.no>:

[snip!]

The reason is because Fop appearently doesn't implement keep-*, yet...:-/ <http://marc.theaimsgroup.com/?t=100739618800017&r=1&w=2> <http://marc.theaimsgroup.com/?t=101895756600001&r=1&w=2>

Does anyone have a workaround that would work with DocBook XML and XSL?

The suggested workaround seems to be to wrap an invisible table around what you don't want separated. The only way I can see to accomplish this, would be to wrap an invisible table the FO resulting from some (not all) <section> elements in the XML source.

Way to complicated! I just put in <beginpage/> elements where Fop were breaking pages in the wrong place.

This is vulnerable to text changes, so I'll remove them when Fop starts supporting keep-*.

I had to put the following template into my local FO-producing style sheet, because there were no template for <beginpage>:

<xsl:template match="beginpage"> <fo:block break-after="page"/> </xsl:template>