Upgrade libgit2
[TortoiseGit.git] / doc / xsl / defaults.xsl
blob67921c0b03bd4a8ab0837165632021f515af9e28
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="ulink.target">_blank</xsl:param>
13 <xsl:param name="body.start.indent">0pt</xsl:param>
14 <xsl:param name="title.margin.left">-0.5in</xsl:param>
16 <xsl:attribute-set name="table.cell.padding">
17 <xsl:attribute name="padding-left">4pt</xsl:attribute>
18 <xsl:attribute name="padding-right">4pt</xsl:attribute>
19 <xsl:attribute name="padding-top">2pt</xsl:attribute>
20 <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
21 </xsl:attribute-set>
23 <xsl:attribute-set name="section.title.level1.properties">
24 <xsl:attribute name="font-size">
25 <xsl:value-of select="$body.font.master * 1.44"/>
26 <xsl:text>pt</xsl:text>
27 </xsl:attribute>
28 </xsl:attribute-set>
29 <xsl:attribute-set name="section.title.level2.properties">
30 <xsl:attribute name="font-size">
31 <xsl:value-of select="$body.font.master * 1.2"/>
32 <xsl:text>pt</xsl:text>
33 </xsl:attribute>
34 </xsl:attribute-set>
35 <xsl:attribute-set name="section.title.level3.properties">
36 <xsl:attribute name="font-size">
37 <xsl:value-of select="$body.font.master * 1.1"/>
38 <xsl:text>pt</xsl:text>
39 </xsl:attribute>
40 </xsl:attribute-set>
41 <xsl:attribute-set name="section.title.level4.properties">
42 <xsl:attribute name="font-size">
43 <xsl:value-of select="$body.font.master * 1.05"/>
44 <xsl:text>pt</xsl:text>
45 </xsl:attribute>
46 </xsl:attribute-set>
49 <xsl:param name="admon.graphics" select="1"></xsl:param>
51 <xsl:attribute-set name="admonition.title.properties">
52 <xsl:attribute name="font-size">14pt</xsl:attribute>
53 <xsl:attribute name="font-weight">bold</xsl:attribute>
54 <xsl:attribute name="hyphenate">false</xsl:attribute>
55 <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
57 <xsl:attribute name="padding">.33em 0 0 5px</xsl:attribute>
59 <xsl:attribute name="border-top">3px solid</xsl:attribute>
60 <xsl:attribute name="border-left">1px solid</xsl:attribute>
62 <xsl:attribute name="border-color">
63 <xsl:variable name="node" select="."/>
64 <xsl:choose>
65 <xsl:when test="name($node)='note'">#069</xsl:when>
66 <xsl:when test="name($node)='warning'">#900</xsl:when>
67 <xsl:when test="name($node)='caution'">#c60</xsl:when>
68 <xsl:when test="name($node)='tip'">#090</xsl:when>
69 <xsl:when test="name($node)='important'">#069</xsl:when>
70 <xsl:otherwise>#069</xsl:otherwise>
71 </xsl:choose>
72 </xsl:attribute>
74 </xsl:attribute-set>
76 <xsl:attribute-set name="admonition.properties">
77 <xsl:attribute name="padding">.33em 0 0 5px</xsl:attribute>
79 <xsl:attribute name="border-left">1px solid</xsl:attribute>
80 <xsl:attribute name="border-color">
81 <xsl:variable name="node" select="."/>
82 <xsl:choose>
83 <xsl:when test="name($node)='note'">#069</xsl:when>
84 <xsl:when test="name($node)='warning'">#900</xsl:when>
85 <xsl:when test="name($node)='caution'">#c60</xsl:when>
86 <xsl:when test="name($node)='tip'">#090</xsl:when>
87 <xsl:when test="name($node)='important'">#069</xsl:when>
88 <xsl:otherwise>#069</xsl:otherwise>
89 </xsl:choose>
90 </xsl:attribute>
92 </xsl:attribute-set>
94 </xsl:stylesheet>