This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]