Page 1 of 1

Submaps in TocJs

Posted: Mon May 18, 2015 5:45 pm
by chrizzbee
Hi all

I wonder why a sub-map (a nested map in a map via mapref) does not appear in a published TocJs Webhelp output. I thought that the sub-map forms itself an own chapter-level, but the topic therein appears on the same level as all other topics of the main map and I do not see the sub-map's title. Can I influence this somehow? I would like that sub-maps generate their own chapter structure as well ...

Thanks for any hints
Chris.

Re: Submaps in TocJs

Posted: Tue May 19, 2015 8:49 am
by Radu
Hi Chris,

The behavior is correct, in any output format (including WebHelp) referenced submaps appear as transparent in the published output and their referenced topics appear on the same level as the map reference's siblings. This is intentional in order to make splitting a larger map in submaps easier.
If you want to contribute a level in the TOC with the map reference, you can add a topichead surrounding the reference to the DITA Map:

Code: Select all

  <topichead navtitle="Extra Level here">
<topicref href="test.ditamap" format="ditamap"/>
</topichead>
Regards,
Radu

Re: Submaps in TocJs

Posted: Tue May 19, 2015 9:57 am
by chrizzbee
Hi Radu

Thanks a lot. This helps.

Br
Chris.