aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/chunk-slave.xsl
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2013-10-08 20:03:29 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2013-10-08 20:03:29 +0000
commit15c7d39533a1eb1da0748011f3378fd0f02ed14d (patch)
treea7ed12df60c5ffd4d00a570804c51470bfb8b0f5 /stylesheets/lfs-xsl/chunk-slave.xsl
parent09a35dd7178070f01a7961d2ded39e11ba2aac83 (diff)
Update stylesheets to docbook-xsl-1.78.1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/chunk-slave.xsl')
-rw-r--r--stylesheets/lfs-xsl/chunk-slave.xsl34
1 files changed, 15 insertions, 19 deletions
diff --git a/stylesheets/lfs-xsl/chunk-slave.xsl b/stylesheets/lfs-xsl/chunk-slave.xsl
index a677e67fb..0bdeebab4 100644
--- a/stylesheets/lfs-xsl/chunk-slave.xsl
+++ b/stylesheets/lfs-xsl/chunk-slave.xsl
@@ -9,16 +9,16 @@ $Date$
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
- <!-- Second level chunked output template.
- Sets global params and include customized elements templates. -->
+ <!-- Second level chunked output template.
+ Sets global params and include customized elements templates. -->
- <!-- Upstream XHTML presentation templates -->
- <xsl:import href="docbook-xsl-snapshot/xhtml/docbook.xsl"/>
+ <!-- Upstream XHTML presentation templates -->
+ <xsl:import href="docbook-xsl-1.78.1/xhtml/docbook.xsl"/>
- <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
+ <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
- <!-- Including our customized elements templates -->
+ <!-- Including our customized elements templates -->
<xsl:include href="common.xsl"/>
<xsl:include href="xhtml/lfs-admon.xsl"/>
<xsl:include href="xhtml/lfs-mixed.xsl"/>
@@ -27,25 +27,21 @@ $Date$
<xsl:include href="xhtml/lfs-toc.xsl"/>
<xsl:include href="xhtml/lfs-xref.xsl"/>
- <!-- The CSS Stylesheets. We set here relative path from sub-dirs HTML files.
- The path from top-level HTML files (index.html, partX.html, etc) MUST be
- fixed via a sed in the Makefile-->
- <!-- Master CSS Stylesheet -->
- <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
- <!-- Print CSS Stylesheet -->
- <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
+ <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
+ <!-- Print CSS Stylesheet -->
+ <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
<xsl:template name='user.head.content'>
- <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
+ <link rel="stylesheet" href="stylesheets/lfs-print.css" type="text/css" media="print"/>
</xsl:template>
- <!-- Dropping some unwanted style attributes -->
+ <!-- Drop some unwanted style attributes -->
<xsl:param name="ulink.target" select="''"/>
<xsl:param name="css.decoration" select="0"/>
- <!-- No XML declaration -->
+ <!-- No XML declaration -->
<xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
- <!-- Control generation of ToCs and LoTs -->
+ <!-- Control generation of ToCs and LoTs -->
<xsl:param name="generate.toc">
book toc,title
preface toc
@@ -60,10 +56,10 @@ $Date$
section nop
</xsl:param>
- <!-- How deep should recursive sections appear in the TOC? -->
+ <!-- How deep should recursive sections appear in the TOC? -->
<xsl:param name="toc.section.depth">1</xsl:param>
- <!-- How maximaly deep should be each TOC? -->
+ <!-- How deep, at most, should each TOC be? -->
<xsl:param name="toc.max.depth">3</xsl:param>
</xsl:stylesheet>