Skip to main content
Known Participant
February 20, 2024
Answered

Is there any way to create a minitoc in DITA, using the section titles within a topic?

  • February 20, 2024
  • 1 reply
  • 973 views

I am using Framemaker with DITA, and some of my topics include multiple sections. It would be so great to generate these topics with an automatic miniTOC at the top, listing the sections within the topic...

This topic has been closed for replies.
Correct answer frameexpert

I have a clean way of doing this with XSLT in FrameMaker. I am going to post a YouTube video in the next couple of days. I will share the link when it is ready.

1 reply

frameexpert
Community Expert
February 20, 2024

You can use Insert > Table of Contents > Create Mini TOC, but it will likely be unstructered and make the topic invalid. This may not be an issue if you are not saving back to XML.

 

The best approach may be to mock up the TOC using valid DITA and then use XSLT to add the TOC on import to FrameMaker. If you can send me a topic offlist, I can mock something up here. Thanks. rick at frameexpert dot com

frameexpert
frameexpertCorrect answer
Community Expert
February 21, 2024

I have a clean way of doing this with XSLT in FrameMaker. I am going to post a YouTube video in the next couple of days. I will share the link when it is ready.

frameexpert
Community Expert
February 22, 2024

Here is an 11 minute video that outlines a way to add a mini-TOC to a FrameMaker DITA topic. It's unedited and a bit rough, but it should give you an idea of what is possible. Please let me know if you have any questions or comments.

 

https://youtu.be/fPfq_PmosE8