diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-02-19 09:56:27 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-02-19 09:56:27 +0000 |
commit | efd32dfb6c52e28f3b158930b64f986ff8760409 (patch) | |
tree | 17be39ecfd6527a069cb179c025d0a8e0ee2cf4d /bzlib-src/bz-common.xsl | |
download | Compress-Bzip2-tarball-efd32dfb6c52e28f3b158930b64f986ff8760409.tar.gz |
Compress-Bzip2-2.22HEADCompress-Bzip2-2.22master
Diffstat (limited to 'bzlib-src/bz-common.xsl')
-rw-r--r-- | bzlib-src/bz-common.xsl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bzlib-src/bz-common.xsl b/bzlib-src/bz-common.xsl new file mode 100644 index 0000000..66fcd6f --- /dev/null +++ b/bzlib-src/bz-common.xsl @@ -0,0 +1,39 @@ +<?xml version="1.0"?> <!-- -*- sgml -*- --> +<xsl:stylesheet + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + +<!-- we like '1.2 Title' --> +<xsl:param name="section.autolabel" select="'1'"/> +<xsl:param name="section.label.includes.component.label" select="'1'"/> + +<!-- Do not put 'Chapter' at the start of eg 'Chapter 1. Doing This' --> +<xsl:param name="local.l10n.xml" select="document('')"/> +<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> + <l:l10n language="en"> + <l:context name="title-numbered"> + <l:template name="chapter" text="%n. %t"/> + </l:context> + </l:l10n> +</l:i18n> + +<!-- don't generate sub-tocs for qanda sets --> +<xsl:param name="generate.toc"> +set toc,title +book toc,title,figure,table,example,equation +chapter toc,title +section toc +sect1 toc +sect2 toc +sect3 toc +sect4 nop +sect5 nop +qandaset toc +qandadiv nop +appendix toc,title +article/appendix nop +article toc,title +preface toc,title +reference toc,title +</xsl:param> + +</xsl:stylesheet> |