[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Text crossing the page boundary in the generated pdf
Hi Anmol,Normally that kind of unbroken block occurs when the block has a keep-together.within-column="always" property. A processor that handles such keeps properly will bump the whole block to the next page, but FOP sometimes fails to do that.
By default, the DocBook XSL stylesheets do not add that property to lists or listitems. Does your customization?
It is also possible to use a processing instruction in your document to add a keep-together property:
<?dbfo keep-together="always"?> Does your list have such? Bob Stayton Sagehill Enterprises bobs@sagehill.net On 3/6/2014 8:24 PM, anmol gupta wrote:
Hi Bob, I am using FOP 1.1. And yes i have the docbook customization layer. And the text crossing the boundary is actually a <listitem> in the <itemizedlist>. This <listitem> contains various <para>s. Thanks and Regards, Anmol On Wed, Mar 5, 2014 at 10:29 PM, Bob Stayton <bobs@sagehill.net> wrote:Hi Anmol, That's most likely a bug in the XSL-FO processor. Are you using FOP? What version? Are you using a stylesheet customization layer? Can you describe what DocBook element contains the text that extends into the footer? Bob Stayton Sagehill Enterprises bobs@sagehill.net On 3/5/2014 4:01 AM, anmol gupta wrote:Hi, I have a common xml file which is included(using xinclude) in 5 different documents(as in 5 different pdf). So, the problem that i am facing is that in one of the pdf only the text of the common xml is crossing the boundary and is entering the footer section. and in all the remaining pdfs its generated correctly. So, how do i make sure it doesn't happen in any pdf at any point in time, Thanks and Regards, Anmol
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]