DITA and XMetaL Discussion
IF November 3, 2010 at 2:59 pm
Overriding minimum number of levels in table of contents – PDF outputNovember 3, 2010 at 2:59 pmParticipants 0Replies 1Last Activity 11 years, 7 months ago
By default, the maximum number of levels in the table of contents is set to 4. From what I can tell, it is specified by this line
in %APPDATA%SoftQuadXMetaL SharedDITA_OTdemoxmfoxslfotopic2fo_shell.xsl
I was able to change the number of levels by editing this line and replacing 4 by say 6.
However, I was not successful when I tried to make the change from custom.xsl. Is there a special trick?
XMetal6.0; XMetal Enhanced PDF Output via RenderX XEPDerek Read November 3, 2010 at 6:00 pm
Reply to: Overriding minimum number of levels in table of contents – PDF outputNovember 3, 2010 at 6:00 pm
It looks like custom.xsl is imported before this setting. So whatever you set in custom.xsl is probably being overridden later on.
So you'd probably need to modify this file directly.
It might be that the DITA OT project is working on cleaning this type of thing up, I'm not sure.
- You must be logged in to reply to this topic.