Hi Jeff-
I am working on almost the same software. I am using
docbook-xsl 1.41. I found the easiest way to figure
out where a problem is occuring is to just start
erasing parts of my document from the bottom up until
the problem goes away. Then, you will eventually be
able to figure out which element is generating the
fo:inline that is initiating your problem.
Just so you know a couple of problems I have run into:
1) A graphic as the first element in a list-item-body
can cause a page break which leaves the
list-item-label on the previous page. I am trying to
figure out how to prevent this in the FOP code.
2) Graphics that are larger than a page will send FOP
into an infinite loop.
3) Pagination accross multiple page sequences doesn't
work according to the xsl:fo spec. Something else I
want to look into fixing in FOP.
4) Page number sitation in the tabel of contents are
not appearing. I don't know whether this is a
docbook-xsl or FOP problem. I also don't like the
justification in the tabel of contents, so I changed
justify="start".
I will keep you informed as I find mor things.
Don
--- Jeff Rancier <[EMAIL PROTECTED]> wrote:
> Hello All.
>
> I downloaded the 1.42 XSL stylesheets for DocBook in
> an attempt to generate
> a PDF from my DocBook XML. The version of the
> DocBook stylesheets with
> XAE-1.0beta6 appears to be 1.18. The version of the
> DocBook DTD which my
> book was created appears to be V4.1.2. I am
> attempting to create the PDF
> directly from my DocBook (book) XML, using the
> FOP-0.19-CVS using the
> fo/docbook.xsl stylesheet. I am still getting
> errors.
>
> Can anyone tell me if I need to get a different
> version of the DTD, or what
> my problem might be?
>
> As follows:
>
> fop -xml mybook.XML -xsl docbook.xsl -pdf mybook.pdf
> java -cp
>
fop-0.19.0-CVS\fop.jar;fop-0.19.0-CVS\lib\w3c.jar;fop-0.19.0-CVS\lib\xalan-2
>
.0.0.jar;fop-0.19.0-CVS\lib\xerces-1.2.3.jar;fop-0.19.0-CVS\lib\jimi-1.0.jar
> org.apache.fop.apps.Fop -xml mybook.XML -xsl
> h:docbook.xsl -pdf mybook.pdf
>
> FOP 0.19.0-CVS
> using SAX parser org.apache.xerces.parsers.SAXParser
>
file:///h:/cvsdev/projects/docbook-1.42/docbook-xsl-1.42/fo/docbook.xsl;
> Line 92
> ; Column 16; Making portrait pages on USletter paper
> (8.5inx11in)
> building formatting object tree
> Error in height property value '$height':
> org.apache.fop.fo.expr.PropertyExcepti
> on: illegal character
> Error in width property value '$width':
> org.apache.fop.fo.expr.PropertyException
> : illegal character
> Error in height property value '$height':
> org.apache.fop.fo.expr.PropertyExcepti
> on: illegal character
> Error in width property value '$width':
> org.apache.fop.fo.expr.PropertyException
> : illegal character
> Error in height property value '$height':
> org.apache.fop.fo.expr.PropertyExcepti
> on: illegal character
> Error in width property value '$width':
> org.apache.fop.fo.expr.PropertyException
> : illegal character
> Error in height property value '$height':
> org.apache.fop.fo.expr.PropertyExcepti
> on: illegal character
> Error in width property value '$width':
> org.apache.fop.fo.expr.PropertyException
> : illegal character
> WARNING: property 'format' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'format' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'last-line-end-indent' ignored
> WARNING: property 'format' ignored
> ERROR: fo:inline can't be directly under flow
>
> TIA,
> Jeff
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]