1 <?xml version='
1.0' encoding='ISO-
8859-
1'
?>
8 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
9 xmlns=
"http://www.w3.org/1999/xhtml"
12 <!-- Second level chunked output template.
13 Sets global params and include customized elements templates. -->
15 <!-- Upstream XHTML presentation templates -->
16 <xsl:import href=
"docbook-xsl-1.78.1/xhtml/docbook.xsl"/>
18 <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
19 <xsl:param name=
"chunker.output.encoding" select=
"'ISO-8859-1'"/>
21 <!-- Including our customized elements templates -->
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"/>
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 -->
33 <xsl:template name='user.head.content'
>
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"/>
38 <!-- Drop some unwanted style attributes -->
39 <xsl:param name=
"ulink.target" select=
"''"/>
40 <xsl:param name=
"css.decoration" select=
"0"/>
42 <!-- No XML declaration -->
43 <xsl:param name=
"chunker.output.omit-xml-declaration" select=
"'yes'"/>
45 <!-- Control generation of ToCs and LoTs -->
46 <xsl:param name=
"generate.toc">
60 <!-- How deep should recursive sections appear in the TOC? -->
61 <xsl:param name=
"toc.section.depth">1</xsl:param>
63 <!-- How deep, at most, should each TOC be? -->
64 <xsl:param name=
"toc.max.depth">3</xsl:param>