collection-type="sequence" and Navigation Buttons
Posted: Fri Dec 01, 2017 5:12 am
Hello,
Using Author 19.1 to output webhelp responsive.
We want to have a clear run of navigation buttons through all topics - preface to glossary.
We've tried various combinations using collection-type="sequence" but always get some messed up links.
First, could you confirm something please. My understanding (from various sources of information online) is that if I have collection-type="sequence" in the map element, it will be inherited by all topics. Is that correct? If I try this with webhelp responsive, I only get nav buttons in part elements.
I've tried setting webhelp.default.collection.type.sequence to yes. This gives me buttons in all topics, but a bunch of strange links.
If I set the parameter only, with no collection-type="sequence" in the map,I get 11 broken links.
If I set the parameter, with collection-type="sequence" only in the map element,I get 10 broken links.
If I set the parameter, with collection-type="sequence" in every part/chapter/topichead/topicref/etc in the map,I still get 2 broken links.
About the links:
All topics are in sample/topics, so are linked in the map as, eg, href="sample/topics/c-topicref-2.dita".
In the output, if I mouseover some nav buttons, the link is shown as eg, "~~~~sample/topics/sample/topics/c-topicref-2.dita" and clicking the link gives "file not found". The TOC link to the same topic has the correct link and jumps correctly.
Author lists the transformation errors as DOTX031E.
In the last instance, with only 2 broken links, the affected files are the preface (which is in frontmatter) and the last file before the backmatter.
Any idea what is happening?
Cheers,
Eddie.
Using Author 19.1 to output webhelp responsive.
We want to have a clear run of navigation buttons through all topics - preface to glossary.
We've tried various combinations using collection-type="sequence" but always get some messed up links.
First, could you confirm something please. My understanding (from various sources of information online) is that if I have collection-type="sequence" in the map element, it will be inherited by all topics. Is that correct? If I try this with webhelp responsive, I only get nav buttons in part elements.
I've tried setting webhelp.default.collection.type.sequence to yes. This gives me buttons in all topics, but a bunch of strange links.
If I set the parameter only, with no collection-type="sequence" in the map,I get 11 broken links.
If I set the parameter, with collection-type="sequence" only in the map element,I get 10 broken links.
If I set the parameter, with collection-type="sequence" in every part/chapter/topichead/topicref/etc in the map,I still get 2 broken links.
About the links:
All topics are in sample/topics, so are linked in the map as, eg, href="sample/topics/c-topicref-2.dita".
In the output, if I mouseover some nav buttons, the link is shown as eg, "~~~~sample/topics/sample/topics/c-topicref-2.dita" and clicking the link gives "file not found". The TOC link to the same topic has the correct link and jumps correctly.
Author lists the transformation errors as DOTX031E.
In the last instance, with only 2 broken links, the affected files are the preface (which is in frontmatter) and the last file before the backmatter.
Any idea what is happening?
Cheers,
Eddie.