annotate DOCS/xml/html-common.xsl @ 21045:20b2f1257397

sync with r20876, patch by Jerome Ferrari
author gpoirier
date Sun, 19 Nov 2006 16:42:08 +0000
parents abde88225c3a
children e9555bd1a9fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20816
cf5519000a08 Mark file as UTF-8-encoded.
diego
parents: 11207
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
3 version="1.0">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
4
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
5 <xsl:output method="html" indent="no"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
6
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
7 <!-- **************
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
8 Set parameters
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
9 ************** -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
10
20924
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
11 <xsl:param name="chunker.output.encoding" select="'utf-8'"/>
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
12 <xsl:output encoding="utf-8"/>
abde88225c3a Output UTF-8 instead of legacy encodings by default.
diego
parents: 20816
diff changeset
13
11207
e05e51e21806 number of branches increased from 3 to 4
gabucino
parents: 10135
diff changeset
14 <xsl:param name="toc.section.depth" select="'4'"/>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
15
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
16 <xsl:param name="html.stylesheet" select="'default.css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
17 <xsl:param name="html.stylesheet.type" select="'text/css'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
18
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
19 <xsl:param name="html.cleanup" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
20 <xsl:param name="make.valid.html" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
21 <xsl:param name="make.single.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
22 <xsl:param name="make.year.ranges" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
23
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
24 <!-- Use ID value for generated filenames -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
25 <xsl:param name="use.id.as.filename" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
26
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
27 <!-- Depth to which sections are chunked -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
28 <xsl:param name="chunk.section.depth" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
29
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
30 <!-- Create a chunk for the 1st top-level section too -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
31 <xsl:param name="chunk.first.sections" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
32
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
33 <xsl:param name="admon.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
34 <xsl:param name="navig.graphics" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
35 <xsl:param name="navig.showtitles" select="'1'"/>
10135
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
36
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
37 <!-- Generate more links for Site Navigation Bar -->
1e566429cbf9 Generate more links for Site navigation Bar.
lumag
parents: 9674
diff changeset
38 <xsl:param name="html.extra.head.links" select="1"/>
9674
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
39
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
40 <!-- Label sections too (eg. 2.1, 2.1.1) -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
41 <xsl:param name="section.autolabel" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
42 <xsl:param name="section.label.includes.component.label" select="'1'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
43
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
44 <!-- Use informal procedures; no need to number them -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
45 <xsl:param name="formal.procedures" select="'0'"/>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
46
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
47 <xsl:param name="generate.toc">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
48 appendix toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
49 article toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
50 book toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
51 chapter toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
52 part toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
53 preface toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
54 qandadiv toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
55 qandaset toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
56 reference toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
57 section toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
58 set toc
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
59 </xsl:param>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
60
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
61 <!-- *********
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
62 Templates
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
63 ********* -->
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
64
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
65 <xsl:template match="application">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
66 <span class="application"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
67 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
68
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
69 <xsl:template match="option">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
70 <tt class="option"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
71 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
72
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
73 <xsl:template match="filename">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
74 <tt class="filename"><xsl:apply-templates/></tt>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
75 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
76
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
77 <xsl:template match="keycap">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
78 <span class="keycap"><b><xsl:apply-templates/></b></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
79 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
80
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
81 <xsl:template match="guimenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
82 <span class="guimenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
83 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
84
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
85 <xsl:template match="guisubmenu">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
86 <span class="guisubmenu"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
87 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
88
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
89 <xsl:template match="guimenuitem">
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
90 <span class="guimenuitem"><xsl:apply-templates/></span>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
91 </xsl:template>
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
92
461f71ba8af4 XML version of MPlayer's doc
nicolas
parents:
diff changeset
93 </xsl:stylesheet>