Hi all,
I've put together an HTML5 custom plugin and I'm really impressed with how well org.dita.html5 supports customization. One thing I've been banging my head against the wall trying to figure out is how can I process the map title as part of the header on each page. All of my attempts to do this have come up fruitless. I understand the problem: by the time the plugin gets around to generating HTML for each topic, the map is out-of-context. My thinking is that I can set a global variable of sorts that returns the same value no matter what the context. However, I have not figured out to make this happen as in each case the variable basically gets reset to the current context and either returns the current topic title or no value at all. Can anyone share with me how they have solved this problem or explain an approach that I can use? Also, if anyone can explain why my approach doesn't work, that would be great.
Finally, if this problem has been discussed thoroughly in other threads or venues, please point me in the right direction. I've been combing the interwebs for days now with no luck.
Thanks,
Jason