I also get this problem. However, I am using Cocoon to process the XML. Cocoon uses FOP, and includes jimi.
So I am a little puzzled...
Martin Polley
Technical Communicator
Tel +972-4-6677165
Mobile +972-53-864280
On Sat, 2003-01-25 at 19:49, Eric Baudais wrote:
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.
