Changing Navtitle for Topic at the Map Level

Post here questions and problems related to editing and publishing DITA content.
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Changing Navtitle for Topic at the Map Level

Post by dgallo »

Is there a way I can change the Navigation Title for a Topic at the map level?

I tried the following, but that did not work:

<topicref href="topics/anchor_links.dita" navtitle="Show Hide" toc="no" chunk="to-content"
locktitle="yes">
<topicmeta>
<navtitle>Show Hide</navtitle>
</topicmeta>
<topicref href="topics/user_interface/view_show_hide_isolate_t.dita" toc="no"/>
<topicref href="topics/preferences/keyboard_shortcuts_mouse_controls_tool_show_hide_r.dita"
toc="no"/>
</topicref>
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: Changing Navtitle for Topic at the Map Level

Post by Radu »

Hi,

According to the specification:

http://docs.oasis-open.org/dita/v1.2/os ... l#navtitle
his navigation title may differ from the first level heading that shows in the main browser window. Use <navtitle> when the actual title of the topic isn't appropriate for use in a table of contents, navigation pane, or online content (for example, because the actual title is too long).
the navigation title is what ends up being shown in the Table of Contents. So it does not replace the title in the actual topic.

So if you want a topic with a variable title you would probably need to use a conref or a keyref in the title.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply