This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] fo pagebreaks in refentries
- From: Brian McGurk <brian at corvil dot com>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 31 Oct 2003 12:19:33 +0000
- Subject: [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/.