source: trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.fo-base.xsl @ 3153

Last change on this file since 3153 was 3153, checked in by Nicklas Nordborg, 16 years ago

Added docbook DTD:s and stylesheets

File size: 3.7 KB
Line 
1<?xml version='1.0'?>
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3                xmlns:fo="http://www.w3.org/1999/XSL/Format"
4                version='1.0'>
5
6<xsl:param name="body.font.family" select="'QuasiBookmanTTF'" />
7<xsl:param name="title.font.family" select="'QuasiBookmanTTF'" />
8<xsl:param name="dingbat.font.family" select="''" />
9
10<xsl:param name="monospace.font.family" select="'QuasiCourierTTF'" />
11<xsl:param name="sans.font.family" select="'QuasiSwissTTF'" /> 
12
13
14<xsl:param name="section.label.includes.component.label" select="1" />
15<xsl:param name="section.autolabel" select="1" />
16<xsl:param name="generate.toc">book toc,title</xsl:param>
17
18<xsl:param name="callout.graphics" select="'0'" />
19<xsl:param name="callout.unicode" select="'1'" />
20<xsl:param name="callout.graphics.path">gfx/admonitions/callouts/</xsl:param>
21<xsl:param name="callout.graphics.extension">.gif</xsl:param>
22
23<xsl:param name="admon.graphics" select="0"/>
24<xsl:param name="admon.graphics.path">gfx/admonitions/</xsl:param>
25<xsl:param name="admon.graphics.extension">.gif</xsl:param>
26
27<xsl:param name="draft.mode">no</xsl:param>
28
29<xsl:param name="ulink.footnotes" select="0"/>
30<xsl:param name="ulink.show" select="0"/>
31
32
33<xsl:attribute-set name="admonition.properties">
34    <xsl:attribute name="font-size">90%</xsl:attribute>
35    <xsl:attribute name="border-left-style">solid</xsl:attribute>
36    <xsl:attribute name="border-left-color">black</xsl:attribute>
37    <xsl:attribute name="border-left-width">1pt</xsl:attribute>
38    <xsl:attribute name="padding-left">2em</xsl:attribute>
39    <xsl:attribute name="margin-left">2em</xsl:attribute>
40</xsl:attribute-set>
41
42<xsl:attribute-set name="admonition.title.properties">
43  <xsl:attribute name="font-family">QuasiSwissTTF</xsl:attribute>
44    <xsl:attribute name="font-size">90%</xsl:attribute>
45    <xsl:attribute name="font-weight">bold</xsl:attribute>
46
47    <xsl:attribute name="border-left-style">solid</xsl:attribute>
48    <xsl:attribute name="border-left-color">black</xsl:attribute>
49    <xsl:attribute name="border-left-width">1pt</xsl:attribute>
50    <xsl:attribute name="padding-left">2em</xsl:attribute>
51    <xsl:attribute name="margin-left">2em</xsl:attribute>
52
53    <xsl:attribute name="space-after">0pt</xsl:attribute>
54</xsl:attribute-set>
55
56<xsl:attribute-set name="formal.title.properties">
57  <xsl:attribute name="font-weight">bold</xsl:attribute>
58  <xsl:attribute name="font-size">
59    <xsl:value-of select="$body.font.master * 0.9"/>
60    <xsl:text>pt</xsl:text>
61  </xsl:attribute>
62  <xsl:attribute name="hyphenate">false</xsl:attribute>
63  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
64  <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
65  <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
66</xsl:attribute-set> 
67
68<xsl:attribute-set name="section.title.properties">
69  <xsl:attribute name="text-align">left</xsl:attribute>
70</xsl:attribute-set>
71
72<xsl:attribute-set name="verbatim.properties">
73  <xsl:attribute name="font-size">
74    <xsl:value-of select="$body.font.master * 0.8"/>
75    <xsl:text>pt</xsl:text>
76  </xsl:attribute>
77  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
78  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
79  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
80  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
81  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
82  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
83  <xsl:attribute name="padding">3pt</xsl:attribute>
84</xsl:attribute-set>
85
86<xsl:param name="shade.verbatim" select="1"/>
87
88<xsl:attribute-set name="shade.verbatim.style">
89  <xsl:attribute name="background-color">#f0f0f0</xsl:attribute>
90</xsl:attribute-set>
91
92 
93</xsl:stylesheet>
94
Note: See TracBrowser for help on using the repository browser.