DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › TOPLEAF: Table of Contents Selection
-
sirajrangwala July 22, 2013 at 9:15 am
TOPLEAF: Table of Contents Selection
July 22, 2013 at 9:15 amParticipants 0Replies 1Last Activity 9 years, 6 months agoDear All,
This is what my TOC tags looks like:
In the “map” tag, pre-content –
In “indexlist” tag, pre-content –
{L-Index}
In the “IndexTitle” tag, pre-content –
In “toc” tage pre-content –
{L-TableofContents}
In “%IndexTitle” custom marker, pre-content –
{L-Index}
In “$document” Tag, pre-content should have –
This worked fine for me with PDF topic links, I use Xmetal 6.0 enterprise with TopLeaf 7.6
The only problem I get is, if in a single xml, I have 1 main topic and 2 subtopics then all 3 are displayed in TOC even if I don't need the subtopics to be listed. I need help to be able to customize TOC as per my requirement. If the subtopics are listed as demoted entries, it would still be ok, but even that is not happening, all entries are displayed as Main Titles.
Any help would be appreciated.
Thanks,
SR
tonys July 23, 2013 at 11:06 pm
Reply to: TOPLEAF: Table of Contents Selection
July 23, 2013 at 11:06 pmMy guess is that you don't have mappings to handle nested topics, but I can't be sure just from the information here. Note that the stylesheet that came with the old version 6 plugin did not correctly handle nested topics. The sample DITA stylesheets included in the current version of TopLeaf show how to easily allow for nested topics.
Please contact [email protected] so we can discuss what information we need to provide a solution.
-
AuthorPosts
- You must be logged in to reply to this topic.