[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 |
|
---|
[a4eaba6] | 13 | <xsl:param name="chunker.output.method" select="'xml'"/>
|
---|
| 14 | <xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
|
---|
| 15 | <xsl:param name="chunker.output.media-type" select="'application/xhtml+xml'"/>
|
---|
| 16 | <xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Strict//EN'"/>
|
---|
| 17 | <xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'"/>
|
---|
| 18 | <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
|
---|
| 19 | <xsl:param name="chunker.output.indent" select="'no'"/>
|
---|
| 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'>
|
---|
[5c3f304a] | 34 | <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
|
---|
| 35 | <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
---|
[c873d807] | 36 | </xsl:template>
|
---|
| 37 |
|
---|
[15c7d39] | 38 | <!-- Drop some unwanted style attributes -->
|
---|
[c873d807] | 39 | <xsl:param name="ulink.target" select="''"/>
|
---|
| 40 | <xsl:param name="css.decoration" select="0"/>
|
---|
| 41 |
|
---|
[15c7d39] | 42 | <!-- Control generation of ToCs and LoTs -->
|
---|
[c873d807] | 43 | <xsl:param name="generate.toc">
|
---|
| 44 | book toc,title
|
---|
| 45 | preface toc
|
---|
| 46 | part toc
|
---|
| 47 | chapter toc
|
---|
| 48 | appendix nop
|
---|
| 49 | sect1 nop
|
---|
| 50 | sect2 nop
|
---|
| 51 | sect3 nop
|
---|
| 52 | sect4 nop
|
---|
| 53 | sect5 nop
|
---|
| 54 | section nop
|
---|
| 55 | </xsl:param>
|
---|
| 56 |
|
---|
[15c7d39] | 57 | <!-- How deep should recursive sections appear in the TOC? -->
|
---|
[c873d807] | 58 | <xsl:param name="toc.section.depth">1</xsl:param>
|
---|
| 59 |
|
---|
[15c7d39] | 60 | <!-- How deep, at most, should each TOC be? -->
|
---|
[c873d807] | 61 | <xsl:param name="toc.max.depth">3</xsl:param>
|
---|
| 62 |
|
---|
| 63 | </xsl:stylesheet>
|
---|