Transforming DITA MAPs to PDF - output is incomplete
Posted: Mon Mar 13, 2017 7:25 pm
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