1 <?xml version="1.0" encoding="ASCII"?>
2 <book version="5.0" xml:id="slides_fo_doc">
4 <title>Slides FO Parameter Reference</title>
5 <releaseinfo role="meta">
6 $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
10 <surname>Walsh</surname>
11 <firstname>Norman</firstname>
16 <holder>Norman Walsh</holder>
19 <para>This is reference documentation for all user-configurable
20 parameters in the DocBook XSL Slides FO stylesheet (for
21 generating PDF slide presentations). Note that the Slides
22 stylesheet for FO output is a customization layer of the
23 DocBook XSL FO stylesheet. Therefore, in addition to the
24 slides-specific parameters listed in this section, you can
25 also use a number of <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../fo/">FO stylesheet
26 parameters</link> to control Slides FO output.</para>
29 <reference xml:id="fo">
30 <title>FO: General Params</title>
31 <refentry version="5.0" xml:id="slide.title.font.family">
33 <refentrytitle>slide.title.font.family</refentrytitle>
34 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
35 <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
36 <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
37 <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
38 <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
41 <refname>slide.title.font.family</refname>
42 <refpurpose>Specifies font family to use for slide titles</refpurpose>
46 <programlisting xml:id="slide.title.font.family.frag">
47 <xsl:param name="slide.title.font.family">Helvetica</xsl:param>
51 <refsection><info><title>Description</title></info>
53 <para>Specifies the font family to use for slides titles.</para>
58 <refentry version="5.0" xml:id="slide.font.family">
60 <refentrytitle>slide.font.family</refentrytitle>
61 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
62 <refmiscinfo class="other" otherclass="list-type">open</refmiscinfo>
63 <refmiscinfo class="other" otherclass="value">serif</refmiscinfo>
64 <refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo>
65 <refmiscinfo class="other" otherclass="value">monospace</refmiscinfo>
68 <refname>slide.font.family</refname>
69 <refpurpose>Specifies font family to use for slide bodies</refpurpose>
73 <programlisting xml:id="slide.font.family.frag">
74 <xsl:param name="slide.font.family">Helvetica</xsl:param>
78 <refsection><info><title>Description</title></info>
80 <para>Specifies the font family to use for slides bodies.</para>
85 <refentry version="5.0" xml:id="foil.title.master">
87 <refentrytitle>foil.title.master</refentrytitle>
88 <refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
91 <refname>foil.title.master</refname>
92 <refpurpose>Specifies unitless font size to use for foil titles</refpurpose>
96 <programlisting xml:id="foil.title.master.frag">
97 <xsl:param name="foil.title.master">36</xsl:param>
98 <!-- Inconsistant use of point size? -->
102 <refsection><info><title>Description</title></info>
104 <para>Specifies a unitless font size to use for foil titles; used in
105 combination with the <parameter>foil.title.size</parameter>
110 <refentry version="5.0" xml:id="foil.title.size">
112 <refentrytitle>foil.title.size</refentrytitle>
113 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
116 <refname>foil.title.size</refname>
117 <refpurpose>Specifies font size to use for foil titles, including units</refpurpose>
121 <programlisting xml:id="foil.title.size.frag">
122 <xsl:param name="foil.title.size">
123 <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text>
128 <refsection><info><title>Description</title></info>
130 <para>This parameter combines the value of the
131 <parameter>foil.title.master</parameter> parameter with a unit
132 specification. The default unit is <literal>pt</literal>
139 <reference xml:id="propsets">
140 <title>FO: Property Sets</title>
141 <refentry version="5.0" xml:id="slides.properties">
143 <refentrytitle>slides.properties</refentrytitle>
144 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
147 <refname>slides.properties</refname>
148 <refpurpose>Specifies properties for all slides</refpurpose>
152 <programlisting xml:id="slides.properties.frag">
153 <xsl:attribute-set name="slides.properties">
154 <xsl:attribute name="font-family">
155 <xsl:value-of select="$slide.font.family"></xsl:value-of>
156 </xsl:attribute>
157 </xsl:attribute-set>
161 <refsection><info><title>Description</title></info>
163 <para>This parameter specifies properties that are applied to all slides.</para>
168 <refentry version="5.0" xml:id="foilgroup.properties">
170 <refentrytitle>foilgroup.properties</refentrytitle>
171 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
174 <refname>foilgroup.properties</refname>
175 <refpurpose>Specifies properties for all foilgroups</refpurpose>
179 <programlisting xml:id="foilgroup.properties.frag">
180 <xsl:attribute-set name="foilgroup.properties">
181 <xsl:attribute name="font-family">
182 <xsl:value-of select="$slide.font.family"></xsl:value-of>
183 </xsl:attribute>
184 </xsl:attribute-set>
188 <refsection><info><title>Description</title></info>
190 <para>This parameter specifies properties that are applied to all foilgroups.</para>
195 <refentry version="5.0" xml:id="foil.subtitle.properties">
197 <refentrytitle>foil.subtitle.properties</refentrytitle>
198 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
201 <refname>foil.subtitle.properties</refname>
202 <refpurpose>Specifies properties for all foil subtitles</refpurpose>
206 <programlisting xml:id="foil.subtitle.properties.frag">
207 <xsl:attribute-set name="foil.subtitle.properties">
208 <xsl:attribute name="font-family">
209 <xsl:value-of select="$slide.title.font.family"></xsl:value-of>
210 </xsl:attribute>
211 <xsl:attribute name="text-align">center</xsl:attribute>
212 <xsl:attribute name="font-size">
213 <xsl:value-of select="$foil.title.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text>
214 </xsl:attribute>
215 <xsl:attribute name="space-after">12pt</xsl:attribute>
216 </xsl:attribute-set>
220 <refsection><info><title>Description</title></info>
222 <para>This parameter specifies properties that are applied to all foil subtitles.</para>
227 <refentry version="5.0" xml:id="foil.properties">
229 <refentrytitle>foil.properties</refentrytitle>
230 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
233 <refname>foil.properties</refname>
234 <refpurpose>Specifies properties for all foils</refpurpose>
238 <programlisting xml:id="foil.properties.frag">
239 <xsl:attribute-set name="foil.properties">
240 <xsl:attribute name="font-family">
241 <xsl:value-of select="$slide.font.family"></xsl:value-of>
242 </xsl:attribute>
243 <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute>
244 <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute>
245 <xsl:attribute name="font-size">
246 <xsl:value-of select="$body.font.size"></xsl:value-of>
247 </xsl:attribute>
248 <xsl:attribute name="font-weight">bold</xsl:attribute>
249 </xsl:attribute-set>
253 <refsection><info><title>Description</title></info>
255 <para>This parameter specifies properties that are applied to all foils.</para>
260 <refentry version="5.0" xml:id="speakernote.properties">
262 <refentrytitle>speakernote.properties</refentrytitle>
263 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
266 <refname>speakernote.properties</refname>
267 <refpurpose>Specifies properties for all speakernotes</refpurpose>
271 <programlisting xml:id="speakernote.properties.frag">
272 <xsl:attribute-set name="speakernote.properties">
273 <xsl:attribute name="font-family">Times Roman</xsl:attribute>
274 <xsl:attribute name="font-style">italic</xsl:attribute>
275 <xsl:attribute name="font-size">12pt</xsl:attribute>
276 <xsl:attribute name="font-weight">normal</xsl:attribute>
277 </xsl:attribute-set>
281 <refsection><info><title>Description</title></info>
283 <para>This parameter specifies properties that are applied to all speakernotes.</para>
288 <refentry version="5.0" xml:id="running.foot.properties">
290 <refentrytitle>running.foot.properties</refentrytitle>
291 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
294 <refname>running.foot.properties</refname>
295 <refpurpose>Specifies properties for running foot on each slide</refpurpose>
299 <programlisting xml:id="running.foot.properties.frag">
300 <xsl:attribute-set name="running.foot.properties">
301 <xsl:attribute name="font-family">
302 <xsl:value-of select="$slide.font.family"></xsl:value-of>
303 </xsl:attribute>
304 <xsl:attribute name="font-size">14pt</xsl:attribute>
305 <xsl:attribute name="color">#9F9F9F</xsl:attribute>
306 </xsl:attribute-set>
310 <refsection><info><title>Description</title></info>
312 <para>This parameter specifies properties that are applied to the
313 running foot area of each slide.</para>
320 <appendix xml:id="styleheet"><title>The Stylesheet</title>
322 <para>The <filename>param.xsl</filename> stylesheet is just a wrapper
323 around all these parameters.</para>
325 <programlisting xml:id="top">
327 <!-- This file is generated from param.xweb -->
329 <xsl:stylesheet exclude-result-prefixes="src" version="1.0">
331 <!-- ********************************************************************
332 $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
333 ********************************************************************
335 This file is part of the DocBook Slides Stylesheet distribution.
336 See ../README or http://docbook.sf.net/release/xsl/current/ for
337 copyright and other information.
339 ******************************************************************** -->
341 <src:fragref linkend="slide.font.family.frag"></src:fragref>
342 <src:fragref linkend="slide.title.font.family.frag"></src:fragref>
343 <src:fragref linkend="foil.title.master.frag"></src:fragref>
344 <src:fragref linkend="foil.title.size.frag"></src:fragref>
345 <src:fragref linkend="foilgroup.properties.frag"></src:fragref>
346 <src:fragref linkend="foil.properties.frag"></src:fragref>
347 <src:fragref linkend="foil.subtitle.properties.frag"></src:fragref>
348 <src:fragref linkend="running.foot.properties.frag"></src:fragref>
349 <src:fragref linkend="speakernote.properties.frag"></src:fragref>
350 <src:fragref linkend="slides.properties.frag"></src:fragref>
352 </xsl:stylesheet>