Previous and Next Topic in HTML5

ann.jensen
Posts: 230
Joined: Wed Jun 17, 2015 10:19 am

Previous and Next Topic in HTML5

Post by ann.jensen » Tue Jun 19, 2018 4:52 pm

Hi,
Can anyone advise where in Oxygen XML Author Configure Transformation Scenario(s) I can turn off the generation of Previous Topic and Next Topic links for the HTML5 transformation scenario.
Any advice appreciated,
Regards,
Ann

ionela
Posts: 297
Joined: Mon Dec 05, 2011 6:08 pm

Re: Previous and Next Topic in HTML5

Post by ionela » Wed Jun 20, 2018 3:51 pm

HI Ann,

The Previous and Next links are generated if the collection-type attribute is set to "sequence" on the topicref element.

You can find more details about the collection-type attribute here:
https://www.oxygenxml.com/dita/stylegui ... Types.html
https://docs.oasis-open.org/dita/dita/v ... czm_brv_vr

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

ann.jensen
Posts: 230
Joined: Wed Jun 17, 2015 10:19 am

Re: Previous and Next Topic in HTML5

Post by ann.jensen » Thu Jun 21, 2018 10:19 am

Thanks for that Ionela,
I am trying to publish 2 different outputs, one for WebHelp with Previous and Next links and one for HTML5 ideally without Previous and Next links.
So this isn't possible?
Regards,
Ann

ionela
Posts: 297
Joined: Mon Dec 05, 2011 6:08 pm

Re: Previous and Next Topic in HTML5

Post by ionela » Thu Jun 21, 2018 12:13 pm

Hi Ann,

In this case you can remove the collection-type="sequence" attribute from your DITA source and the links won't appear in the HTML5 output.

For the DITA Map WebHelp Responsive transformation, there is a "webhelp.default.collection.type.sequence" parameter in the transformation scenario dialog that you could set to "yes". This option will add Next and Previous navigation buttons for all HTML pages in the WebHelp Responsive output.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

ann.jensen
Posts: 230
Joined: Wed Jun 17, 2015 10:19 am

Re: Previous and Next Topic in HTML5

Post by ann.jensen » Thu Jun 21, 2018 12:47 pm

That's great :-)
Thank you,
Ann

Post Reply