Cross-reference to Chapters without a "href"?
Posted: Tue Mar 07, 2017 4:03 pm
Hello!
I am a technical writer and relatively new to DITA. We have recently changed from using oXygen 16 to oXygen 18 (late, I know...). I love the ability to create chapters without a href in my bookmap. This lets me add a navtitle, and when I publish the PDF, the chapter is included in the Table of Contents.
The source looks like this, for example:
As you can see, there is no physical file for the chapter "Technical Specifications".
However, this also means I can't seem to create a cross reference to this chapter. When I try to paste the chapter as a cross reference, I get the following pop-up message:
Does anyone know if there's a workaround for this? Or will I need to create a real, physical .dita file after all?
I am a technical writer and relatively new to DITA. We have recently changed from using oXygen 16 to oXygen 18 (late, I know...). I love the ability to create chapters without a href in my bookmap. This lets me add a navtitle, and when I publish the PDF, the chapter is included in the Table of Contents.
The source looks like this, for example:
Code: Select all
<bookmap>
<booktitle>
<mainbooktitle>Quick Start Guide</mainbooktitle>
</booktitle>
<chapter href="introduction.dita">
<topicref href="terms_and_definitions.dita"/>
</chapter>
<chapter href="troubleshooting.dita"/>
<chapter navtitle="Technical Specifications"/>
</bookmap>
However, this also means I can't seem to create a cross reference to this chapter. When I try to paste the chapter as a cross reference, I get the following pop-up message:
Code: Select all
Cannot perform operation because the copied topicref does not point to a resource (the "href" attribute is missing or is empty).