find the section template.
Add break-before='page' to a custom template
based on that. Refine selection further if needed?

regards

On 22 May 2017 at 07:48, Peter Fleck <[email protected]> wrote:
> Hi,
>
> How do you stop section titles being at the bottom of a print page when
> there is as subtitle? ie. If there isn't space for at least one or two lines
> for the following paragraph the section title moves to the following page.
>
> Here's the xml:
>
> <section>
>  <info>
>     <title>The Title</title>
>     <subtitle>The Subtitle</subtitle>
> </info>
>  <para>....
>
> So at the bottom of the page is the <title> followed by the <subtitle> and
> then the <para> starts on a new page.
>
> I'm using 1.79.2 with Apache FOP 2.2.
>
> I know I can use <?dbfo-need height="..." ?> but would rather not have to
> put it in XML if there is an XSL solution.
>
> Thanks,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to