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]

Using FOP 0.19-CVS to create PDF


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 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]