1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com> 4 5 Distributed under the Boost Software License, Version 1.0. 6 (See accompanying file LICENSE_1_0.txt or copy at 7 http://www.boost.org/LICENSE_1_0.txt) 8 --> 9<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 10 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" 11 version="1.0"> 12 13 <!-- Import the HTML chunking stylesheet --> 14 <xsl:import 15 href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/> 16 17 <xsl:param name="admon.style"/> 18 <xsl:param name="admon.graphics">1</xsl:param> 19 <xsl:param name="boostbook.verbose" select="0"/> 20 <xsl:param name="html.stylesheet" select="'boostbook.css'"/> 21 <xsl:param name="chapter.autolabel" select="1"/> 22 <xsl:param name="use.id.as.filename" select="1"/> 23 <xsl:param name="refentry.generate.name" select="0"/> 24 <xsl:param name="refentry.generate.title" select="1"/> 25 <xsl:param name="make.year.ranges" select="1"/> 26 <xsl:param name="generate.manifest" select="1"/> 27 <xsl:param name="callout.graphics.number.limit">15</xsl:param> 28 <xsl:param name="draft.mode">no</xsl:param> 29 <xsl:param name="admon.graphics" select="1"/> 30 31 <!-- We don't want refentry's to show up in the TOC because they 32 will merely be redundant with the synopsis. --> 33 <xsl:template match="refentry" mode="toc"/> 34 35 <!-- override the behaviour of some DocBook elements for better 36 rendering facilities --> 37 38 <xsl:template match = "programlisting[ancestor::informaltable]"> 39 <pre class = "table-{name(.)}"><xsl:apply-templates/></pre> 40 </xsl:template> 41 42 <xsl:template match = "refsynopsisdiv"> 43 <h2 class = "{name(.)}-title">Synopsis</h2> 44 <div class = "{name(.)}"> 45 <xsl:apply-templates/> 46 </div> 47 </xsl:template> 48 49</xsl:stylesheet> 50