DITA pdf file not opening always

Here should go questions about transforming XML with XSLT and FOP.
Pekka
Posts: 3
Joined: Thu Dec 10, 2009 2:05 pm

DITA pdf file not opening always

Post by Pekka »

Hi,
I noticed that the pdf file generated from DITA map does not always open. This might be more DITA-OT issue that Oxygen issue, because the directory where the pdf is generated does not seem to be very logical.

If I copy Flowers-sample into D:\samples\flowers, open flowers.ditamap and run pdf-transformation, Oxygen opens the generated pdf file (D:\samples\flowers\out\flowers.pdf). However, if I copy the ditamap into the directory D:\samples\flowers\ditamap and update the topicrefs, DITA-OT generates the pdf-file into D:\samples\flowers\ditamap\out\ditamap\flowers.pdf. Oxygen cannot open the pdf file, I assume it tries to open D:\samples\flowers\ditamap\out\flowers.pdf.

Any ideas how this could be fixed?

Regards, Pekka
Radu
Posts: 9439
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA pdf file not opening always

Post by Radu »

Dear Pekka,

Indeed, in the case you mentioned the DITA OT tries to create in the output directory the structure of the common parent folder which contains both the DITA Map and the topic directories and Oxygen does not detect this correctly. We'll try to improve this in a future version.
In the meantime, for each scenario in the "Output" tab you can check the "Other location" radio button and enter the path to the PDF file.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply