blob: 0c17243001fd3b3ed12c6edc7f7fdf82124dcdab [file] [log] [blame]
njn3e986b22004-11-30 10:43:45 +00001<?xml version="1.0"?> <!-- -*- sgml -*- -->
2<xsl:stylesheet
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4
5<!-- we like '1.2 Title' -->
6<xsl:param name="section.autolabel" select="'1'"/>
7<xsl:param name="section.label.includes.component.label" select="'1'"/>
8
9<!-- Do not put 'Chapter' at the start of eg 'Chapter 1. Doing This' -->
10<xsl:param name="local.l10n.xml" select="document('')"/>
11<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
12 <l:l10n language="en">
13 <l:context name="title-numbered">
14 <l:template name="chapter" text="%n.&#160;%t"/>
15 </l:context>
16 </l:l10n>
17</l:i18n>
18
dee6ca7bd2005-08-03 18:58:45 +000019<!-- do not generate sub-tocs for qanda sets -->
njn3e986b22004-11-30 10:43:45 +000020<xsl:param name="generate.toc">
21set toc,title
22book toc,title,figure,table,example,equation
23chapter toc,title
24section toc
25sect1 toc
26sect2 toc
27sect3 toc
28sect4 nop
29sect5 nop
30qandaset toc
31qandadiv nop
32appendix toc,title
33article/appendix nop
34<!-- article toc,title -->
35article nop
36preface toc,title
37reference toc,title
38</xsl:param>
39
40<!-- center everything at the top of a titlepage -->
41<xsl:attribute-set name="set.titlepage.recto.style">
42 <xsl:attribute name="align">center</xsl:attribute>
43</xsl:attribute-set>
44
45</xsl:stylesheet>