Slides FO Parameter Reference $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ Walsh Norman 2002 Norman Walsh This is reference documentation for all user-configurable parameters in the DocBook XSL Slides FO stylesheet (for generating PDF slide presentations). Note that the Slides stylesheet for FO output is a customization layer of the DocBook XSL FO stylesheet. Therefore, in addition to the slides-specific parameters listed in this section, you can also use a number of FO stylesheet parameters to control Slides FO output. FO: General Params slide.title.font.family list open serif sans-serif monospace slide.title.font.family Specifies font family to use for slide titles <xsl:param name="slide.title.font.family">Helvetica</xsl:param> Description Specifies the font family to use for slides titles. slide.font.family list open serif sans-serif monospace slide.font.family Specifies font family to use for slide bodies <xsl:param name="slide.font.family">Helvetica</xsl:param> Description Specifies the font family to use for slides bodies. foil.title.master number foil.title.master Specifies unitless font size to use for foil titles <xsl:param name="foil.title.master">36</xsl:param> <!-- Inconsistant use of point size? --> Description Specifies a unitless font size to use for foil titles; used in combination with the foil.title.size parameter. foil.title.size length foil.title.size Specifies font size to use for foil titles, including units <xsl:param name="foil.title.size"> <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text> </xsl:param> Description This parameter combines the value of the foil.title.master parameter with a unit specification. The default unit is pt (points). FO: Property Sets slides.properties attribute set slides.properties Specifies properties for all slides <xsl:attribute-set name="slides.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.font.family"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to all slides. foilgroup.properties attribute set foilgroup.properties Specifies properties for all foilgroups <xsl:attribute-set name="foilgroup.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.font.family"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to all foilgroups. foil.subtitle.properties attribute set foil.subtitle.properties Specifies properties for all foil subtitles <xsl:attribute-set name="foil.subtitle.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.title.font.family"></xsl:value-of> </xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$foil.title.master * 0.8"></xsl:value-of><xsl:text>pt</xsl:text> </xsl:attribute> <xsl:attribute name="space-after">12pt</xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to all foil subtitles. foil.properties attribute set foil.properties Specifies properties for all foils <xsl:attribute-set name="foil.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.font.family"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-{$direction.align.start}">1in</xsl:attribute> <xsl:attribute name="margin-{$direction.align.end}">1in</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$body.font.size"></xsl:value-of> </xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to all foils. speakernote.properties attribute set speakernote.properties Specifies properties for all speakernotes <xsl:attribute-set name="speakernote.properties"> <xsl:attribute name="font-family">Times Roman</xsl:attribute> <xsl:attribute name="font-style">italic</xsl:attribute> <xsl:attribute name="font-size">12pt</xsl:attribute> <xsl:attribute name="font-weight">normal</xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to all speakernotes. running.foot.properties attribute set running.foot.properties Specifies properties for running foot on each slide <xsl:attribute-set name="running.foot.properties"> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.font.family"></xsl:value-of> </xsl:attribute> <xsl:attribute name="font-size">14pt</xsl:attribute> <xsl:attribute name="color">#9F9F9F</xsl:attribute> </xsl:attribute-set> Description This parameter specifies properties that are applied to the running foot area of each slide. The Stylesheet The param.xsl stylesheet is just a wrapper around all these parameters. <!-- This file is generated from param.xweb --> <xsl:stylesheet exclude-result-prefixes="src" version="1.0"> <!-- ******************************************************************** $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ ******************************************************************** This file is part of the DocBook Slides Stylesheet distribution. See ../README or http://docbook.sf.net/release/xsl/current/ for copyright and other information. ******************************************************************** --> <src:fragref linkend="slide.font.family.frag"></src:fragref> <src:fragref linkend="slide.title.font.family.frag"></src:fragref> <src:fragref linkend="foil.title.master.frag"></src:fragref> <src:fragref linkend="foil.title.size.frag"></src:fragref> <src:fragref linkend="foilgroup.properties.frag"></src:fragref> <src:fragref linkend="foil.properties.frag"></src:fragref> <src:fragref linkend="foil.subtitle.properties.frag"></src:fragref> <src:fragref linkend="running.foot.properties.frag"></src:fragref> <src:fragref linkend="speakernote.properties.frag"></src:fragref> <src:fragref linkend="slides.properties.frag"></src:fragref> </xsl:stylesheet>