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]

List Rendering of XSL-FO Problem


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: docbook-apps-request@lists.oasis-open.org


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