Page 1 of 1

How to Add Section part to ToC of PDF and webpage

Posted: Mon Sep 09, 2024 12:08 pm
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.

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

Posted: Mon Sep 09, 2024 4:40 pm
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

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

Posted: Tue Sep 10, 2024 12:08 pm
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 691 times
2. I mean the DITA Map WebHelp Responsive.

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

Posted: Tue Sep 10, 2024 3:17 pm
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