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]
Other format: [Raw text]

Images not included in PDF


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]