2024-01-18 20:09:26 +00:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
2007-07-05 22:18:33 +01:00
|
|
|
|
|
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
version="1.0">
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- Second level chunked output template.
|
|
|
|
Sets global params and include customized elements templates. -->
|
2007-07-05 22:18:33 +01:00
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- Upstream XHTML presentation templates -->
|
2020-03-13 14:38:37 +00:00
|
|
|
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
|
2007-07-05 22:18:33 +01:00
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- Including our customized elements templates -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:include href="common.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-mixed.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-sections.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-titles.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-toc.xsl"/>
|
|
|
|
<xsl:include href="xhtml/lfs-xref.xsl"/>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
|
|
|
|
<!-- Print CSS Stylesheet -->
|
|
|
|
<!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:template name='user.head.content'>
|
2015-08-10 18:53:57 +01:00
|
|
|
<link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
2007-07-05 22:18:33 +01:00
|
|
|
</xsl:template>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- Drop some unwanted style attributes -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:param name="ulink.target" select="''"/>
|
|
|
|
<xsl:param name="css.decoration" select="0"/>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- No XML declaration -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- Control generation of ToCs and LoTs -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:param name="generate.toc">
|
|
|
|
book toc,title
|
|
|
|
preface toc
|
|
|
|
part toc
|
|
|
|
chapter toc
|
|
|
|
appendix nop
|
|
|
|
sect1 nop
|
|
|
|
sect2 nop
|
|
|
|
sect3 nop
|
|
|
|
sect4 nop
|
|
|
|
sect5 nop
|
|
|
|
section nop
|
|
|
|
</xsl:param>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- How deep should recursive sections appear in the TOC? -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:param name="toc.section.depth">1</xsl:param>
|
|
|
|
|
2013-10-08 21:03:29 +01:00
|
|
|
<!-- How deep, at most, should each TOC be? -->
|
2007-07-05 22:18:33 +01:00
|
|
|
<xsl:param name="toc.max.depth">3</xsl:param>
|
|
|
|
|
|
|
|
</xsl:stylesheet>
|