Yes, though looking at it, it may be easier to update section.level1.properties which calls section.properties. That looks like a good place to add your 'specials'
HTH On 22 May 2017 at 10:46, Peter Fleck <peterfl...@gmail.com> wrote: > 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 <peterfl...@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-unsubscr...@lists.oasis-open.org >>> For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org >>> >> >> > -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org