← Prev in month ← Prev in thread

fo pagebreaks in refentries

From
Brian McGurk <>
Date
2003-10-31T12:17:06+00:00
ID
Thread
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
← Prev in month ← Prev in thread