List Info

Thread: tables aren't breaking onto the next page




tables aren't breaking onto the next page
user name
2007-04-05 20:51:31

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">

 

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-page&quot;>auto</xsl:attribute>

 &nbsp; &nbsp;   

</xsl:template>

 

<xsl:attribute-set name="informaltable.properties&quot;

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  xsl:use-attribute-sets="table.properties"/>

 

But that doesn̵7;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

 

Re: tables aren't breaking onto the next page
user name
2007-04-10 02:17:03
As near as I can tell this seems to be a problem with FOP.  I have seen tables go off the top of pages, off the bottom, and overwrite paragraphs that follow.&nbsp; I think there are bugs in allocating space for a formatted table.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
sagehill.net">bobssagehill.net
&nbsp;
 ;
----- Original Message -----
Sent: Thursday, April 05, 2007 5:51 PM
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">

 

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-page">auto</xsl:attribute>

 &nbsp; &nbsp;   

</xsl:template>

 

<xsl:attribute-set name="informaltable.properties"

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  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

 

AW: tables aren't breaking onto the next page
user name
2007-04-10 05:19:59

For me the following worked.

 

 &nbsp; &nbsp; &nbsp; &nbsp;   ; <!--break tables!-->

 &nbsp; &nbsp; &nbsp; &nbsp;   ; <xsl:attribute-set name=&quot;table.properties&quot;>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;  <xsl:attribute name="keep-together.within-column"&gt;auto</xsl:attribute>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ;  <xsl:attribute name="keep-with-next">always</xsl:attribute>

 &nbsp; &nbsp; &nbsp; &nbsp;   ; </xsl:attribute-set>

 

Hinrich

 


Von: Jeff Powanda [mailto:jpowandavocera.com]
Gesendet: Friday, April 06, 2007 3:52 AM
An: docbook-appslists.oasis-open.org
Betreff: [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">

 

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-page&quot;>auto</xsl:attribute>

 &nbsp; &nbsp;   

</xsl:template>

 

<xsl:attribute-set name="informaltable.properties&quot;

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  xsl:use-attribute-sets="table.properties"/>

 

But that doesn̵7;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

 

RE: tables aren't breaking onto the next page
user name
2007-04-30 14:13:45

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̵7;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" -->

<!--&nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   xsl:use-attribute-sets=&quot;table.properties&quot;/>-->

 

2. Added the following to specify attributes for informaltable.properties.

 

 

<xsl:template name="informaltable.properties&quot;>

 

 &nbsp; &nbsp;  <xsl:attribute name="space-before.minimum">4pt</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="space-before.optimum">8pt</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="space-before.maximum">12pt</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="space-after.minimum">6pt</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="space-after.optimum">12pt</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="space-after.maximum">18pt</xsl:attribute> &nbsp; 

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-page&quot;>always</xsl:attribute>

 &nbsp; &nbsp;   

</xsl:template>

 

Now the tables break correctly onto the next page.

 

Regards,

Jeff Powanda

 


From: Jeff Powanda [mailto:jpowandavocera.com]
Sent: Thursday, April 05, 2007 6:52 PM
To: docbook-appslists.oasis-open.org
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">

 

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute>

 &nbsp; &nbsp;  <xsl:attribute name="keep-together.within-page&quot;>auto</xsl:attribute>

 &nbsp; &nbsp;   

</xsl:template>

 

<xsl:attribute-set name="informaltable.properties&quot;

 &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  xsl:use-attribute-sets="table.properties"/>

 

But that doesn̵7;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

 

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )