Transforming DITA MAPs to PDF - output is incomplete
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4
- Joined: Wed Jan 04, 2017 8:07 pm
Transforming DITA MAPs to PDF - output is incomplete
Hello.
I am having trouble trying to transform DITA into PDF. I have created a dita-bookmap that contains several chapters. The Chapters contain maprefs and topicrefs.
When I run the Transformation Scene for a single chapter, it works and looks fine. But when I try to transform the bookmap into a PDF, the PDF is incomplete. The document only shows the cover and a list of the topics in the Table of Contents. The content is missing entirely.
I have run the Validation and Completness Check, and there were no errors. Only when I ran the tranformation to DITA MAP PDF did the warning indications appear.
[]
[bookmap.ditamap]
[File1]
[topic1topic2.ditamap]
[topic1.dita]
[topic2.dita]
[File2]
[topic3.dita]
[mapref1234.ditamap]
[File3]
[...]
I have read about placing a mapref at the top of the tree, but I wasnt able to improve the results in my output.
So, please,how can create a PDF with all of my topics and maprefs in a single ducument?
Best regards, Danny
I am having trouble trying to transform DITA into PDF. I have created a dita-bookmap that contains several chapters. The Chapters contain maprefs and topicrefs.
Code: Select all
<chapter>
<topicref href="../12_TechnicalData/Dimensions.BasicMachine.3XXXXX.XXXX.dita"
props="prop1" product="product1;" audience="novice"/>
<topicref href="../12_TechnicalData/Dimensions.XXXX.dita"></topicref>
<topicref href="../12_TechnicalData/OperationalEnvironment.dita"></topicref>
<topicref href="../12_TechnicalData/InterfaceConnectors.dita"></topicref>
<topicref href="../12_TechnicalData/Emissions.dita"></topicref>
</chapter>
<chapter>
<mapref href="../20_Safety/Saftey.ditamap"></mapref>
</chapter>
<chapter>
<mapref href="../30_DesignXX/Design.ditamap"></mapref>
</chapter>
I have run the Validation and Completness Check, and there were no errors. Only when I ran the tranformation to DITA MAP PDF did the warning indications appear.
I have arranged my files and documents in my directory somewhat like this:DOTJ036W The file "%1" referenced by "%2" is outside the scope of the input dita/map directory. If you do not want to see the warning message, please use the Ant parameter 'outer.control', and set the value to "quiet". Otherwise, move the referenced file "%1" into the input dita/map directory.
[]
[bookmap.ditamap]
[File1]
[topic1topic2.ditamap]
[topic1.dita]
[topic2.dita]
[File2]
[topic3.dita]
[mapref1234.ditamap]
[File3]
[...]
I have read about placing a mapref at the top of the tree, but I wasnt able to improve the results in my output.
So, please,how can create a PDF with all of my topics and maprefs in a single ducument?
Best regards, Danny
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Transforming DITA MAPs to PDF - output is incomplete
Post by radu_pisoi »
Hi,
The DITA-OT publishing engine does not support very well the situation when the DITA map has references to a DITA topic, map or to a binary resource (for example: image) that is located outside of the folder where the main DITA map is located.
The simplest solution to fix this problem is to set the fix.external.refs.com.oxygenxml parameter to true. This parameter is used to specify whether or not the application tries to fix such references in a temporary files folder before the DITA Open Toolkit is invoked on the fixed references.
Please note that this parameter is only supported when the DITA-OT transformation process is started from Oxygen XML Editor.
This situation is already explained in out user manual, see: https://www.oxygenxml.com/doc/versions/ ... -refs.html.
The DITA-OT publishing engine does not support very well the situation when the DITA map has references to a DITA topic, map or to a binary resource (for example: image) that is located outside of the folder where the main DITA map is located.
The simplest solution to fix this problem is to set the fix.external.refs.com.oxygenxml parameter to true. This parameter is used to specify whether or not the application tries to fix such references in a temporary files folder before the DITA Open Toolkit is invoked on the fixed references.
Please note that this parameter is only supported when the DITA-OT transformation process is started from Oxygen XML Editor.
This situation is already explained in out user manual, see: https://www.oxygenxml.com/doc/versions/ ... -refs.html.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
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