20816
|
1 <?xml version="1.0" encoding="utf-8"?>
|
9674
|
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
3 version="1.0">
|
|
4
|
|
5 <xsl:output method="html" indent="no"/>
|
|
6
|
|
7 <!-- **************
|
|
8 Set parameters
|
|
9 ************** -->
|
|
10
|
11207
|
11 <xsl:param name="toc.section.depth" select="'4'"/>
|
9674
|
12
|
|
13 <xsl:param name="html.stylesheet" select="'default.css'"/>
|
|
14 <xsl:param name="html.stylesheet.type" select="'text/css'"/>
|
|
15
|
|
16 <xsl:param name="html.cleanup" select="'1'"/>
|
|
17 <xsl:param name="make.valid.html" select="'1'"/>
|
|
18 <xsl:param name="make.single.year.ranges" select="'1'"/>
|
|
19 <xsl:param name="make.year.ranges" select="'1'"/>
|
|
20
|
|
21 <!-- Use ID value for generated filenames -->
|
|
22 <xsl:param name="use.id.as.filename" select="'1'"/>
|
|
23
|
|
24 <!-- Depth to which sections are chunked -->
|
|
25 <xsl:param name="chunk.section.depth" select="'1'"/>
|
|
26
|
|
27 <!-- Create a chunk for the 1st top-level section too -->
|
|
28 <xsl:param name="chunk.first.sections" select="'1'"/>
|
|
29
|
|
30 <xsl:param name="admon.graphics" select="'0'"/>
|
|
31 <xsl:param name="navig.graphics" select="'0'"/>
|
|
32 <xsl:param name="navig.showtitles" select="'1'"/>
|
10135
|
33
|
|
34 <!-- Generate more links for Site Navigation Bar -->
|
|
35 <xsl:param name="html.extra.head.links" select="1"/>
|
9674
|
36
|
|
37 <!-- Label sections too (eg. 2.1, 2.1.1) -->
|
|
38 <xsl:param name="section.autolabel" select="'1'"/>
|
|
39 <xsl:param name="section.label.includes.component.label" select="'1'"/>
|
|
40
|
|
41 <!-- Use informal procedures; no need to number them -->
|
|
42 <xsl:param name="formal.procedures" select="'0'"/>
|
|
43
|
|
44 <xsl:param name="generate.toc">
|
|
45 appendix toc
|
|
46 article toc
|
|
47 book toc
|
|
48 chapter toc
|
|
49 part toc
|
|
50 preface toc
|
|
51 qandadiv toc
|
|
52 qandaset toc
|
|
53 reference toc
|
|
54 section toc
|
|
55 set toc
|
|
56 </xsl:param>
|
|
57
|
|
58 <!-- *********
|
|
59 Templates
|
|
60 ********* -->
|
|
61
|
|
62 <xsl:template match="application">
|
|
63 <span class="application"><xsl:apply-templates/></span>
|
|
64 </xsl:template>
|
|
65
|
|
66 <xsl:template match="option">
|
|
67 <tt class="option"><xsl:apply-templates/></tt>
|
|
68 </xsl:template>
|
|
69
|
|
70 <xsl:template match="filename">
|
|
71 <tt class="filename"><xsl:apply-templates/></tt>
|
|
72 </xsl:template>
|
|
73
|
|
74 <xsl:template match="keycap">
|
|
75 <span class="keycap"><b><xsl:apply-templates/></b></span>
|
|
76 </xsl:template>
|
|
77
|
|
78 <xsl:template match="guimenu">
|
|
79 <span class="guimenu"><xsl:apply-templates/></span>
|
|
80 </xsl:template>
|
|
81
|
|
82 <xsl:template match="guisubmenu">
|
|
83 <span class="guisubmenu"><xsl:apply-templates/></span>
|
|
84 </xsl:template>
|
|
85
|
|
86 <xsl:template match="guimenuitem">
|
|
87 <span class="guimenuitem"><xsl:apply-templates/></span>
|
|
88 </xsl:template>
|
|
89
|
|
90 </xsl:stylesheet>
|