This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: docbook fo - page breaks


> is there a way to customize the docbook fo stylesheets so 
> that page breaks are 
> enforced at certain <sect1> elements - e.g. for doctype 
> article, if less than 3 
> lines of text would be displayed on the page?
> 
> i know that i can set the break.before attribute in the 
> section.title.level1.properties attribute set, but this would 
> affect all sect1 
> elements.

As far as I know the FO stylesheets cannot see wether there'll be less than
three lines of text remaining on the page. It's the task of the FO processor
to portion the textflow onto certain pages.

Regards
Gisbert Amm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]