HTML5 output and locktitle behavior
Posted: Fri Jul 29, 2022 9:47 pm
I'm transforming DITA to HTML5 and I have noticed that the locktitle attribute works on the top-level topics, but not the second-level topics in my navigation tree. For example, I have the following structure:
Part 1. Introduction to X (locktitle=yes)
Chapter 1. Getting Started (locktitle=yes)
The output navigation looks like this:
Part 1. Intruction to X
Getting Started
Is this working as designed or is there something else I need to do? For now, I'm working around it with conditional coding, which is OK since I need the title of the topic to reflect the same text, but it seems like locktitle should work regardless of where I set it.
Part 1. Introduction to X (locktitle=yes)
Chapter 1. Getting Started (locktitle=yes)
The output navigation looks like this:
Part 1. Intruction to X
Getting Started
Is this working as designed or is there something else I need to do? For now, I'm working around it with conditional coding, which is OK since I need the title of the topic to reflect the same text, but it seems like locktitle should work regardless of where I set it.