1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
6 This file contains XSLT stylesheet customizations that are common to
7 all output formats (HTML, HTML Help, XSL-FO, etc.).
13 <xsl:param name=
"pg.fast" select=
"'0'"/>
16 <xsl:param name="draft.mode">
18 <xsl:when test="contains($pg.version, 'devel')">yes</xsl:when>
19 <xsl:otherwise>no</xsl:otherwise>
24 <xsl:param name=
"show.comments">
26 <xsl:when test=
"contains($pg.version, 'devel')">1</xsl:when>
27 <xsl:otherwise>0</xsl:otherwise>
31 <xsl:param name=
"callout.graphics" select=
"'0'"></xsl:param>
32 <xsl:param name=
"toc.section.depth">2</xsl:param>
33 <xsl:param name=
"linenumbering.extension" select=
"'0'"></xsl:param>
34 <xsl:param name=
"generate.index" select=
"1 - $pg.fast"></xsl:param>
35 <xsl:param name=
"preface.autolabel" select=
"1 - $pg.fast"></xsl:param>
36 <xsl:param name=
"section.autolabel" select=
"1 - $pg.fast"></xsl:param>
37 <xsl:param name=
"section.label.includes.component.label" select=
"1 - $pg.fast"></xsl:param>
38 <xsl:param name=
"refentry.xref.manvolnum" select=
"0"/>
39 <xsl:param name=
"formal.procedures" select=
"0"></xsl:param>
40 <xsl:param name=
"punct.honorific" select=
"''"></xsl:param>
43 <!-- Change display of some elements -->
45 <xsl:template match=
"command">
46 <xsl:call-template name=
"inline.monoseq"/>
49 <xsl:template match=
"productname">
50 <xsl:call-template name=
"inline.charseq"/>
53 <xsl:template match=
"structfield">
54 <xsl:call-template name=
"inline.monoseq"/>
57 <xsl:template match=
"structname">
58 <xsl:call-template name=
"inline.monoseq"/>
61 <xsl:template match=
"symbol">
62 <xsl:call-template name=
"inline.monoseq"/>
65 <xsl:template match=
"systemitem">
66 <xsl:call-template name=
"inline.charseq"/>
69 <xsl:template match=
"token">
70 <xsl:call-template name=
"inline.monoseq"/>
73 <xsl:template match=
"type">
74 <xsl:call-template name=
"inline.monoseq"/>
77 <xsl:template match=
"programlisting/emphasis">
78 <xsl:call-template name=
"inline.boldseq"/>
82 <!-- Special support for Tcl synopses -->
84 <xsl:template match=
"optional[@role='tcl']">
85 ?
<xsl:call-template name=
"inline.charseq"/>?