cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get nested mapref's to display in TOC correctly?

smaclean
Participant

How to get nested mapref's to display in TOC correctly?

We have a ditamap with nested mapref's we are trying to get the nested mapref toc's to show at level 2 or the level below the mappref itself. We can't seem to do that does anyone have a suggestion?

Tags (2)
6 REPLIES 6

Re: How to get nested mapref's to display in TOC correctly?

If you open the ditamap in Arbortext Editor and then open the document using Edit > Edit Resolved Document for Styling, do you see a hierarchy difference in the topics referenced from the top most ditamap and the ref'd ditamap?

Re: How to get nested mapref's to display in TOC correctly?

Tim, no they all appear at one level.

Re: How to get nested mapref's to display in TOC correctly?

Ditamaps are containers of siblings, so a ditamap nested within a ditamap contains elements that are siblings to each other, and are also siblings to the content of the parent ditamap.

.

Re: How to get nested mapref's to display in TOC correctly?

There are a couple of tags that affect the nesting, topicref and topichead are two of those. In both of these cases if you do not want that parent topicref to provide output, you might want to set toc=no, print=no so outputs will notice the hierarchy change, but not try to output any headers or such.

There are other elements that may also provide this, but those are the most common.

Note that you cannot nest a mapref inside of a mapref in DITA as that outcome is undefined.

Re: How to get nested mapref's to display in TOC correctly?

David,

Thanks for this, this helps.

Regards,

Stew Maclean

Re: How to get nested mapref's to display in TOC correctly?

You are welcome. 🙂

Announcements