docbook/html.xsl
1e2fb1b0
 <?xml version='1.0'?>
 <xsl:stylesheet  
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 
e775c338
     <!-- Produce a single file when building parts of documentation -->
     <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/onechunk.xsl"/>
1e2fb1b0
 
e775c338
     <!-- Common XHTML customization -->
5bc53be4
     <xsl:import href="html.common.xsl"/>
 
229fd4f9
 	<!-- Display all subsections in in the toc of READMEs -->
 
 	<!-- Enable TOC for sections -->
   	<xsl:param name="toc.section.depth">4</xsl:param>
   	<xsl:param name="generate.section.toc.level">4</xsl:param>
 
 	<!-- This is the default value of generate.toc modified so that we get TOC
 	     in documents whose root element is root, but only for the root
 	     section element. Non-root section or sectX elements have been removed
 		 so that they never generate a TOC. -->
 	<xsl:param name="generate.toc">
 		appendix  toc,title
 		article/appendix  nop
 		article   toc,title
 		book      toc,title,figure,table,example,equation
 		chapter   toc,title
 		part      toc,title
 		preface   toc,title
 		qandadiv  toc
 		qandaset  toc
 		reference toc,title
 		/section   toc
 		set       toc,title
 	</xsl:param>
 
1e2fb1b0
 </xsl:stylesheet>