DITA PDF2 transformation - image not found error
Posted: Mon Nov 24, 2008 7:16 pm
I have a simple project for which I'm using the PDF2 transformation in oXygen Author 10 to generate the PDF output. The generation completes successfully, but every image in the document produces an error of the following form:
[fop] 594 ERROR [ main ] org.apache.fop.fo.FONode - Image not found: p2p_exchange\image\data_correct.png
The structure of my project is:
p2p_exchange.ditamap
p2p_exchange/task1.xml
...
p2p_exchange/task4.xml
p2p_exchange/image/image1.png
...
p2p_exchange/image/image20.png
The image hrefs are all relative to the pages they're contained in: in the task1..4.xml files, the href attribute of the image tag is image/image1.png.
When I generate XHTML or the HTML Help documentation or even the regular PDF output, the images show up correctly (and they show up correctly also in Author). Is there some setting I'm missing for PDF2 for it to find the images?
Thanks
Andrew
[fop] 594 ERROR [ main ] org.apache.fop.fo.FONode - Image not found: p2p_exchange\image\data_correct.png
The structure of my project is:
p2p_exchange.ditamap
p2p_exchange/task1.xml
...
p2p_exchange/task4.xml
p2p_exchange/image/image1.png
...
p2p_exchange/image/image20.png
The image hrefs are all relative to the pages they're contained in: in the task1..4.xml files, the href attribute of the image tag is image/image1.png.
When I generate XHTML or the HTML Help documentation or even the regular PDF output, the images show up correctly (and they show up correctly also in Author). Is there some setting I'm missing for PDF2 for it to find the images?
Thanks
Andrew