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] Variablelist nested inside itemizedlist renders poorly in pdf

On Fri, Sep 19, 2003 at 04:49:54PM -0500, John Himpel wrote:
> All,
> When I have a variable list nested inside an itemizedlist and use the fo
> stylesheets, fop renders it as the dingbat with the <term> text on the
> next line.
> Example:
> *
>   Term
>     Listitem1
> If it is agreed that this is not correct, I will submit as an error to
> SF.

I think you might be better off filing this one
with FOP bugzilla.  The XSL-FO generated by
the current stylesheet looks correct.  It is putting
the variablelist fo:list-block directly inside
the fo:list-item-body of the outer itemizedlist.

The problem is that FOP always uses the space-above
property, even when it is not appropriate.  Inside
a list-item-body is not appropriate.  You get the
same kind of extra space when you any block elements
other than para first in a listitem, and you get the
same behavior when you put any block element
in table <entry> elements.  When I process the
same content with XEP, there is no space above
such elements in those situation.

The stylesheet currently provides an exception for para
elements that appear first in a listitem.
In that exception, it starts a block without any
space-before properties.  But providing such an
exception for every block element that could start
a listitem would be difficult and produce a lot
of duplication of code.

So that's why I think you should file the report
with FOP.  


Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

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