Submaps in TocJs

Having trouble installing Oxygen? Got a bug to report? Post it all here.
chrizzbee
Posts: 37
Joined: Wed May 13, 2015 11:02 am

Submaps in TocJs

Post 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.
Radu
Posts: 9449
Joined: Fri Jul 09, 2004 5:18 pm

Re: Submaps in TocJs

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrizzbee
Posts: 37
Joined: Wed May 13, 2015 11:02 am

Re: Submaps in TocJs

Post by chrizzbee »

Hi Radu

Thanks a lot. This helps.

Br
Chris.
Post Reply