source: stylesheets/blfs-chunked.xsl@ 5778f24

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 v5_1 v5_1-pre1 xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5778f24 was ae8a3e4, checked in by Larry Lawrence <larry@…>, 20 years ago

updated stylesheets to match LFS

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

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns="http://www.w3.org/1999/xhtml"
4 version="1.0">
5
6 <!-- We use XHTML -->
7 <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/chunk.xsl"/>
8 <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
9
10 <!-- The CSS Stylesheet -->
11 <xsl:param name="html.stylesheet" select="'../stylesheets/blfs.css'"/>
12
13 <!-- Include our customised templates -->
14 <xsl:include href="xhtml/blfs-toc.xsl"/>
15 <xsl:include href="xhtml/blfs-index.xsl"/>
16
17 <!-- Use graphics in admonitions -->
18 <xsl:param name="admon.graphics" select="1"/>
19 <xsl:param name="admon.graphics.path">../images/</xsl:param>
20 <xsl:param name="admon.graphics.extension" select="'.png'"/>
21
22 <!-- Legal Notice stuff -->
23 <xsl:param name="generate.legalnotice.link" select="1"/>
24 <xsl:template match="legalnotice" mode="titlepage.mode">
25 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
26 <xsl:choose>
27 <xsl:when test="$generate.legalnotice.link != 0">
28 <xsl:variable name="filename">
29 <xsl:call-template name="make-relative-filename">
30 <xsl:with-param name="base.dir" select="''"/>
31 <xsl:with-param name="base.name" select="concat($base.dir, 'prologue/legalnotice.html')"/>
32 </xsl:call-template>
33 </xsl:variable>
34 <xsl:variable name="title">
35 <xsl:apply-templates select="." mode="title.markup"/>
36 </xsl:variable>
37 <xsl:element name="a">
38 <xsl:attribute name="href">
39 <xsl:value-of select="'prologue/legalnotice.html'"/>
40 </xsl:attribute>
41 <xsl:copy-of select="$title"/>
42 </xsl:element>
43 <xsl:call-template name="write.chunk">
44 <xsl:with-param name="filename" select="$filename"/>
45 <xsl:with-param name="quiet" select="$chunk.quietly"/>
46 <xsl:with-param name="content">
47 <html>
48 <head>
49 <xsl:call-template name="system.head.content"/>
50 <xsl:call-template name="head.content"/>
51 <xsl:call-template name="user.head.content"/>
52 </head>
53 <body>
54 <xsl:call-template name="body.attributes"/>
55 <div class="{local-name(.)}">
56 <xsl:apply-templates mode="titlepage.mode"/>
57 </div>
58 </body>
59 </html>
60 </xsl:with-param>
61 </xsl:call-template>
62 </xsl:when>
63 <xsl:otherwise>
64 <div class="{local-name(.)}">
65 <xsl:apply-templates mode="titlepage.mode"/>
66 </div>
67 </xsl:otherwise>
68 </xsl:choose>
69 </xsl:template>
70
71 <!--TOC stuff-->
72 <xsl:param name="generate.toc">
73 appendix toc
74 book toc,title,figure,table,example,equation
75 chapter nop
76 part toc
77 preface nop
78 qandadiv nop
79 qandaset nop
80 reference nop
81 sect1 nop
82 sect2 nop
83 sect3 nop
84 sect4 nop
85 sect5 nop
86 section nop
87 set nop
88 </xsl:param>
89 <xsl:param name="toc.section.depth">1</xsl:param>
90 <xsl:param name="toc.max.depth">3</xsl:param>
91
92</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.