if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
DITA and XMetaL Discussion
»
Overriding minimum number of levels in table of contents - PDF output
Pages:
1
« previous
next »
Print
Author
Topic: Overriding minimum number of levels in table of contents - PDF output (Read 450 times)
IF
Member
Posts: 65
Overriding minimum number of levels in table of contents - PDF output
«
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
Re: Overriding minimum number of levels in table of contents - PDF output
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us