Re: [docbook-apps] table vertical spans and page breaks

From
Bob Stayton <>
Date
2008-11-11T18:30:47+00:00
ID
008801c9442b$8168c7a0$6a00a8c0@pazu
Thread
Re: [docbook-apps] table vertical spans and page breaks
OK, I checked this out, and it seems that FOP 0.95 knows how to keep an 
ordinary table cell together, but it does not know how to keep a cell 
together if it spans down to additional rows.  That should probably be 
reported as a bug on FOP, because it should work for spanned cells too.

Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Marcel Tromp" <>
Cc: <>
Sent: Saturday, November 08, 2008 1:20 AM
Subject: Re: [docbook-apps] table vertical spans and page breaks


>I ended up fixing this by embedding tables in a table.
>
> Marcel
> --
>
>
> Marcel Tromp wrote:
>> I tried adding this, but it doesn't seem to work with fop 0.95: it still 
>> breaks in the middle of a straddled cell.
>>
>> I also tried to do the same thing on table.row.properties and this didn't 
>> work either.
>>
>> Marcel
>> -- 
>>
>> Bob Stayton wrote:
>>> Hi,
>>> It isn't necessary to customize the template with match="entry" to add 
>>> the keep-together properties, as there is a utility template named 
>>> "table.cell.properties" that can accomplish that.  This is a template, 
>>> not an attribute-set, and is described in this section of my book:
>>>
>>> http://www.sagehill.net/docbookxsl/PrintTableStyles.html#table.cell.properties
>>>
>>> Just add this to the customized template:
>>>
>>> <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
>>>
>>> Bob Stayton
>>> Sagehill Enterprises
>>> 
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: 
>> For additional commands, e-mail: 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>