On 4/25/24 22:34, Louis Corriveau wrote:

We are implementing ditac into our CMS system, and we would like to have a table of content with only first level topics. Right now, all nested topics are displayed in the TOC. Can someone tell us how to configure ditac to control the number of levels added to the TOC?


ditac has no XSLT stylesheet parameter which could be used to do that. See https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/xsltParams.html#xsltParams

However, one way to achieve what you want is to modify your map or bookmap and add attribute toc="no" to all topicrefs you don't want to appear in the TOC. See http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part2-tech-content/langRef/attributes/commonMapAttributes.html#topicref-atts__toc


--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to