This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] how to force chapters to the next odd page?
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: docbook apps list <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 15 May 2003 16:57:25 -0400 (EDT)
- Subject: [docbook-apps] how to force chapters to the next odd page?
i recall from bob stayton's online stylesheet book that
to force a section 1 to the next page (PDF) consisted of the
following customization:
<xsl:attribute-set name="section.title.level1.properties">
<xsl:attribute name="break-before">page</xsl:attribute>
</xsl:attribute-set>
based on this, my first *wild* guess as to how force chapters
to the next *odd* page would have been (after having consulted
my o'reilly XSL-FO book for the FO part of it):
<xsl:attribute-set name="chapter.title.properties">
<xsl:attribute name="break-before">odd-page</xsl:attribute>
</xsl:attribute-set>
not surprisingly, it didn't work since i was just guessing
at the attribute-set that would do this. how would one
dig through the stylesheets to solve this sort of thing?
that is, sure, i'll take the answer, but i'm also keen on
being able to go to the definitions of the templates and
figure out what i need there as well and, from what i've
read thus far, chapters are a fairly different beast from
sections so it's not as easy as i thought. dang.
rday
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org