2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
4 xmlns=
"http://www.w3.org/1999/xhtml">
6 <xsl:import href=
"http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
7 <xsl:import href=
"stylesheet-common.xsl" />
9 <!-- The customizations here are somewhat random in order to make the text
12 <!-- no section numbers or ToC -->
13 <xsl:param name=
"chapter.autolabel" select=
"0"/>
14 <xsl:param name=
"section.autolabel" select=
"0"/>
15 <xsl:param name=
"generate.toc"></xsl:param>
17 <!-- don't need them, and they mess up formatting -->
18 <xsl:template match=
"indexterm">
21 <xsl:template match=
"step">
23 <xsl:call-template name=
"common.html.attributes"/>
24 <xsl:call-template name=
"id.attribute"/>
25 <!-- messes up formatting
26 <xsl:call-template name="anchor"/>
28 <xsl:apply-templates/>
32 <!-- produce "ASCII markup" for emphasis and such -->
34 <xsl:template match=
"emphasis">
35 <xsl:text>*
</xsl:text>
36 <xsl:apply-templates/>
37 <xsl:text>*
</xsl:text>
40 <xsl:template match=
"para/command|para/filename|para/option|para/replaceable">
41 <xsl:call-template name=
"gentext.startquote"/>
42 <xsl:apply-templates/>
43 <xsl:call-template name=
"gentext.endquote"/>
46 <xsl:template match=
"filename/replaceable|firstterm">
47 <xsl:apply-templates/>
50 <!-- tweak formatting for note, warning, etc. -->
51 <xsl:template name=
"nongraphical.admonition">
53 <xsl:call-template name=
"common.html.attributes">
54 <xsl:with-param name=
"inherit" select=
"1"/>
56 <xsl:call-template name=
"id.attribute"/>
58 <xsl:if test=
"$admon.textlabel != 0 or title or info/title">
61 <xsl:call-template name=
"anchor"/>
62 <xsl:apply-templates select=
"." mode=
"object.title.markup"/>:
67 <xsl:apply-templates/>
71 <!-- horizontal rules before titles (matches old DSSSL style) -->
73 <xsl:template match=
"sect1/title
76 mode=
"titlepage.mode" priority=
"2">
78 <xsl:call-template name=
"section.title"/>
81 <xsl:template match=
"sect2/title
84 mode=
"titlepage.mode" priority=
"2">
86 <xsl:call-template name=
"section.title"/>
89 <xsl:template match=
"sect3/title
92 mode=
"titlepage.mode" priority=
"2">
94 <xsl:call-template name=
"section.title"/>