You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Nicolas Mazziotta <ni...@ulg.ac.be> on 2003/05/28 09:00:04 UTC

keep-with-next in blind table creates gaps on some pages

Hello,
I use blind tables to prevent titles from being severed from the 
following block. But...
If the block is too large to fit on remaining the page, it is ``sent'' 
to the next one.
So I get stuff like this:
  ____________________
|p.1                 |
|1st *title*         |
|1st block           |
|1st block           |
|1st block           |
|1st block           |
|                    |
|                    |
|                    |   <---Half of
|                    |       the page
|                    |       is empty
|____________________|

  ____________________
|p.2                 |
|2nd *title*         |
|2nd block           |
|2nd block           |
|2nd block           |
|2nd block           |
|2nd block           |
|2nd block           |
|                    |
|                    |
|                    |
|____________________|

where 1st and 2d blocks are large paragraphs that *cannot* be divided 
into  several subblocks.

where I want:

  ____________________
|p.1                 |
|1st *title*         |
|1st block           |
|1st block           |
|1st block           |
|1st block           |
|                    |
|2nd *title*         |   <---the 2nd block
|2nd block           |       begins on
|2nd block           |       the 1st page
|2nd block           |
|____________________|

  ____________________
|p.2                 |
|2nd block           |
|2nd block           |
|2nd block           |
|                    |
|                    |
|                    |
|                    |
|                    |
|                    |
|                    |
|____________________|

If I remove the ``keep-with-next'' att., of course, I get lonely titles 
wandering at the bottom of some pages.

Thanks in advance for the help

-- 
+----------------------------+
|Nicolas Mazziotta           |
|Aspirant au doctorat        |
|Linguistique française      |
|Département d'études romanes|
|Université de Liège         |
+----------------------------+
|04/3665382                  |
|nicolas.mazziotta@ulg.ac.be |
+----------------------------+


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: keep-with-next in blind table creates gaps on some pages

Posted by Jeremias Maerki <de...@greenmail.ch>.
And if you set the keep-with-next only on the row with the title? That
will keep the title with at least one subseqent block.

On 28.05.2003 09:00:04 Nicolas Mazziotta wrote:
> I use blind tables to prevent titles from being severed from the 
> following block. But...
> If the block is too large to fit on remaining the page, it is ``sent'' 
> to the next one.
> So I get stuff like this:

<snip/>

> where 1st and 2d blocks are large paragraphs that *cannot* be divided 
> into  several subblocks.
> 
> where I want:

<snip/>

> If I remove the ``keep-with-next'' att., of course, I get lonely titles 
> wandering at the bottom of some pages.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org