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