I customized the pi.dbfo-need template as you suggested and I'm OK with the 
results.

I see your point about FOP not handling vertical space well. However, there are 
times when dbfo-need comes in handy when trying to insert soft page breaks 
before informal elements. Given the vertical spacing problems, however, I'll 
only use it when it's absolutely necessary.

Regards,
Jeff

From: Bob Stayton [mailto:[email protected]]
Sent: Tuesday, March 27, 2012 4:54 PM
To: Jeff Powanda; [email protected]
Subject: Re: [docbook-apps] dbfo-need processing instruction and FOP 1.0

Hi Jeff,
The feature was turned off for FOP 1.0 as of 1.76.1 because it did not work as 
it should.  I last investigated this issue in July 2010:

http://lists.oasis-open.org/archives/docbook-apps/201007/msg00235.html

As described in that message, the issue was incorrect management of vertical 
space when using space-after.precendence="force".  If that property is now 
supported in FOP 1.0, then it should work. I don't have time to test this right 
now.   To turn it on for FOP 1, you will need to customize the template named 
"pi.dbfo-need" in fo/pi.xsl to remove the xsl:choose clause that excludes 
$fop1.extensions = 1.  I'll be curious to see what your results are.

Bob Stayton
Sagehill Enterprises
[email protected]<mailto:[email protected]>


----- Original Message -----
From: Jeff Powanda<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>
Sent: Tuesday, March 27, 2012 4:34 PM
Subject: [docbook-apps] dbfo-need processing instruction and FOP 1.0


Should I expect the dbfo-need processing instruction to work with DocBook 
1.76.1 NS stylesheets and FOP 1.0?

I previously used dbfo-need and it worked (somewhat) with FOP 1.0 and DocBook 
1.73.2. Now it doesn't seem to work at all.

Regards,
Jeff Powanda
Vocera Communications, Inc.

Reply via email to