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: fo pagebreaks in refentries



Hi,

I have an API description in docbook, where each function is a
refentry. The problem is that the transformation to fo puts a page
break before each function. Is there an easy way to stop this? I had a
look in xsl-stylesheets/fo/refentry.xsl and found the following:
  <xsl:choose>
    <xsl:when test="not(parent::*) or parent::reference or parent::part">
      <!-- make a page sequence -->
      <!-- ... other stuff ... -->
    </xsl:when>
    <xsl:otherwise>
      <fo:block break-before="page">
        <xsl:copy-of select="$refentry.content"/>
      </fo:block>
    </xsl:otherwise>
  </xsl:choose>
but I'm very new to XSLT and docbook and don't know how to override
that or whether doing so is wise. I'm using xsltproc.

Any help would be appreciated.

Brian McGurk


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