source: stylesheets/lfs-xsl/chunk-slave.xsl@ 52dcb7d

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 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 52dcb7d was 52dcb7d, checked in by Xℹ Ruoyao <xry111@…>, 3 years ago

remove $Date$ and $LastChangedBy$

They are unsupported by Git.

  • Property mode set to 100644
File size: 2.1 KB
Line 
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 -->
11 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
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
25 <xsl:param name="html.stylesheet" select="'stylesheets/lfs.css'"/>
26 <!-- Print CSS Stylesheet -->
27 <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
28 <xsl:template name='user.head.content'>
29 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
30 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
31 </xsl:template>
32
33 <!-- Drop some unwanted style attributes -->
34 <xsl:param name="ulink.target" select="''"/>
35 <xsl:param name="css.decoration" select="0"/>
36
37 <!-- No XML declaration -->
38 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
39
40 <!-- Control generation of ToCs and LoTs -->
41 <xsl:param name="generate.toc">
42 book toc,title
43 preface toc
44 part toc
45 chapter toc
46 appendix nop
47 sect1 nop
48 sect2 nop
49 sect3 nop
50 sect4 nop
51 sect5 nop
52 section nop
53 </xsl:param>
54
55 <!-- How deep should recursive sections appear in the TOC? -->
56 <xsl:param name="toc.section.depth">1</xsl:param>
57
58 <!-- How deep, at most, should each TOC be? -->
59 <xsl:param name="toc.max.depth">3</xsl:param>
60
61</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.