Correct Behaviour of @locktitle in Output
Posted: Thu Sep 17, 2015 5:22 am
Hello,
Using Author 17.0. I'm trying to work out how @locktitle should behave, but the differences in behaviour are confusing and the documentation I can find doesn't seem to help. Apologies for the long question.
With the following bookmap section:
The navtitles do not show in map manager and, in output using oXygen, they show in xhtml, but not in pdf. My question is, is this the correct behaviour?
My confusion is added to because we have an inhouse output tool which shows the navtitles in both xhtml and pdf when using the above code. The DITA 1.2 spec says
The output appears as I would expect in the map manager and both xhtml and pdf (the first navtitle is shown, the second is not).
Using Author 17.0. I'm trying to work out how @locktitle should behave, but the differences in behaviour are confusing and the documentation I can find doesn't seem to help. Apologies for the long question.
With the following bookmap section:
Code: Select all
<chapter href="topics/c-testee-tuto-3.dita" type="concept" locktitle="yes">
<topicref href="topics/c-testee-tuto-3-1.dita">
<topicmeta>
<navtitle>The First Navtitle Title</navtitle>
</topicmeta>
</topicref>
<topicref href="topics/t-sesame-tr-fileget.dita" type="task">
<topicmeta>
<navtitle>The Second Navtitle Title</navtitle>
</topicmeta>
</topicref>
My confusion is added to because we have an inhouse output tool which shows the navtitles in both xhtml and pdf when using the above code. The DITA 1.2 spec says
and I take this to mean that, with the above code, the navtitle should be used. Am I missing something? I found a discussion online (https://lists.oasis-open.org/archives/d ... 00010.html) which saidthe title is locked when the closest ancestor topicref element sets or inherits the attribute locktitle="yes"
Incidentally, if I change the above code to the following:the
TC has made clear in the past that this attribute should *not* inherit
Code: Select all
<chapter href="topics/c-testee-tuto-3.dita" type="concept">
<topicref href="topics/c-testee-tuto-3-1.dita" locktitle="yes">
<topicmeta>
<navtitle>The First Navtitle Title</navtitle>
</topicmeta>
</topicref>
<topicref href="topics/t-sesame-tr-fileget.dita" type="task">
<topicmeta>
<navtitle>The Second Navtitle Title</navtitle>
</topicmeta>
</topicref>