[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Images not included in PDF
Jean-Marc: I also had this problem initially when using FOP. However FOP gave me an error stating it needed Jimi to process the images. I installed Jimi and added it to my classpath and FOP has rendered images correctly since then. Eric Baudais On Fri, Jan 24, 2003 at 06:32:31PM +0100, Jean-Marc Fontaine wrote: > Hello, > > I have a XML DocBook document, with images references : > > <figure> > <title></title> > > <mediaobject> > <imageobject> > <imagedata align="center" fileref="images/ges_com/menu.png" > format="PNG" /> > </imageobject> > </mediaobject> > </figure> > > > The path to the images is correct. > > When I generate the HTML file using Saxon, everything is ok but when I try to generate the PDF with Saxon and FOP the images are missing in the generated PDF. > I tried the images.fo file from the FOP examples and the generated PDF file includes the images so I think my way to launch FOP is right. > I believe I am doing something wrong whether while calling Saxon whether in my XML DocBook document. > > My Saxon command line for generating the FO is the following : > java -cp saxon.jar;saxon-fop.jar;../DocBook-XSL/extensions/saxon651.jar;../Xerces/xercesImpl.jar -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl com.icl.saxon.StyleSheet -o ..\..\Sortie\FO\Documentation.fo ..\..\Documentation\Documentation.xml ..\..\DocBook-XSL\fo\docbook.xsl fop.extensions=1 > > My FOP command line for generating the PDF is the following : > java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;..\Xerces\xercesImpl.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -fo ..\..\Sortie\FO\Documentation.fo -pdf ..\..\Sortie\PDF\Documentation.pdf > > Maybe I forgot some Saxon command line parameter ... > > Can someone help me please ? > > Thanks a lot for your time.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC