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] | [Elist Home]


Subject: DOCBOOK-APPS: 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()">


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


Powered by eList eXpress LLC