OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: how to generate TOC listings in every section?


"Robert P. J. Day" wrote:
> 
>   what XSL param would i use to generate a single-level
> TOC in every section, regardless of that section's level?

Lucky boy! By a coincidence a added new parameter for exactly this into
stylesheets on a Friday. If you want to use it, grab file
xsl/html/autotoc.xsl from CVS and overwrite with it old autotoc.xsl in
your stylesheets. Then add following parameter into your customization
layer

<xsl:param name="toc.max.depth" select="1"/>

and you are done.

				Jirka

BTW: Don't forget to set also generate.section.toc.level parameter,
unless you don't get ToC in sections.

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC