<?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>Kövesdán</surname> <firstname>Gábor</firstname> </personname> </author> <copyright> <year>2012</year> <holder>Gábor Kövesdán</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="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> <refentry version="5.0" xml:id="generate.copyright"> <refmeta> <refentrytitle>generate.copyright</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.copyright</refname> <refpurpose>Specifies whether copyright is generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.copyright.frag"> <xsl:param name="generate.copyright">1</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether the copyright info is generated in the footer area.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.foilgroup.numbered.toc"> <refmeta> <refentrytitle>generate.foilgroup.numbered.toc</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.foilgroup.numbered.toc</refname> <refpurpose>Specifies whether foilgroups have a numbered TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.foilgroup.numbered.toc.frag"> <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If TOC generation is turned on, this parameter specifies whether foilgroups have a numbered TOC. If disabled, TOC items will be bulleted, not numbered.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.foilgroup.toc"> <refmeta> <refentrytitle>generate.foilgroup.toc</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.foilgroup.toc</refname> <refpurpose>Specifies whether foilgroups have a TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.foilgroup.toc.frag"> <xsl:param name="generate.foilgroup.toc">1</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether foilgroups will contain a table of contents of the included foils.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.handoutnotes"> <refmeta> <refentrytitle>generate.handoutnotes</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.handoutnotes</refname> <refpurpose>Specifies whether handoutnotes are generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.handoutnotes.frag"> <xsl:param name="generate.handoutnotes">0</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether handoutnotes shall be generated to the output.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.page.number"> <refmeta> <refentrytitle>generate.page.number</refentrytitle> <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> <refmiscinfo class="other" otherclass="value">full<alt>1/2</alt></refmiscinfo> <refmiscinfo class="other" otherclass="value">compact<alt>1</alt></refmiscinfo> <refmiscinfo class="other" otherclass="value">no</refmiscinfo> </refmeta> <refnamediv> <refname>generate.page.number</refname> <refpurpose>Specifies whether page numbers are generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.page.number.frag"> <xsl:param name="generate.page.number">compact</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies how page numbers are generated in the footer area.</para> <variablelist> <varlistentry> <term>no</term> <listitem> <para>No page numbers generated at all.</para> </listitem> </varlistentry> <varlistentry> <term>full</term> <listitem> <para>Current page number, a slash and the total number of pages</para> </listitem> </varlistentry> <varlistentry> <term>compact</term> <listitem> <para>Current page number only</para> </listitem> </varlistentry> <varlistentry> <term>no</term> <listitem> <para>No page numbers generated at all.</para> </listitem> </varlistentry> </variablelist> </refsection> </refentry> <refentry version="5.0" xml:id="generate.pubdate"> <refmeta> <refentrytitle>generate.pubdate</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.pubdate</refname> <refpurpose>Specifies whether the pubdate is generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.pubdate.frag"> <xsl:param name="generate.pubdate">1</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether the publication date is generated in the footer area.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.speakernotes"> <refmeta> <refentrytitle>generate.speakernotes</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.speakernotes</refname> <refpurpose>Specifies whether speakernotes are generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.speakernotes.frag"> <xsl:param name="generate.speakernotes">0</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether speakernotes shall be generated to the output.</para> </refsection> </refentry> <refentry version="5.0" xml:id="generate.titlepage"> <refmeta> <refentrytitle>generate.titlepage</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>generate.titlepage</refname> <refpurpose>Specifies whether titlepage is generated</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="generate.titlepage.frag"> <xsl:param name="generate.titlepage">1</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies whether titlepage is generated for the presentation.</para> </refsection> </refentry> <refentry version="5.0" xml:id="mml.embedding.mode"> <refmeta> <refentrytitle>mml.embedding.mode</refentrytitle> <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> <refmiscinfo class="other" otherclass="value">inline</refmiscinfo> <refmiscinfo class="other" otherclass="value">external-graphic</refmiscinfo> <refmiscinfo class="other" otherclass="value">instream-foreign-object</refmiscinfo> </refmeta> <refnamediv> <refname>mml.embedding.mode</refname> <refpurpose>Specifies how inline MathML is processed</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="mml.embedding.mode.fo.frag"> <xsl:param name="mml.embedding.mode">external-graphic</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies how inline MathML formulas are embedded into the output document.</para> <variablelist> <varlistentry> <term>inline</term> <listitem> <para>Content is copied over inline with its namespace.</para> </listitem> </varlistentry> <varlistentry> <term>external-graphic</term> <listitem> <para>Content is extracted into an externel file and referenced by an <markup>external-graphic</markup> element.</para> </listitem> </varlistentry> <varlistentry> <term>instream-foreign-object</term> <listitem> <para>Content is copied over with its namespace inside an <markup>instream-foreign-object</markup> element.</para> </listitem> </varlistentry> </variablelist> </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="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="svg.embedding.mode"> <refmeta> <refentrytitle>svg.embedding.mode</refentrytitle> <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> <refmiscinfo class="other" otherclass="value">external-graphic</refmiscinfo> <refmiscinfo class="other" otherclass="value">instream-foreign-object</refmiscinfo> </refmeta> <refnamediv> <refname>svg.embedding.mode</refname> <refpurpose>Specifies how inline SVG is processed</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="svg.embedding.mode.fo.frag"> <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies how inline SVG graphics are embedded into the output document.</para> <variablelist> <varlistentry> <term>inline</term> <listitem> <para>Content is copied over inline with its namespace.</para> </listitem> </varlistentry> <varlistentry> <term>external-graphic</term> <listitem> <para>Content is extracted into an externel file and referenced by an <markup>external-graphic</markup> element.</para> </listitem> </varlistentry> <varlistentry> <term>instream-foreign-object</term> <listitem> <para>Content is copied over with its namespace inside an <markup>instream-foreign-object</markup> element.</para> </listitem> </varlistentry> </variablelist> </refsection> </refentry> </reference> <reference xml:id="propsets"> <title>FO: Property Sets</title> <refentry version="5.0" xml:id="foil.header.properties"> <refmeta> <refentrytitle>foil.header.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.header.properties</refname> <refpurpose>Specifies properties for foil header area</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.header.properties.frag"> <xsl:attribute-set name="foil.header.properties"> <xsl:attribute name="background-color">white</xsl:attribute> <xsl:attribute name="color">black</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.title.font.family"></xsl:value-of> </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 for the foil header area.</para> </refsection> </refentry> <refentry version="5.0" xml:id="foil.master.properties"> <refmeta> <refentrytitle>foil.master.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.master.properties</refname> <refpurpose>Specifies properties for foil master</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.master.properties.frag"> <xsl:attribute-set name="foil.master.properties"> <xsl:attribute name="page-width"> <xsl:value-of select="$page.width"></xsl:value-of> </xsl:attribute> <xsl:attribute name="page-height"> <xsl:value-of select="$page.height"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-top"> <xsl:value-of select="$page.margin.top"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-bottom"> <xsl:value-of select="$page.margin.bottom"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-left"> <xsl:value-of select="$page.margin.inner"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-right"> <xsl:value-of select="$page.margin.outer"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil master.</para> </refsection> </refentry> <refentry version="5.0" xml:id="foil.page-sequence.properties"> <refmeta> <refentrytitle>foil.page-sequence.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.page-sequence.properties</refname> <refpurpose>Specifies properties for foil page-sequence</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.page-sequence.properties.frag"> <xsl:attribute-set name="foil.page-sequence.properties"> <xsl:attribute name="hyphenate"> <xsl:value-of select="$hyphenate"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for foil page-sequence.</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-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="foil.region-after.properties"> <refmeta> <refentrytitle>foil.region-after.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.region-after.properties</refname> <refpurpose>Specifies properties for foil region-after</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.region-after.properties.frag"> <xsl:attribute-set name="foil.region-after.properties"> <xsl:attribute name="extent"> <xsl:value-of select="$region.after.extent"></xsl:value-of> </xsl:attribute> <xsl:attribute name="display-align">after</xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil region-after.</para> </refsection> </refentry> <refentry version="5.0" xml:id="foil.region-before.properties"> <refmeta> <refentrytitle>foil.region-before.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.region-before.properties</refname> <refpurpose>Specifies properties for foil region-before</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.region-before.properties.frag"> <xsl:attribute-set name="foil.region-before.properties"> <xsl:attribute name="extent"> <xsl:value-of select="$region.before.extent"></xsl:value-of> </xsl:attribute> <xsl:attribute name="display-align"> <xsl:value-of select="'before'"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil region-before.</para> </refsection> </refentry> <refentry version="5.0" xml:id="foil.region-body.properties"> <refmeta> <refentrytitle>foil.region-body.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.region-body.properties</refname> <refpurpose>Specifies properties for foil region-body</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.region-body.properties.frag"> <xsl:attribute-set name="foil.region-body.properties"> <xsl:attribute name="margin-bottom"> <xsl:value-of select="$body.margin.bottom"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-top"> <xsl:value-of select="$body.margin.top"></xsl:value-of> </xsl:attribute> <xsl:attribute name="column-count"> <xsl:value-of select="$column.count.body"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil region-body.</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.title.properties"> <refmeta> <refentrytitle>foil.title.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.title.properties</refname> <refpurpose>Specifies properties for foil title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.title.properties.frag"> <xsl:attribute-set name="foil.title.properties"> <xsl:attribute name="font-size"> <xsl:value-of select="$foil.title.size"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil title.</para> </refsection> </refentry> <refentry version="5.0" xml:id="foil.footer.properties"> <refmeta> <refentrytitle>foil.footer.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>foil.footer.properties</refname> <refpurpose>Specifies properties for slides footer</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="foil.footer.properties.frag"> <xsl:attribute-set name="foil.footer.properties"></xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the foil footer.</para> </refsection> </refentry> <refentry version="5.0" xml:id="handoutnotes.properties"> <refmeta> <refentrytitle>handoutnotes.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>footnote.properties</refname> <refpurpose>Properties applied to handoutnotes </refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="handoutnotes.properties.frag"> <xsl:attribute-set name="handoutnotes.properties"></xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This attribute set is applied to handoutnotes.</para> </refsection> </refentry> <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="slides.titlepage.master.properties"> <refmeta> <refentrytitle>slides.titlepage.master.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.master.properties</refname> <refpurpose>Specifies properties for slides titlepage master</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.master.properties.frag"> <xsl:attribute-set name="slides.titlepage.master.properties"> <xsl:attribute name="page-width"> <xsl:value-of select="$page.width"></xsl:value-of> </xsl:attribute> <xsl:attribute name="page-height"> <xsl:value-of select="$page.height"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-top"> <xsl:value-of select="$page.margin.top"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-bottom"> <xsl:value-of select="$page.margin.bottom"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-left"> <xsl:value-of select="$page.margin.inner"></xsl:value-of> </xsl:attribute> <xsl:attribute name="margin-right"> <xsl:value-of select="$page.margin.outer"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the slides titlepage master.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.region-body.properties"> <refmeta> <refentrytitle>slides.titlepage.region-body.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.region-body.properties</refname> <refpurpose>Specifies properties for slides titlepage region-body</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.region-body.properties.frag"> <xsl:attribute-set name="slides.titlepage.region-body.properties"> <xsl:attribute name="margin-bottom">0pt</xsl:attribute> <xsl:attribute name="margin-top">0pt</xsl:attribute> <xsl:attribute name="column-count"> <xsl:value-of select="$column.count.body"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the slides titlepage region-body.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.corpauthor.properties"> <refmeta> <refentrytitle>slides.titlepage.corpauthor.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.corpauthor.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.corpauthor.properties.frag"> <xsl:attribute-set name="slides.titlepage.corpauthor.properties"> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-after">1em</xsl:attribute> <xsl:attribute name="font-size">20.736pt</xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the corpauthor on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.title.properties"> <refmeta> <refentrytitle>slides.titlepage.title.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.title.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.title.properties.frag"> <xsl:attribute-set name="slides.titlepage.title.properties"> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-after">1em</xsl:attribute> <xsl:attribute name="padding-top">1.5in</xsl:attribute> <xsl:attribute name="keep-with-next">always</xsl:attribute> <xsl:attribute name="font-size"> <xsl:value-of select="$foil.title.size"></xsl:value-of> </xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.title.font.family"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the title on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.subtitle.properties"> <refmeta> <refentrytitle>slides.titlepage.subtitle.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.subtitle.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.subtitle.properties.frag"> <xsl:attribute-set name="slides.titlepage.subtitle.properties"> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-after">1em</xsl:attribute> <xsl:attribute name="font-family"> <xsl:value-of select="$slide.title.font.family"></xsl:value-of> </xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the subtitle on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.author.properties"> <refmeta> <refentrytitle>slides.titlepage.author.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.author.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.author.properties.frag"> <xsl:attribute-set name="slides.titlepage.author.properties"> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-after">1em</xsl:attribute> <xsl:attribute name="font-size">20.736pt</xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the author on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.pubdate.properties"> <refmeta> <refentrytitle>slides.titlepage.pubdate.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.pubdate.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.pubdate.properties.frag"> <xsl:attribute-set name="slides.titlepage.pubdate.properties"> <xsl:attribute name="text-align">center</xsl:attribute> <xsl:attribute name="space-after">1em</xsl:attribute> <xsl:attribute name="font-size">17.28pt</xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the pubdate on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="slides.titlepage.authorgroup.properties"> <refmeta> <refentrytitle>slides.titlepage.authorgroup.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>slides.titlepage.authorgroup.properties</refname> <refpurpose>Specifies properties for slides titlepage title</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="slides.titlepage.authorgroup.properties.frag"> <xsl:attribute-set name="slides.titlepage.authorgroup.properties"></xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This parameter specifies properties for the authorgroup on the default titlepage.</para> </refsection> </refentry> <refentry version="5.0" xml:id="speakernotes.properties"> <refmeta> <refentrytitle>speakernotes.properties</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>footnote.properties</refname> <refpurpose>Properties applied to speakernotes </refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="speakernotes.properties.frag"> <xsl:attribute-set name="speakernotes.properties"></xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This attribute set is applied to speakernotes.</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="foil.title.master.frag"></src:fragref> <src:fragref linkend="foil.title.size.frag"></src:fragref> <src:fragref linkend="generate.copyright.frag"></src:fragref> <src:fragref linkend="generate.foilgroup.numbered.toc.frag"></src:fragref> <src:fragref linkend="generate.foilgroup.toc.frag"></src:fragref> <src:fragref linkend="generate.handoutnotes.frag"></src:fragref> <src:fragref linkend="generate.page.number.frag"></src:fragref> <src:fragref linkend="generate.pubdate.frag"></src:fragref> <src:fragref linkend="generate.speakernotes.frag"></src:fragref> <src:fragref linkend="generate.titlepage.frag"></src:fragref> <src:fragref linkend="mml.embedding.mode.fo.frag"></src:fragref> <src:fragref linkend="slide.font.family.frag"></src:fragref> <src:fragref linkend="slide.title.font.family.frag"></src:fragref> <src:fragref linkend="svg.embedding.mode.fo.frag"></src:fragref> <src:fragref linkend="foil.header.properties.frag"></src:fragref> <src:fragref linkend="foil.master.properties.frag"></src:fragref> <src:fragref linkend="foil.page-sequence.properties.frag"></src:fragref> <src:fragref linkend="foil.properties.frag"></src:fragref> <src:fragref linkend="foil.region-after.properties.frag"></src:fragref> <src:fragref linkend="foil.region-before.properties.frag"></src:fragref> <src:fragref linkend="foil.region-body.properties.frag"></src:fragref> <src:fragref linkend="foil.subtitle.properties.frag"></src:fragref> <src:fragref linkend="foil.title.properties.frag"></src:fragref> <src:fragref linkend="handoutnotes.properties.frag"></src:fragref> <src:fragref linkend="slides.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.master.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.region-body.properties.frag"></src:fragref> <src:fragref linkend="speakernotes.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.corpauthor.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.title.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.subtitle.properties.frag"></src:fragref> <src:fragref linkend="foil.footer.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.author.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.pubdate.properties.frag"></src:fragref> <src:fragref linkend="slides.titlepage.authorgroup.properties.frag"></src:fragref> </xsl:stylesheet> </programlisting> </appendix> </book>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 26953 | Paul Allen | Move //guest/perforce_software/p4convert to //guest/perforce_software/p4convert/main | ||
//guest/perforce_software/p4convert/docs/docbook-xsl-ns-1.78.1/slides/fo/param.xml | |||||
#2 | 14806 | Paul Allen | Update docs and add +w. | ||
#1 | 13920 | Paul Allen | copy part 2 (no errors) | ||
//guest/paul_allen/p4convert-maven/docs/docbook-xsl-ns-1.78.1/slides/fo/param.xml | |||||
#1 | 13895 | Paul Allen | Copying using p4convert-docbook | ||
//guest/perforce_software/doc_build/main/docbook-xsl-ns-1.78.1/slides/fo/param.xml | |||||
#1 | 12728 | eedwards |
Upgrade ANT doc build infrastructure to assemble PDFs: - remove non-namespaced DocBook source and add namespaced DocBook source. - add Apache FOP 1.1 - copy fonts, images, XSL into _build, establishing new asset structure. The original structure remains until all guides using it can be upgraded, and several other issues can be resolved. - updated build.xml to allow for per-target build properties. - upgraded the P4SAG to use the new infrastructure. - tweaked admonition presentation in PDFs to remove admonition graphics, and resemble closely the presentation used in the new HTML layout, including the same colors. With these changes, building PDFs involves using a shell, navigating into the guide's directory (just P4SAG for now), and executing "ant pdf". Issues still to be resolved: - PDF generation encounters several warnings about missing fonts (bold versions of Symbol and ZapfDingbats), and a couple of locations where the page content exceeds the defined content area. - Due to issues within Apache FOP, PDF generation emits a substantial amount of output that is not easily suppressed without losing important warning information. - Apache FOP's interface to ANT does not expose a way to set the font base directory. The current configuration does work under Mac OSX, but further testing on Windows will need to be done to determine if the relative paths defined continue to work. The workaround is for Windows users to customize the fop-config.xml to provide absolute system paths to the required fonts. - HTML generation needs further browser testing, and exhibits broken navigation on iOS browsers within the TOC sidebar. - A number of PDF and HTML presentation tweaks still need to be made, for example: sidebars, gui* DocBook tags, whitespace, section separation, etc. |