[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] FOP/PDF: How to keep section title together with following paragraph?
Hi Bob, thank you for your feedback! I am using a customization layer, but the problem also exists without it. Since you could not reproduce it and seemed to use the same tools except for - I assumed - Saxon, I did the following: - I tried xsltproc and did not see the problem any more myself. - I tried Saxon 22.214.171.124 and 126.96.36.199 and saw the problem in both cases. - I tried Saxon 6.5.5 and could not reproduce the problem any more. So it looks like this is a problem with Saxon 9. Since I prefer to stick to a 100% Java tool chain, I downgraded to Saxon 6.5.5 for now. Best regards, Stefan Bob Stayton, 23.02.14, 23:36h CET: > Hi Stefan, > That should already work. The default 'section.title.properties' > attribute-set in fo/param.xsl includes: > > <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> > > I just tested it with FOP 1.1 and the stock DocBook XSL 1.78.1 > stylesheets, and it does keep the section title with the first para. > > Are you using a customization layer? > > Bob Stayton > Sagehill Enterprises > email@example.com