• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

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

Explorer ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

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...

TOPICS
Structured

Views

217

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 21, 2024 Feb 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.

Votes

Translate

Translate
Community Expert ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

Thanks for helping! Actually, I'm at a loss because the Create Mini TOC command is greyed out. Is there any part of the structured document I should be inserting it at?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

It looks like the Mini TOC commands are disabled with structured documents. I tried it with a DITA topic, and it's grayed out for me too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 20, 2024 Feb 20, 2024

Copy link to clipboard

Copied

Are you able to send me a topic offlist so I can experiment with a TOC? rick at frameexpert dot com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 21, 2024 Feb 21, 2024

Copy link to clipboard

Copied

sorry, what is a topic offlist? Thanks again for helping.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 21, 2024 Feb 21, 2024

Copy link to clipboard

Copied

What I mean is, can you email me one of your topics so I can experiment with a structured TOC?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 21, 2024 Feb 21, 2024

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 21, 2024 Feb 21, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2024 Feb 22, 2024

Copy link to clipboard

Copied

LATEST

thank you!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines