diff options
Diffstat (limited to 'slides/fo/param.xml')
-rw-r--r-- | slides/fo/param.xml | 356 |
1 files changed, 356 insertions, 0 deletions
diff --git a/slides/fo/param.xml b/slides/fo/param.xml new file mode 100644 index 0000000..7aaa787 --- /dev/null +++ b/slides/fo/param.xml @@ -0,0 +1,356 @@ +<?xml version="1.0" encoding="ASCII"?> +<book version="5.0" xml:id="slides_fo_doc"> +<info> +<title>Slides FO Parameter Reference</title> +<releaseinfo role="meta"> +$Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ +</releaseinfo> +<author> + <personname> + <surname>Walsh</surname> + <firstname>Norman</firstname> + </personname> +</author> +<copyright> + <year>2002-2011</year> + <holder>Norman Walsh</holder> +</copyright> +<abstract> + <para>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 <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../fo/">FO stylesheet + parameters</link> to control Slides FO output.</para> +</abstract> +</info> +<reference xml:id="fo"> + <title>FO: General Params</title> +<refentry version="5.0" xml:id="slide.title.font.family"> +<refmeta> +<refentrytitle>slide.title.font.family</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> +<refmiscinfo class="other" otherclass="list-type">open</refmiscinfo> +<refmiscinfo class="other" otherclass="value">serif</refmiscinfo> +<refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo> +<refmiscinfo class="other" otherclass="value">monospace</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slide.title.font.family</refname> +<refpurpose>Specifies font family to use for slide titles</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<programlisting xml:id="slide.title.font.family.frag"> +<xsl:param name="slide.title.font.family">Helvetica</xsl:param> +</programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>Specifies the font family to use for slides titles.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="slide.font.family"> +<refmeta> +<refentrytitle>slide.font.family</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> +<refmiscinfo class="other" otherclass="list-type">open</refmiscinfo> +<refmiscinfo class="other" otherclass="value">serif</refmiscinfo> +<refmiscinfo class="other" otherclass="value">sans-serif</refmiscinfo> +<refmiscinfo class="other" otherclass="value">monospace</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slide.font.family</refname> +<refpurpose>Specifies font family to use for slide bodies</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<programlisting xml:id="slide.font.family.frag"> +<xsl:param name="slide.font.family">Helvetica</xsl:param> +</programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>Specifies the font family to use for slides bodies.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="foil.title.master"> +<refmeta> +<refentrytitle>foil.title.master</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">number</refmiscinfo> +</refmeta> +<refnamediv> +<refname>foil.title.master</refname> +<refpurpose>Specifies unitless font size to use for foil titles</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<programlisting xml:id="foil.title.master.frag"> +<xsl:param name="foil.title.master">36</xsl:param> +<!-- Inconsistant use of point size? --> +</programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>Specifies a unitless font size to use for foil titles; used in +combination with the <parameter>foil.title.size</parameter> +parameter.</para> +</refsection> +</refentry> + +<refentry version="5.0" xml:id="foil.title.size"> +<refmeta> +<refentrytitle>foil.title.size</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> +</refmeta> +<refnamediv> +<refname>foil.title.size</refname> +<refpurpose>Specifies font size to use for foil titles, including units</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="foil.title.size.frag"> + <xsl:param name="foil.title.size"> + <xsl:value-of select="$foil.title.master"></xsl:value-of><xsl:text>pt</xsl:text> + </xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter combines the value of the +<parameter>foil.title.master</parameter> parameter with a unit +specification. The default unit is <literal>pt</literal> +(points).</para> + +</refsection> +</refentry> + +</reference> +<reference xml:id="propsets"> + <title>FO: Property Sets</title> +<refentry version="5.0" xml:id="slides.properties"> +<refmeta> +<refentrytitle>slides.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slides.properties</refname> +<refpurpose>Specifies properties for all slides</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slides.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to all slides.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="foilgroup.properties"> +<refmeta> +<refentrytitle>foilgroup.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>foilgroup.properties</refname> +<refpurpose>Specifies properties for all foilgroups</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="foilgroup.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to all foilgroups.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="foil.subtitle.properties"> +<refmeta> +<refentrytitle>foil.subtitle.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>foil.subtitle.properties</refname> +<refpurpose>Specifies properties for all foil subtitles</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="foil.subtitle.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to all foil subtitles.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="foil.properties"> +<refmeta> +<refentrytitle>foil.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>foil.properties</refname> +<refpurpose>Specifies properties for all foils</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="foil.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to all foils.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="speakernote.properties"> +<refmeta> +<refentrytitle>speakernote.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>speakernote.properties</refname> +<refpurpose>Specifies properties for all speakernotes</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="speakernote.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to all speakernotes.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="running.foot.properties"> +<refmeta> +<refentrytitle>running.foot.properties</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> +</refmeta> +<refnamediv> +<refname>running.foot.properties</refname> +<refpurpose>Specifies properties for running foot on each slide</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="running.foot.properties.frag"> + <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> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies properties that are applied to the +running foot area of each slide.</para> + +</refsection> +</refentry> + +</reference> + +<appendix xml:id="styleheet"><title>The Stylesheet</title> + +<para>The <filename>param.xsl</filename> stylesheet is just a wrapper +around all these parameters.</para> + +<programlisting xml:id="top"> + +<!-- 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> +</programlisting> + +</appendix> +</book> |