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] Text running into the footer in PDF

Thanks so much for the information! I really appreciate you taking the time to explain what's going on!

-----Original Message-----
From: Vincent Hennebert [mailto:vhennebert@gmail.com]
Sent: Tuesday, August 19, 2008 7:08 AM
To: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] Text running into the footer in PDF


Dennison, Cheri a écrit :
> Hi!
> I'm upgrading to FOP 0.95 from 0.20.5 and from 1.70.1 to 1.74 for the DB stylesheets, and with the upgrade I have a particular long orderedlist (with another level of nested orderedlists inside) that no longer breaks correctly at the bottom of the page. Instead it keeps going down into the footer for two listitems before it then breaks to the next page and continues with the list. The place where it is supposed to break is in the middle of one of the nested orderedlist elements. The problem occurs even if I change the orderedlist to a procedure with several substeps sections. One other note that may or may not be relevant: some of the nested orderedlists (or substeps) have their own itemizedlist elements in them. The one where the break should occur does NOT have an itemizedlist in it.
> Does this sound like a familiar issue to anyone?

This is probably because there are some elastic spaces on the pages that
contain the lists, and they don’t play well together. Going down into
the details is a bit technical I’m afraid. Basically, FOP makes use of
elastic spaces to “justify” pages (align the bottoms of pages so that it
looks nicer); but there’s a bug in lists that makes spaces stretch too
much, and the content appear in the margin. Hopefully this issue will be
fixed in the next version of FOP.

To work around this problem you may try to suppress elastic spaces (set
the .minimum, .optimum and .maximum components of space-before or
space-after to the same value). This may be a bit tricky as you will
probably need to modify templates that have nothing to do with
A possibly better option can be to redefine the template transforming
orderedlist, and produce a two-column fo:table instead of an
fo:list-block. Tables are much more robust than lists in FOP 0.95, and
you can achieve the same visual result.

I hope this helps,

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]