OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: 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>

  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>

  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.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]