Pages: 1
Print
Author Topic: Overriding minimum number of levels in table of contents - PDF output  (Read 450 times)
IF
Member

Posts: 65


« on: November 03, 2010, 08:59:23 AM »

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

<xsl:param name="tocMaximumLevel" select="'4'"/>

in %APPDATA%\SoftQuad\XMetaL Shared\DITA_OT\demo\xmfo\xsl\fo\topic2fo_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?

thanks.
XMetal6.0;  XMetal Enhanced  PDF Output via RenderX XEP
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 1546



WWW
« Reply #1 on: November 03, 2010, 12:00:49 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.
Logged
Pages: 1
Print
Jump to: