[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] tables aren't breaking onto the next page
All the tables in my documents are <informaltable>, so the problem went away when I did the following:
1. Commented out the following. Not sure why it doesn’t work. <!-- This doesn't work with DocBook 1.72 and FOP 0.93, so informaltable.properties are defined below --> <!--<xsl:attribute-set name="informaltable.properties" --> <!-- xsl:use-attribute-sets="table.properties"/>-->
2. Added the following to specify attributes for informaltable.properties.
<xsl:template name="informaltable.properties">
<xsl:attribute name="space-before.minimum">4pt</xsl:attribute> <xsl:attribute name="space-before.optimum">8pt</xsl:attribute> <xsl:attribute name="space-before.maximum">12pt</xsl:attribute> <xsl:attribute name="space-after.minimum">6pt</xsl:attribute> <xsl:attribute name="space-after.optimum">12pt</xsl:attribute> <xsl:attribute name="space-after.maximum">18pt</xsl:attribute> <xsl:attribute name="keep-together.within-column">always</xsl:attribute> <xsl:attribute name="keep-together.within-page">always</xsl:attribute>
</xsl:template>
Now the tables break correctly onto the next page.
Regards, Jeff Powanda
From: Jeff Powanda [mailto:jpowanda@vocera.com]
When I output to PDF, long tables aren’t breaking onto the next page, but are running below the page margin. I’ve tried changing the keep together properties like this.
<xsl:template name="table.properties">
<xsl:attribute name="keep-together.within-column">auto</xsl:attribute> <xsl:attribute name="keep-together.within-page">auto</xsl:attribute>
</xsl:template>
<xsl:attribute-set name="informaltable.properties" xsl:use-attribute-sets="table.properties"/>
But that doesn’t work. How can I get long tables to break onto the next page?
I’m using DocBook XSL 1.72 and FOP 0.93.
Regards, Jeff
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]