[c873d807] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 2 |
|
---|
| 3 | <!--
|
---|
| 4 | $LastChangedBy$
|
---|
| 5 | $Date$
|
---|
| 6 | -->
|
---|
| 7 |
|
---|
| 8 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 9 | xmlns="http://www.w3.org/1999/xhtml"
|
---|
| 10 | version="1.0">
|
---|
| 11 |
|
---|
[15c7d39] | 12 | <!-- Second level chunked output template.
|
---|
| 13 | Sets global params and include customized elements templates. -->
|
---|
[c873d807] | 14 |
|
---|
[15c7d39] | 15 | <!-- Upstream XHTML presentation templates -->
|
---|
| 16 | <xsl:import href="docbook-xsl-1.78.1/xhtml/docbook.xsl"/>
|
---|
[c873d807] | 17 |
|
---|
[15c7d39] | 18 | <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
|
---|
[c873d807] | 19 | <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
|
---|
| 20 |
|
---|
[15c7d39] | 21 | <!-- Including our customized elements templates -->
|
---|
[c873d807] | 22 | <xsl:include href="common.xsl"/>
|
---|
| 23 | <xsl:include href="xhtml/lfs-admon.xsl"/>
|
---|
| 24 | <xsl:include href="xhtml/lfs-mixed.xsl"/>
|
---|
| 25 | <xsl:include href="xhtml/lfs-sections.xsl"/>
|
---|
| 26 | <xsl:include href="xhtml/lfs-titles.xsl"/>
|
---|
| 27 | <xsl:include href="xhtml/lfs-toc.xsl"/>
|
---|
| 28 | <xsl:include href="xhtml/lfs-xref.xsl"/>
|
---|
| 29 |
|
---|
[15c7d39] | 30 | <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
|
---|
| 31 | <!-- Print CSS Stylesheet -->
|
---|
| 32 | <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
|
---|
[c873d807] | 33 | <xsl:template name='user.head.content'>
|
---|
[15c7d39] | 34 | <link rel="stylesheet" href="stylesheets/lfs-print.css" type="text/css" media="print"/>
|
---|
[c873d807] | 35 | </xsl:template>
|
---|
| 36 |
|
---|
[15c7d39] | 37 | <!-- Drop some unwanted style attributes -->
|
---|
[c873d807] | 38 | <xsl:param name="ulink.target" select="''"/>
|
---|
| 39 | <xsl:param name="css.decoration" select="0"/>
|
---|
| 40 |
|
---|
[15c7d39] | 41 | <!-- No XML declaration -->
|
---|
[c873d807] | 42 | <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
|
---|
| 43 |
|
---|
[15c7d39] | 44 | <!-- Control generation of ToCs and LoTs -->
|
---|
[c873d807] | 45 | <xsl:param name="generate.toc">
|
---|
| 46 | book toc,title
|
---|
| 47 | preface toc
|
---|
| 48 | part toc
|
---|
| 49 | chapter toc
|
---|
| 50 | appendix nop
|
---|
| 51 | sect1 nop
|
---|
| 52 | sect2 nop
|
---|
| 53 | sect3 nop
|
---|
| 54 | sect4 nop
|
---|
| 55 | sect5 nop
|
---|
| 56 | section nop
|
---|
| 57 | </xsl:param>
|
---|
| 58 |
|
---|
[15c7d39] | 59 | <!-- How deep should recursive sections appear in the TOC? -->
|
---|
[c873d807] | 60 | <xsl:param name="toc.section.depth">1</xsl:param>
|
---|
| 61 |
|
---|
[15c7d39] | 62 | <!-- How deep, at most, should each TOC be? -->
|
---|
[c873d807] | 63 | <xsl:param name="toc.max.depth">3</xsl:param>
|
---|
| 64 |
|
---|
| 65 | </xsl:stylesheet>
|
---|