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:[EMAIL PROTECTED] 
Sent: Thursday, April 05, 2007 6:52 PM
To: [email protected]
Subject: [docbook-apps] tables aren't breaking onto the next page

 

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

 

Reply via email to