source: stylesheets/xhtml/lfs-titles.xsl@ e9de734

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 e9de734 was 276015d2, checked in by Randy McMurchy <randy@…>, 17 years ago

Added the LastChangedBy and Date keywords then set the corresponding keyword property on each file in the repo

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

  • Property mode set to 100644
File size: 2.6 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<!--
8$LastChangedBy$
9$Date$
10-->
11
12 <xsl:template name="part.titlepage">
13 <div class="titlepage">
14 <xsl:if test="@id">
15 <a id="{@id}" name="{@id}"/>
16 </xsl:if>
17 <h1 class="{name(.)}">
18 <xsl:value-of select="title"/>
19 </h1>
20 </div>
21 </xsl:template>
22
23 <xsl:template name="chapter.titlepage">
24 <div class="titlepage">
25 <xsl:if test="@id">
26 <a id="{@id}" name="{@id}"/>
27 </xsl:if>
28 <h1 class="{name(.)}">
29 <xsl:value-of select="title"/>
30 </h1>
31 </div>
32 </xsl:template>
33
34 <xsl:template name="preface.titlepage">
35 <div class="titlepage">
36 <xsl:if test="@id">
37 <a id="{@id}" name="{@id}"/>
38 </xsl:if>
39 <h1 class="{name(.)}">
40 <xsl:value-of select="title"/>
41 </h1>
42 </div>
43 </xsl:template>
44
45 <xsl:template name="appendix.titlepage">
46 <div class="titlepage">
47 <xsl:if test="@id">
48 <a id="{@id}" name="{@id}"/>
49 </xsl:if>
50 <h1 class="{name(.)}">
51 <xsl:value-of select="title"/>
52 </h1>
53 </div>
54 </xsl:template>
55
56 <xsl:template name="sect1.titlepage">
57 <div class="titlepage">
58 <xsl:if test="@id">
59 <a id="{@id}" name="{@id}"/>
60 </xsl:if>
61 <h1 class="{name(.)}">
62 <xsl:value-of select="title"/>
63 </h1>
64 </div>
65 </xsl:template>
66
67 <xsl:template name="sect2.titlepage">
68 <xsl:choose>
69 <xsl:when test="string-length(title) = 0"/>
70 <xsl:otherwise>
71 <div class="titlepage">
72 <xsl:if test="@id">
73 <a id="{@id}" name="{@id}"/>
74 </xsl:if>
75 <h2 class="{name(.)}">
76 <xsl:value-of select="title"/>
77 </h2>
78 </div>
79 </xsl:otherwise>
80 </xsl:choose>
81 </xsl:template>
82
83 <xsl:template name="dedication.titlepage">
84 <div class="titlepage">
85 <h2 class="{name(.)}">
86 <xsl:value-of select="title"/>
87 </h2>
88 </div>
89 </xsl:template>
90
91 <!-- Added the role param for proper punctuation in xref calls. -->
92 <xsl:template match="*" mode="insert.title.markup">
93 <xsl:param name="purpose"/>
94 <xsl:param name="xrefstyle"/>
95 <xsl:param name="title"/>
96 <xsl:param name="role"/>
97 <xsl:choose>
98 <xsl:when test="$purpose = 'xref' and titleabbrev">
99 <xsl:apply-templates select="." mode="titleabbrev.markup"/>
100 </xsl:when>
101 <xsl:otherwise>
102 <xsl:copy-of select="$title"/>
103 <xsl:value-of select="$role"/>
104 </xsl:otherwise>
105 </xsl:choose>
106 </xsl:template>
107
108</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.