PDF transformation failure - Target does not exist in DOST file
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 18
- Joined: Fri Dec 02, 2016 7:34 pm
PDF transformation failure - Target does not exist in DOST file
Hi,
I am new to DITA OT and Oxygen and encountered a problem I cannot fix.
Until now I was using one plugin from the PDF plugin generator of Jarno Elovirta. Today I used "Dita for Print" book to create a new plugin, and followed the guidelines from p.41, for creation and installation of a new plugin. I didn't manage to integrate the new plugin, but I did the command bin\dita -install from DITA-OT2.x, just in case.
Unfortunately, now when I try to publish my contents with my old plugin (that used to work well) I have this error message:
"Target "transform.fo2pdf.xep.init" does not exist in the project "DOST". It is used from target "transform.topic2fo.init".
I checked which files had been last modified (the modification time around the time I launched my commands for the new plugin), and the files that have changed are in plugins>com.elovirta.dita.markdown, more specifically the build.xml and in the xsl folder: dita2markdown.xsl and map2markdown-cover.xsl.
I have no idea where to look for nor why trying to install a new plugin broke everything.
I would be very grateful if anyone can help, thank you.
Julie
I am new to DITA OT and Oxygen and encountered a problem I cannot fix.
Until now I was using one plugin from the PDF plugin generator of Jarno Elovirta. Today I used "Dita for Print" book to create a new plugin, and followed the guidelines from p.41, for creation and installation of a new plugin. I didn't manage to integrate the new plugin, but I did the command bin\dita -install from DITA-OT2.x, just in case.
Unfortunately, now when I try to publish my contents with my old plugin (that used to work well) I have this error message:
"Target "transform.fo2pdf.xep.init" does not exist in the project "DOST". It is used from target "transform.topic2fo.init".
I checked which files had been last modified (the modification time around the time I launched my commands for the new plugin), and the files that have changed are in plugins>com.elovirta.dita.markdown, more specifically the build.xml and in the xsl folder: dita2markdown.xsl and map2markdown-cover.xsl.
I have no idea where to look for nor why trying to install a new plugin broke everything.
I would be very grateful if anyone can help, thank you.
Julie
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PDF transformation failure - Target does not exist in DOST file
Hi Julie,
Please see some answers below:
If you use the DITA OT 2.x which comes bundled with Oxygen, you can also run the integrator from inside Oxygen:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
You can try removing the newest added plugin folder and run again the integration.
Regards,
Radu
Please see some answers below:
The current PDF plugin generator creates plugins for DITA Open Toolkit 2.x which you seem to be using for publishing. So it's OK. Do you use the DITA OT 2.x bundled with Oxygen or an external DITA OT 2.x installation?Until now I was using one plugin from the PDF plugin generator of Jarno Elovirta.
The "Dita For Print" book was created and tested with DITA Open Toolkit 1.8, so it may contain customization ideas which do not work out of the box with the newer DITA OT 2.x.Today I used "Dita for Print" book to create a new plugin, and followed the guidelines from p.41, for creation and installation of a new plugin.
How do you know you did not manage to install the plugin? Was an error reported? If so, what was the error?I didn't manage to integrate the new plugin, but I did the command bin\dita -install from DITA-OT2.x, just in case.
If you use the DITA OT 2.x which comes bundled with Oxygen, you can also run the integrator from inside Oxygen:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
I think that somehow the integration process which integrates all DITA OT plugins broke at some point probably because of your plugin.Unfortunately, now when I try to publish my contents with my old plugin (that used to work well) I have this error message:
"Target "transform.fo2pdf.xep.init" does not exist in the project "DOST". It is used from target "transform.topic2fo.init".
You can try removing the newest added plugin folder and run again the integration.
Yes, the integration automatically installs all plugin and in doing this also modifies various files in various places, this is normal.I checked which files had been last modified (the modification time around the time I launched my commands for the new plugin), and the files that have changed are in plugins>com.elovirta.dita.markdown, more specifically the build.xml and in the xsl folder: dita2markdown.xsl and map2markdown-cover.xsl.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 18
- Joined: Fri Dec 02, 2016 7:34 pm
Re: PDF transformation failure - Target does not exist in DOST file
Hi Radu,
Thank you very much for your quick answer.
I followed your advice and ran again the integration process without the newest plugin, and it worked, I am able to publish pdf contents again!
Thank you.
To answer your questions, I use the DITA OT 2.x bundled with Oxygen.
As for the new plugin, I said I didn't manage to install it because from DITA OT 2x I ran the command: bin/dita -install (plugin folder) and I got the error message "src must be a directory. Use nested fillets instead". Then, I did just -install and I didn't have any message. I thought an integrator.xml was supposed to be created in the new plugin folder, that's why I thought it didn't work. I will try from Oxygen next time, thank you for the advice.
Regards,
Julie
Thank you very much for your quick answer.
I followed your advice and ran again the integration process without the newest plugin, and it worked, I am able to publish pdf contents again!

To answer your questions, I use the DITA OT 2.x bundled with Oxygen.
As for the new plugin, I said I didn't manage to install it because from DITA OT 2x I ran the command: bin/dita -install (plugin folder) and I got the error message "src must be a directory. Use nested fillets instead". Then, I did just -install and I didn't have any message. I thought an integrator.xml was supposed to be created in the new plugin folder, that's why I thought it didn't work. I will try from Oxygen next time, thank you for the advice.
Regards,
Julie
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: PDF transformation failure - Target does not exist in DOST file
Hi Julie,
Glad you managed to fix the problem.
The dita -install can be used to install a plugin from a ZIP file. So you should have had a ZIP containing the plugin folder.
http://www.dita-ot.org/dev/dev_ref/plug ... lling.html
Regards,
Radu
Glad you managed to fix the problem.
The dita -install can be used to install a plugin from a ZIP file. So you should have had a ZIP containing the plugin folder.
http://www.dita-ot.org/dev/dev_ref/plug ... lling.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service