source: stylesheets/lfs-xsl/chunk-slave.xsl@ 65b2904

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 65b2904 was 65b2904, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Added LFS-XSL Stylesheets files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6840 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 2.3 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-snapshot/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 <!-- The CSS Stylesheets. We set here relative path from sub-dirs HTML files.
31 The path from top-level HTML files (index.html, partX.html, etc) MUST be
32 fixed via a sed in the Makefile-->
33 <!-- Master CSS Stylesheet -->
34 <xsl:param name="html.stylesheet" select="'../stylesheets/lfs.css'"/>
35 <!-- Print CSS Stylesheet -->
36 <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl -->
37 <xsl:template name='user.head.content'>
38 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print"/>
39 </xsl:template>
40
41 <!-- Dropping some unwanted style attributes -->
42 <xsl:param name="ulink.target" select="''"/>
43 <xsl:param name="css.decoration" select="0"/>
44
45 <!-- No XML declaration -->
46 <xsl:param name="chunker.output.omit-xml-declaration" select="'yes'"/>
47
48 <!-- Control generation of ToCs and LoTs -->
49 <xsl:param name="generate.toc">
50 book toc,title
51 preface toc
52 part toc
53 chapter toc
54 appendix nop
55 sect1 nop
56 sect2 nop
57 sect3 nop
58 sect4 nop
59 sect5 nop
60 section nop
61 </xsl:param>
62
63 <!-- How deep should recursive sections appear in the TOC? -->
64 <xsl:param name="toc.section.depth">1</xsl:param>
65
66 <!-- How maximaly deep should be each TOC? -->
67 <xsl:param name="toc.max.depth">3</xsl:param>
68
69</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.