Page 1 of 1

Automatic list of reused topics

Posted: Mon Dec 24, 2018 2:03 pm
by anna_craneo
Hello, I have a topic with several other topics reused inside it, like this:

Code: Select all


<topic id="main-topic">
<title>Main topic</title>
<body>
</body>
<topic id="id_gpf_vcq_fgd"
conref="topic1.dita#topic1">
<title/>
</topic>
<topic id="id_gpf_vcq_fdb" conref="topic2.dita#topic2">
<title/>
</topic>
</topic>
Can I somehow generate a list of links to the nested topics inside the main one?

Re: Automatic list of reused topics

Posted: Mon Jan 07, 2019 12:39 pm
by Costin
Hello,

There is no out-of-the-box support for creating a list (in a TOC-like manner) of all the child topics used inside a parent topic.
What you could most probably do is manually add the related links to each topic, using the <related-links> element at topic level, or a relationship table (the <reltable> element) at the DITA Map level.

More details about linking in DITA, available in the DITA specification and in the Linking in DITA Topics and Linking with Relationship Tables in DITA sections from the oXygen User-Guide.

Regards,
Costin