]>
Commit | Line | Data |
---|---|---|
92f5a8d4 TL |
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. %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"> | |
21 | set toc,title | |
22 | book toc,title,figure,table,example,equation | |
23 | chapter toc,title | |
24 | section toc | |
25 | sect1 toc | |
26 | sect2 toc | |
27 | sect3 toc | |
28 | sect4 nop | |
29 | sect5 nop | |
30 | qandaset toc | |
31 | qandadiv nop | |
32 | appendix toc,title | |
33 | article/appendix nop | |
34 | article toc,title | |
35 | preface toc,title | |
36 | reference toc,title | |
37 | </xsl:param> | |
38 | ||
39 | </xsl:stylesheet> |