[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Section titles bottom of a print page when there is as subtitle
Sorry Dave, I'm struggling.You mean <xsl:template match="d:section"> in this stylesheet - http://cdn.docbook.org/release/xsl/current/fo/sections.xsl ?
Thanks, Peter On 22/05/17 09:10, Dave Pawson wrote:
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 <peterfleck@gmail.com> 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: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]