Copy link to clipboard
Copied
Hello.
I'm here to ask the problem to make mini toc automatically.
I'm dealing with structured document so I can't use the menu to make mini toc.
Even I try to convert xml to fm file or erasing structure menu, I couldn't make mini toc.
Is there anyway to make mini toc automatically for structured document with scripting or somthing?
I wish I can get some tips to learn about this.
Thank you for reading this.
ps. In ditamap, there is the top level topic xml document and 2 level topics are under top topc as different documents like the below image.
Copy link to clipboard
Copied
I don't work in structured FM, so have no direct insight. I see that the same question was asked here in 2017, and it didn't get an answer then.
Assuming that the direct answer is: you can't,
I'm wondering if a work-around might be to generate a regular …toc.fm file whose scope is restricted to the chapter, not make it part of the .book, and import its Flow A as a Text Inset in the real chapter file. What would need testing is making sure that the hypertext in the final document works.
Copy link to clipboard
Copied
Thank you for ur answer. I will consider more.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thank you for ur help and kindness always. I will check it.
Copy link to clipboard
Copied
Oh, I've watched your youtube and that video oviously so I was learning to make xsl too.
I have a question about it.
My ditamap structure has top level xml.
and have a few 2 level xmls.
all xml is structured with only one topic.
In this condition, I try to make mini toc in body of top level xml.
is it possible to get target Id from other xml which are 2 level xmls?
Copy link to clipboard
Copied
Yes, you should be able to do this using the href attributes that point to the level 2 topics. Without seeing your structure, it's difficult to give an exact answer.
Copy link to clipboard
Copied
yes, I succeed to do it. when 2 level topics are within highest-level topic in same xml.
but in my case, ditamap is constructured like image.
each xml has only one topic, so A xml doesn't have any 2 level topics in xml.
I want to have cross reference (B, C xml's topic) in body tag of A xml.
Is it possible to do this with xsl to make mini toc?
Copy link to clipboard
Copied
Yes it is possible. If you can send me a sample ditamap and topics, I can see what I can do.
rick at frameexpert dot com
Copy link to clipboard
Copied
Hello, Rick.
Sorry for my late my answer.
I have tried my self for days.
But I couldn't solve the problem so I sent u mail with my sample datas.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now