source: stylesheets/lfs-xsl/chunk-slave.xsl@ 15c7d39

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 15c7d39 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.0 KB
Line 
1<?xml version='1.0' encoding='ISO-8859-1'?>
2
3<!--
4$LastChangedBy$
5$Date$
6-->
7
8<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9 xmlns="http://www.w3.org/1999/xhtml"
10 version="1.0">
11
12 <!-- Second level chunked output template.
13 Sets global params and include customized elements templates. -->
14
15 <!-- Upstream XHTML presentation templates -->
16 <xsl:import href="docbook-xsl-1.78.1/xhtml/docbook.xsl"/>
17
18 <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
19 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
20
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"/>
29
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 </xsl:template>
36
37 <!-- Drop some unwanted style attributes -->
38 <xsl:param name="ulink.target" select="''"/>
39 <xsl:param name="css.decoration" select="0"/>
40
41 <!-- No XML declaration -->
42 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
43
44 <!-- Control generation of ToCs and LoTs -->
45 <xsl:param name="generate.toc">
46 book toc,title
47 preface toc
48 part toc
49 chapter toc
50 appendix nop
51 sect1 nop
52 sect2 nop
53 sect3 nop
54 sect4 nop
55 sect5 nop
56 section nop
57 </xsl:param>
58
59 <!-- How deep should recursive sections appear in the TOC? -->
60 <xsl:param name="toc.section.depth">1</xsl:param>
61
62 <!-- How deep, at most, should each TOC be? -->
63 <xsl:param name="toc.max.depth">3</xsl:param>
64
65</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.