If you process Norm's test/book2.xml, in the
output for the section "More Complex List Item Content" you
can see that normal <para> elements in a <listitem> context
are ok, but <formalpara> elements have that space above them.
I think Norm's fo stylesheet file fo/list.xsl is missing a
template for "listitem/formalpara[1]" the way it has one
for "listitem/para[1]". So it is formatting the <formalpara>
the same as outside the listitem context, which is to
provide some space above.
bobs
> From: Eric Richardson <[EMAIL PROTECTED]>
>
> Hi,
> I've been looking at the XSL spec(very large) and have yet to figure out
> what is fix is to this problem. The list renders the number on one line
> and then start the body on the next when viewed with a PDF viewer.
>
> Example:
> 1.
> The list item text is here.
>
> Desired:
> 1. The list text.
>
> XML using Xalan J 1.2.x
> XSL style sheet 1.29
> FOP 0.17
> DocBook 4.1.2
>
> On a side note, I was trying out a fo dtd so I could validate the fo
> file but I'm having no luck getting psgml to parse the dtd.
> http://www.renderx.com/Tests/validator/fo2000.dtd.html
> I think it is because I don't have a catalog file. Anybody have this
> working?
>
> Thanks,
> Eric :-)
>
> docbook text.
> ...
> <orderedlist>
> <listitem>
> <formalpara>
> <title>An Open, Standards based approach.</title>
> <para>Blah blah blah ...
> ...
>
> snippet of fop output.
>
> building formatting object tree
> Error in end-indent property value 'label-end()':
> org.apache.fop.fo.expr.PropertyException: no such function: label-end
> Error in start-indent property value 'body-start()':
> org.apache.fop.fo.expr.PropertyException: no such function: body-start
>
> snippet of fo file.
>
> <fo:list-item-label end-indent="label-end()">
> <fo:block>2.</fo:block>
> </fo:list-item-label>
> <fo:list-item-body start-indent="body-start()">
> ...
> </fo:list-item-body>
>
>
> here are the stylesheet file references.
>
> lists.xsl:37: <fo:list-item-label end-indent="label-end()">
> lists.xsl:63: <fo:list-item-label end-indent="label-end()">
> lists.xsl:98: <fo:list-item-label end-indent="label-end()">
> lists.xsl:333: <fo:list-item-label end-indent="label-end()">
> lists.xsl:414: <fo:list-item-label end-indent="label-end()">
> lists.xsl:42: <fo:list-item-body start-indent="body-start()">
> lists.xsl:68: <fo:list-item-body start-indent="body-start()">
> lists.xsl:103: <fo:list-item-body start-indent="body-start()">
> lists.xsl:338: <fo:list-item-body start-indent="body-start()">
> lists.xsl:421: <fo:list-item-body start-indent="body-start()">
>
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: [EMAIL PROTECTED]
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]