Page 1 of 1

automatically add nested topics to bookmap?

Posted: Tue Dec 14, 2010 4:10 am
by maglid
My source files are <dita> with embedded topics like this:

<dita>
<concept/>
<concept/>
<concept/>
</dita>

I add these <dita> topics to a bookmap for PDF output, and I make a child link to each nested topic like this:

<bookmap>
<booktitle/>
<frontmatter/>
<chapter href="api_syntax.xml">
<topicref href="api_syntax.xml#c32145e"></topicref>
<topicref href="api_syntax.xml#i998343"></topicref>
<topicref href="api_syntax.xml#9047f63"></topicref>
</chapter>
<chapter href="next-chap">
...
</chapter>
<bookmap>

When a new nested topic gets added, it has to be manually added to the bookmap. My question is, is there a way to get Author or Oxygen to add new nested topics automatically?

Thanks,
Mark

Re: automatically add nested topics to bookmap?

Posted: Tue Dec 14, 2010 10:56 am
by Radu
Hi Mark,

No, sorry, we do not have something automatic to help you with this.
Maybe you can create an XSLT stylesheet which creates nested topic refs when applied to a DITA Composite file.

Regards,
Radu