2004-12-28 03:03:56 +08:00
|
|
|
<?xml version='1.0'?>
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
|
|
|
version='1.0'>
|
2004-01-11 16:32:09 +08:00
|
|
|
|
2015-06-17 01:15:20 +08:00
|
|
|
<xsl:param name="chunker.output.doctype-public"
|
2005-08-06 13:14:41 +08:00
|
|
|
select="'-//W3C//DTD HTML 4.01 Transitional//EN'" />
|
2004-12-28 03:03:56 +08:00
|
|
|
<xsl:param name="html.stylesheet" select="'docbook.css'"/>
|
|
|
|
<xsl:param name="use.id.as.filename" select="1" />
|
2005-08-06 13:14:41 +08:00
|
|
|
<xsl:param name="root.filename" select="@id" />
|
2014-12-07 00:49:05 +08:00
|
|
|
<xsl:param name="toc.section.depth" select="4" />
|
2004-01-11 16:32:09 +08:00
|
|
|
|
2015-06-12 21:51:00 +08:00
|
|
|
<!-- autotoc.xsl customization to make refentry in sect1 appear in toc -->
|
|
|
|
<xsl:template match="sect1" mode="toc">
|
|
|
|
<xsl:param name="toc-context" select="."/>
|
|
|
|
<xsl:call-template name="subtoc">
|
|
|
|
<xsl:with-param name="toc-context" select="$toc-context"/>
|
|
|
|
<xsl:with-param name="nodes" select="sect2|refentry
|
|
|
|
|bridgehead[$bridgehead.in.toc != 0]"/>
|
|
|
|
</xsl:call-template>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
<!-- suppress refentry in toc being annotated with refpurpose -->
|
|
|
|
<xsl:param name="annotate.toc" select="0" />
|
|
|
|
|
2015-06-17 01:40:29 +08:00
|
|
|
<!-- generate ansi rather than k&r style function synopses -->
|
|
|
|
<xsl:param name="funcsynopsis.style" select="ansi" />
|
|
|
|
|
2004-12-28 03:03:56 +08:00
|
|
|
</xsl:stylesheet>
|