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 Niklas Koponen <ni...@iki.fi> on 2003/05/07 10:59:58 UTC

Title and text on separate pages (DocBook or FOP problem?)

Hi!

I'm using docbook and FOP to produce pdf documents.

For some reason I cannot get section titles and the following paragraph
on the same page. The problem occurs only when the title fits to the
bottom of the page and the paragraph goes to the next page.

I'm using Saxon for the stylesheet processing and I use
docbook-xsl-1.60.1. I am using a customization layer which defines the
properties. The layer is included as an attachment.

Is the problem with the FOP or with the docbook-xsl or my parameters?

Any help is appreciated.

-Niklas

-- 
Niklas Koponen   | Hietapellontie 3 B 7 | niklas.koponen@iki.fi
+358 40 757 1459 | 02400 KIRKKONUMMI    | http://www.iki.fi/niklas.koponen


Re: avoid widow/orphan

Posted by Nicolas Mazziotta <ni...@ulg.ac.be>.
J.Pietschmann wrote:
> Nicolas Mazziotta wrote:
> 
>> I know the xslfo keep-w/-next attr. is not fully implemented yet, but 
>> does anyone have a hack or stg that would prevent users to manually 
>> add page breaks when needed?
> 
> 
> Did you look at
>  http://xml.apache.org/fop/faq.html#keep-with
> 
> J.Pietschmann
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 
> 
Mea culpa.
thank you


-- 
+----------------------------+
|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: avoid widow/orphan

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Nicolas Mazziotta wrote:
> I know the xslfo keep-w/-next attr. is not fully implemented yet, but 
> does anyone have a hack or stg that would prevent users to manually add 
> page breaks when needed?

Did you look at
  http://xml.apache.org/fop/faq.html#keep-with

J.Pietschmann


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


avoid widow/orphan

Posted by Nicolas Mazziotta <ni...@ulg.ac.be>.
Hello,

I cannot get the rid of this problem: when a title occurs just before 
page-break, it is severed from the text it's related with -which happens 
to be rendered on the next page...

I know the xslfo keep-w/-next attr. is not fully implemented yet, but 
does anyone have a hack or stg that would prevent users to manually add 
page breaks when needed?

thanks in advance for your 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: Title and text on separate pages (DocBook or FOP problem?)

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Niklas Koponen wrote:
> For some reason I cannot get section titles and the following paragraph
> on the same page. The problem occurs only when the title fits to the
> bottom of the page and the paragraph goes to the next page.

See
  http://xml.apache.org/fop/faq.html#keep-with
You can try to hack the DocBook style sheets but I don't think
you'll make it, the solution has other drawbacks anyway.
Read: you are basically out of luck. Resort to manual labor and
add explicit page breaks before the affected title after the
document is finished.


J.Pietschmann


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