This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] Variablelist nested inside itemizedlist renderspoorly in pdf


On Fri, 2003-09-19 at 17:27, Bob Stayton wrote:
> 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,
Thanks for your analysis.
Looks like Togan Mufutuoglu already beat me to it.
Fop Bugzilla #19755 dated 2003-05-08.
John
 
> -- 
> 
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]