How to Add Section part to ToC of PDF and webpage

Post here questions and problems related to editing and publishing DITA content.
youny
Posts: 4
Joined: Thu Jul 25, 2024 10:54 am

How to Add Section part to ToC of PDF and webpage

Post by youny »

Is there any solution to make the table of content to include the section part of a topic? For both PDF and webpage?
Currently my ToC can only list the titles and locations of topics.
julien_lacour
Posts: 567
Joined: Wed Oct 16, 2019 3:47 pm

Re: How to Add Section part to ToC of PDF and webpage

Post by julien_lacour »

Hello,

If you are using the DITA Map PDF - based on HTML5 & CSS scenario for your PDFs you can directly set the args.css.param.numbering-sections parameter in the scenario.
What do you mean by "webpage", are you talking about DITA Map WebHelp Responsive or the default HTML5 scenario? (or even something else)

Regards,
Julien
youny
Posts: 4
Joined: Thu Jul 25, 2024 10:54 am

Re: How to Add Section part to ToC of PDF and webpage

Post by youny »

1. Yes, I have added args.css.param.numbering-sections parameter but it only shows on the bookmark not on the table of topics, should I customize the css to make it display?
image.png
image.png (46.52 KiB) Viewed 434 times
2. I mean the DITA Map WebHelp Responsive.
julien_lacour
Posts: 567
Joined: Wed Oct 16, 2019 3:47 pm

Re: How to Add Section part to ToC of PDF and webpage

Post by julien_lacour »

Hello,

Let's take one problem at a time, could you confirm you are using the DITA Map PDF - based on HTML5 & CSS scenario (or one which derives from it).
Also could you indicate which version of Oxygen you are using?
Finally could you copy your ditamap structure here (with all the topicrefs), to make sure we are testing the same situation?

Regards,
Julien
Post Reply