OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Nested, Itemized List Flows Into PDF Page Footer

There are very few instances of keep-together set to "always" in the stock FO 
stylesheet, and itemizedlist and listitem are are not included.  So I'm not clear why 
your lists are running off the page, as there should be no keep-together properties 

Can you peek inside the FO at the fo:list-block and fo:list-item elements and see if 
there are keep-together attributes on them?  If so, are they coming from a 
customization layer, by any chance?  If not, then the keep-together mechanism is not 
the problem here, and it may be a bug in how FOP handles list elements.

The DocBook list and the listitem templates will check for a keep-together processing 
instruction, and it will apply the value of that only if it is present.  You could try 
adding a

<?dbfo keep-together="auto" ?>

just after the start tag of the list element or the listitem element to see if that 
will allow it to break.  If not, then the problem is not the keep-together property, 
but some other issue with FOP.

Bob Stayton
Sagehill Enterprises

----- Original Message ----- 
From: "Tom Browder" <tom.browder@gmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, July 15, 2010 3:38 PM
Subject: [docbook-apps] Nested, Itemized List Flows Into PDF Page Footer

>I have a DocBook source with a long, nested, itemized list which
> covers eight pages after converting to XSL-FO and running through fop
> to pdf.  I am using the default page settings for USletter.
> The list runs into the page footers on some pages.  The page the list
> begins on is the first page of an appendix.
> A keep-together dbfo processing instruction looks like it might help
> but apparently itemized lists aren't set up that way.
> Any suggestions?
> Thanks.
> -Tom
> Thomas M. Browder, Jr.
> Niceville, Florida
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]