[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] page break before section heading on level 1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Hinrich, I added this template to my customization layer (for docbook 4.4): <xsl:template match="sect1"> <xsl:choose> <xsl:when test="((parent::chapter) or (parent::appendix))and not(preceding-sibling::sect1)"> <fo:block break-before="page"> <xsl:apply-imports /> </fo:block> </xsl:when> <xsl:otherwise> <xsl:apply-imports /> </xsl:otherwise> </xsl:choose> </xsl:template> It works for me to get the first headline of a chapter on an extra page. You can change or remove the choose statement. Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFvfVDirQ0Ts08AdMRAuegAJ4snvHE4qOD+svWH6RyIZ5bbD12+gCgk1wk KjoU/Yn0+t00c4UbMio5yPc= =OxXd -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]