Trim extra whitespaces and newlines in TortoiseIDiff
[TortoiseGit.git] / doc / xsl / defaults.xsl
blob1272aa873b5ab31b9a05f8f62324bc97e88aac72
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>
19 </xsl:attribute-set>
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>
25 </xsl:attribute>
26 </xsl:attribute-set>
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>
31 </xsl:attribute>
32 </xsl:attribute-set>
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>
37 </xsl:attribute>
38 </xsl:attribute-set>
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>
43 </xsl:attribute>
44 </xsl:attribute-set>
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="."/>
62 <xsl:choose>
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>
69 </xsl:choose>
70 </xsl:attribute>
72 </xsl:attribute-set>
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="."/>
80 <xsl:choose>
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>
87 </xsl:choose>
88 </xsl:attribute>
90 </xsl:attribute-set>
92 </xsl:stylesheet>