[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fo page break via processing instruction?



Well, after several days of pretty heavy banging, I think I have a
version of the docbook-xsl fo stylesheets working fairly well with the
latest FOP release. Since FOP still has several nasty bugs, this has
taken some work, but I've had more success with it than with the
alternatives. 

The only thing that's still bugging me is poor widow/orphan control; I
have one document who's sect1/title comes just before a graphic and
the graphic gets bumped to the next page. The FO generated by the
stylesheet looks correct; I think FOP is just rendering it wrong. What
I was wondering is if, in these cases where there is just an incorrect
result, is there any way I can pass in a processing instruction in the
original docbook source to force (in this case) a page break and
rectify the situation?

What I'm hoping for is something like <?dbfo break-before="page"?> or
some such.

I see there is some support for dbfo processing instructions in the
stylesheet, and I've seen some very basic examples and syntax here and
there, but I've found very little in the way of hard documentation on
this.

Any help is appreciated.

-- 

Paul Reavis                                      preavis@partnersoft.com
Design Lead
Partner Software, Inc.                        http://www.partnersoft.com



Reply to: