This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Variablelist nested inside itemizedlist renders poorly in pdf
- From: Bob Stayton <bobs at sco dot com>
- To: John Himpel <jwhimpel at tseinc dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 19 Sep 2003 15:27:15 -0700
- Subject: Re: [docbook-apps] Variablelist nested inside itemizedlist renders poorly in pdf
- References: <1064008195.5224.3.camel@himpel.linux.bogus>
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
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.