[65b2904] | 1 | <?xml version='1.0' encoding='ISO-8859-1'?>
|
---|
| 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 |
|
---|
| 7 | <!-- Second level chunked output template.
|
---|
| 8 | Sets global params and include customized elements templates. -->
|
---|
| 9 |
|
---|
| 10 | <!-- Upstream XHTML presentation templates -->
|
---|
[869909a] | 11 | <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
---|
[65b2904] | 12 |
|
---|
| 13 | <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
|
---|
| 14 | <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
|
---|
| 15 |
|
---|
| 16 | <!-- Including our customized elements templates -->
|
---|
| 17 | <xsl:include href="common.xsl"/>
|
---|
| 18 | <xsl:include href="xhtml/lfs-admon.xsl"/>
|
---|
| 19 | <xsl:include href="xhtml/lfs-mixed.xsl"/>
|
---|
| 20 | <xsl:include href="xhtml/lfs-sections.xsl"/>
|
---|
| 21 | <xsl:include href="xhtml/lfs-titles.xsl"/>
|
---|
| 22 | <xsl:include href="xhtml/lfs-toc.xsl"/>
|
---|
| 23 | <xsl:include href="xhtml/lfs-xref.xsl"/>
|
---|
| 24 |
|
---|
[869909a] | 25 | <!-- The CSS Stylesheets. The path is relative to the top level html
|
---|
| 26 | directory. The templates compute automatically the position of
|
---|
| 27 | the CSS relative to the current file. So no need to fix the paths
|
---|
| 28 | in the Makefile. -->
|
---|
| 29 | <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
|
---|
| 30 | <!-- Print CSS Stylesheet
|
---|
| 31 | The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
|
---|
[65b2904] | 32 | <xsl:template name='user.head.content'>
|
---|
| 33 | <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
|
---|
| 34 | </xsl:template>
|
---|
| 35 |
|
---|
| 36 | <!-- Dropping some unwanted style attributes -->
|
---|
| 37 | <xsl:param name="ulink.target" select="''"/>
|
---|
| 38 | <xsl:param name="css.decoration" select="0"/>
|
---|
| 39 |
|
---|
| 40 | <!-- No XML declaration -->
|
---|
[05c1d404] | 41 | <!-- <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>-->
|
---|
[65b2904] | 42 |
|
---|
| 43 | <!-- Control generation of ToCs and LoTs -->
|
---|
| 44 | <xsl:param name="generate.toc">
|
---|
| 45 | book toc,title
|
---|
| 46 | preface toc
|
---|
| 47 | part toc
|
---|
| 48 | chapter toc
|
---|
| 49 | appendix nop
|
---|
| 50 | sect1 nop
|
---|
| 51 | sect2 nop
|
---|
| 52 | sect3 nop
|
---|
| 53 | sect4 nop
|
---|
| 54 | sect5 nop
|
---|
| 55 | section nop
|
---|
| 56 | </xsl:param>
|
---|
| 57 |
|
---|
| 58 | <!-- How deep should recursive sections appear in the TOC? -->
|
---|
| 59 | <xsl:param name="toc.section.depth">1</xsl:param>
|
---|
| 60 |
|
---|
| 61 | <!-- How maximaly deep should be each TOC? -->
|
---|
| 62 | <xsl:param name="toc.max.depth">3</xsl:param>
|
---|
| 63 |
|
---|
| 64 | </xsl:stylesheet>
|
---|