• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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
19<!-- don't generate sub-tocs for qanda sets -->
20<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
34article   toc,title
35preface   toc,title
36reference toc,title
37</xsl:param>
38
39</xsl:stylesheet>
40