1 <xsl:stylesheet xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" version=
"1.0">
3 <xsl:param name=
"draft.mode" select=
"no"/>
5 <xsl:param name=
"fop1.extensions" select=
"1" />
6 <xsl:param name=
"section.autolabel" select=
"1" />
7 <xsl:param name=
"section.label.includes.component.label" select=
"1" />
8 <xsl:param name=
"generate.index" select=
"1" />
9 <xsl:param name=
"glossary.sort" select=
"1" />
11 <xsl:param name=
"body.start.indent">0pt
</xsl:param>
12 <xsl:param name=
"title.margin.left">-
0.5in
</xsl:param>
14 <xsl:attribute-set name=
"table.cell.padding">
15 <xsl:attribute name=
"padding-left">4pt
</xsl:attribute>
16 <xsl:attribute name=
"padding-right">4pt
</xsl:attribute>
17 <xsl:attribute name=
"padding-top">2pt
</xsl:attribute>
18 <xsl:attribute name=
"padding-bottom">2pt
</xsl:attribute>
21 <xsl:attribute-set name=
"section.title.level1.properties">
22 <xsl:attribute name=
"font-size">
23 <xsl:value-of select=
"$body.font.master * 1.44"/>
24 <xsl:text>pt
</xsl:text>
27 <xsl:attribute-set name=
"section.title.level2.properties">
28 <xsl:attribute name=
"font-size">
29 <xsl:value-of select=
"$body.font.master * 1.2"/>
30 <xsl:text>pt
</xsl:text>
33 <xsl:attribute-set name=
"section.title.level3.properties">
34 <xsl:attribute name=
"font-size">
35 <xsl:value-of select=
"$body.font.master * 1.1"/>
36 <xsl:text>pt
</xsl:text>
39 <xsl:attribute-set name=
"section.title.level4.properties">
40 <xsl:attribute name=
"font-size">
41 <xsl:value-of select=
"$body.font.master * 1.05"/>
42 <xsl:text>pt
</xsl:text>
47 <xsl:param name=
"admon.graphics" select=
"1"></xsl:param>
49 <xsl:attribute-set name=
"admonition.title.properties">
50 <xsl:attribute name=
"font-size">14pt
</xsl:attribute>
51 <xsl:attribute name=
"font-weight">bold
</xsl:attribute>
52 <xsl:attribute name=
"hyphenate">false
</xsl:attribute>
53 <xsl:attribute name=
"keep-with-next.within-column">always
</xsl:attribute>
55 <xsl:attribute name=
"padding">.33em
0 0 5px
</xsl:attribute>
57 <xsl:attribute name=
"border-top">3px solid
</xsl:attribute>
58 <xsl:attribute name=
"border-left">1px solid
</xsl:attribute>
60 <xsl:attribute name=
"border-color">
61 <xsl:param name=
"node" select=
"."/>
63 <xsl:when test=
"name($node)='note'">#
069</xsl:when>
64 <xsl:when test=
"name($node)='warning'">#
900</xsl:when>
65 <xsl:when test=
"name($node)='caution'">#c60
</xsl:when>
66 <xsl:when test=
"name($node)='tip'">#
090</xsl:when>
67 <xsl:when test=
"name($node)='important'">#
069</xsl:when>
68 <xsl:otherwise>#
069</xsl:otherwise>
74 <xsl:attribute-set name=
"admonition.properties">
75 <xsl:attribute name=
"padding">.33em
0 0 5px
</xsl:attribute>
77 <xsl:attribute name=
"border-left">1px solid
</xsl:attribute>
78 <xsl:attribute name=
"border-color">
79 <xsl:param name=
"node" select=
"."/>
81 <xsl:when test=
"name($node)='note'">#
069</xsl:when>
82 <xsl:when test=
"name($node)='warning'">#
900</xsl:when>
83 <xsl:when test=
"name($node)='caution'">#c60
</xsl:when>
84 <xsl:when test=
"name($node)='tip'">#
090</xsl:when>
85 <xsl:when test=
"name($node)='important'">#
069</xsl:when>
86 <xsl:otherwise>#
069</xsl:otherwise>