Avoid deleting temp folder and debugging
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 71
- Joined: Wed Jul 14, 2010 11:38 am
Avoid deleting temp folder and debugging
Post by anderszvensson »
Hi!
I want to debug dita ot for pdf rendering, and found this post: http://www.oxygenxml.com/forum/topic3560.html
However, the temp folder mentioned in this post is deleted everytime I render a ditamap. I know a way to fix it by giving myself change privileges on the dita ot folder and then modifying the build file by commenting out the clean-temp directive. But I feel there should be another way to do this, since it is mentioned in the above post as something that should be there by default... Is there something wrong with my configuration, and if so is there a way to modify this from within Oxygen?
Also, the post suggests that you should debug by selecting the topic2fo_shell.xsl, which in a way makes sense, but I don't know how that is going to work with the custom xsl's, since those are referenced in the topic2fo_shell using the special paths with cfg:fo in the beginning? (<xsl:import href="cfg:fo/xsl/custom.xsl"></xsl:import>). Do you have to change these to regular absolute or relative paths before the debugging, and then change it back after to be able to use the catalog for choosing custom stylesheets?
Regards,
Anders
I want to debug dita ot for pdf rendering, and found this post: http://www.oxygenxml.com/forum/topic3560.html
However, the temp folder mentioned in this post is deleted everytime I render a ditamap. I know a way to fix it by giving myself change privileges on the dita ot folder and then modifying the build file by commenting out the clean-temp directive. But I feel there should be another way to do this, since it is mentioned in the above post as something that should be there by default... Is there something wrong with my configuration, and if so is there a way to modify this from within Oxygen?
Also, the post suggests that you should debug by selecting the topic2fo_shell.xsl, which in a way makes sense, but I don't know how that is going to work with the custom xsl's, since those are referenced in the topic2fo_shell using the special paths with cfg:fo in the beginning? (<xsl:import href="cfg:fo/xsl/custom.xsl"></xsl:import>). Do you have to change these to regular absolute or relative paths before the debugging, and then change it back after to be able to use the catalog for choosing custom stylesheets?
Regards,
Anders
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Avoid deleting temp folder and debugging
Hello Anders,
In the DITA Map transformation scenario in the Parameters tab there is a clean.temp parameter. Its default value is yes so you should edit and change it to no.
Oxygen usually invokes the DITA Open Toolkit as an external process and the DITA OT of course takes care to read different catalog files.
In the Oxygen Preferences XML / XML Catalog page you will have to add an addional catalog to point to OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/cfg/catalog.xml. This particular catalog is the one used to resolve the cfg: references and Oxygen by default does not know about it.
Regards,
Radu
In the DITA Map transformation scenario in the Parameters tab there is a clean.temp parameter. Its default value is yes so you should edit and change it to no.
Oxygen usually invokes the DITA Open Toolkit as an external process and the DITA OT of course takes care to read different catalog files.
In the Oxygen Preferences XML / XML Catalog page you will have to add an addional catalog to point to OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/demo/fo/cfg/catalog.xml. This particular catalog is the one used to resolve the cfg: references and Oxygen by default does not know about it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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