DITA MAP PDF output image missing

Post here questions and problems related to editing and publishing DITA content.
anne_siemens
Posts: 20
Joined: Mon May 23, 2016 12:04 pm

DITA MAP PDF output image missing

Post by anne_siemens »

I have been trying out the various output formats on a small set of dita files with one ditamap.
The Webhelp Resonsive, Classic, Mobile versions all look ok but the PDF output has a missing image, I'm not sure why.
I tried the PDF transformation twice and both times the image file seems to have vanished from the transformed topic file.
radu_pisoi
Posts: 404
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: DITA MAP PDF output image missing

Post by radu_pisoi »

Hi,

I suppose you have an image reference in a topic content. Could you tell us what type of image you are using (PNG, JPEG)?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
anne_siemens
Posts: 20
Joined: Mon May 23, 2016 12:04 pm

Re: DITA MAP PDF output image missing

Post by anne_siemens »

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="task_yaw_system">
<title>Yaw System</title>
<shortdesc>

</shortdesc>
<taskbody>
<context>
<p>
<image href="../images/Sketch_SCADA_Overview.jpg"></image>
</p>
</context>
<steps>
<step>

<cmd>Where is the picture?</cmd>
<info><fig>
<image href="../images/wppm_maintain.jpg" id="image_vcp_zv5_tw"/>
</fig></info>
</step>
</steps>
</taskbody>
</task>

I tried testing the PDF by just generating a PDF from a single DITA file. It shows in the author view, it's visible in Wehbelp but missing in PDF.
It's jpg. Is that a problem? I can convert the images to PNG. I've been trying out a few things, like copying the folder structure from your flowers sample and making sure my topic, image, out folders have a similar structure, no luck as yet.

I really, really would appreciate your help; I have to be able to produce clean PDFs with images intact.

BTW, the responsive webhelp output is very elegant. My team is very happy with it.
radu_pisoi
Posts: 404
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: DITA MAP PDF output image missing

Post by radu_pisoi »

Hi,

Yes, it seems that the images are not included in the PDF file when you transform a single topic to PDF.

You can fix this problem by setting the 'fix.external.refs.com.oxygenxml' to true. Please note that this parameter is available only when you run the transformation from oXygen.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
anne_siemens
Posts: 20
Joined: Mon May 23, 2016 12:04 pm

Re: DITA MAP PDF output image missing

Post by anne_siemens »

I tried that but the image still does not show up in PDF.
anne_siemens
Posts: 20
Joined: Mon May 23, 2016 12:04 pm

Re: DITA MAP PDF output image missing

Post by anne_siemens »

Resolved by Tech Support.
Tasks steps require some text content in order for the image within a step to show in PDF.
Thanks for the explanation :D .
jdaniel0906
Posts: 4
Joined: Fri Apr 12, 2019 6:44 pm

Re: DITA MAP PDF output image missing

Post by jdaniel0906 »

I am having this issue. This response says that tech support resolved it. I am interested in the resolution. Is it an Oxygen issue? I do not have the problem with all images, just certain ones (constantly). However, I use WebWorks for PDF rendering.
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: DITA MAP PDF output image missing

Post by Costin »

Hello,

I have just tested and the images appear in the PDF output even when publishing a single topic. I used the latest version of oXygen XML Editor and the predefined "DITA to PDF" transformation scenario. There does not seem to be any issue with oXygen.
Just make sure that you set the "fix.external.refs.com.oxygenxml" parameter to "yes", as advised by Radu Pisoi in a previous reply on this thread.
Also, like he mentioned, that parameter works only when publishing from the oXygen GUI software.

If you could still not view the images in the output, even after you do that, you could try using another PDF reader application.
As a last resort, please send us a sample topic and image that you could use to reproduce the issue, for further investigation.

Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply