summaryrefslogtreecommitdiff
path: root/slides/fo
diff options
context:
space:
mode:
Diffstat (limited to 'slides/fo')
-rw-r--r--slides/fo/param.xml989
-rw-r--r--slides/fo/param.xsl177
-rw-r--r--slides/fo/plain-titlepage.xml44
-rw-r--r--slides/fo/plain-titlepage.xsl67
-rw-r--r--slides/fo/plain.xsl743
5 files changed, 1467 insertions, 553 deletions
diff --git a/slides/fo/param.xml b/slides/fo/param.xml
index 7aaa787..c2ab944 100644
--- a/slides/fo/param.xml
+++ b/slides/fo/param.xml
@@ -7,13 +7,13 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
</releaseinfo>
<author>
<personname>
- <surname>Walsh</surname>
- <firstname>Norman</firstname>
+ <surname>K&#246;vesd&#225;n</surname>
+ <firstname>G&#225;bor</firstname>
</personname>
</author>
<copyright>
- <year>2002-2011</year>
- <holder>Norman Walsh</holder>
+ <year>2012</year>
+ <holder>G&#225;bor K&#246;vesd&#225;n</holder>
</copyright>
<abstract>
<para>This is reference documentation for all user-configurable
@@ -28,29 +28,329 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
</info>
<reference xml:id="fo">
<title>FO: General Params</title>
-<refentry version="5.0" xml:id="slide.title.font.family">
+
+<refentry version="5.0" xml:id="foil.title.master">
<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>
+<refentrytitle>foil.title.master</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
</refmeta>
<refnamediv>
-<refname>slide.title.font.family</refname>
-<refpurpose>Specifies font family to use for slide titles</refpurpose>
+<refname>foil.title.master</refname>
+<refpurpose>Specifies unitless font size to use for foil titles</refpurpose>
</refnamediv>
<refsynopsisdiv>
-<programlisting xml:id="slide.title.font.family.frag">
-&lt;xsl:param name="slide.title.font.family"&gt;Helvetica&lt;/xsl:param&gt;
+<programlisting xml:id="foil.title.master.frag">
+&lt;xsl:param name="foil.title.master"&gt;36&lt;/xsl:param&gt;
+&lt;!-- Inconsistant use of point size? --&gt;
</programlisting>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
-<para>Specifies the font family to use for slides titles.</para>
+<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">
+ &lt;xsl:param name="foil.title.size"&gt;
+ &lt;xsl:value-of select="$foil.title.master"&gt;&lt;/xsl:value-of&gt;&lt;xsl:text&gt;pt&lt;/xsl:text&gt;
+ &lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.copyright"&gt;1&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.foilgroup.numbered.toc"&gt;1&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.foilgroup.toc"&gt;1&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.handoutnotes"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.page.number"&gt;compact&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.pubdate"&gt;1&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.speakernotes"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="generate.titlepage"&gt;1&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="mml.embedding.mode"&gt;external-graphic&lt;/xsl:param&gt;
+ </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>
@@ -82,55 +382,78 @@ $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
</refsection>
</refentry>
-<refentry version="5.0" xml:id="foil.title.master">
+<refentry version="5.0" xml:id="slide.title.font.family">
<refmeta>
-<refentrytitle>foil.title.master</refentrytitle>
-<refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
+<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>foil.title.master</refname>
-<refpurpose>Specifies unitless font size to use for foil titles</refpurpose>
+<refname>slide.title.font.family</refname>
+<refpurpose>Specifies font family to use for slide titles</refpurpose>
</refnamediv>
<refsynopsisdiv>
-<programlisting xml:id="foil.title.master.frag">
-&lt;xsl:param name="foil.title.master"&gt;36&lt;/xsl:param&gt;
-&lt;!-- Inconsistant use of point size? --&gt;
+<programlisting xml:id="slide.title.font.family.frag">
+&lt;xsl:param name="slide.title.font.family"&gt;Helvetica&lt;/xsl:param&gt;
</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>
+<para>Specifies the font family to use for slides titles.</para>
+
</refsection>
</refentry>
-<refentry version="5.0" xml:id="foil.title.size">
+<refentry version="5.0" xml:id="svg.embedding.mode">
<refmeta>
-<refentrytitle>foil.title.size</refentrytitle>
-<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
+<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>foil.title.size</refname>
-<refpurpose>Specifies font size to use for foil titles, including units</refpurpose>
+<refname>svg.embedding.mode</refname>
+<refpurpose>Specifies how inline SVG is processed</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="foil.title.size.frag">
- &lt;xsl:param name="foil.title.size"&gt;
- &lt;xsl:value-of select="$foil.title.master"&gt;&lt;/xsl:value-of&gt;&lt;xsl:text&gt;pt&lt;/xsl:text&gt;
- &lt;/xsl:param&gt;
+ <programlisting xml:id="svg.embedding.mode.fo.frag">
+ &lt;xsl:param name="svg.embedding.mode"&gt;instream-foreign-object&lt;/xsl:param&gt;
</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>
+<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>
@@ -138,56 +461,226 @@ specification. The default unit is <literal>pt</literal>
</reference>
<reference xml:id="propsets">
<title>FO: Property Sets</title>
-<refentry version="5.0" xml:id="slides.properties">
+<refentry version="5.0" xml:id="foil.header.properties">
<refmeta>
-<refentrytitle>slides.properties</refentrytitle>
+<refentrytitle>foil.header.properties</refentrytitle>
<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
</refmeta>
<refnamediv>
-<refname>slides.properties</refname>
-<refpurpose>Specifies properties for all slides</refpurpose>
+<refname>foil.header.properties</refname>
+<refpurpose>Specifies properties for foil header area</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="slides.properties.frag">
- &lt;xsl:attribute-set name="slides.properties"&gt;
+ <programlisting xml:id="foil.header.properties.frag">
+ &lt;xsl:attribute-set name="foil.header.properties"&gt;
+ &lt;xsl:attribute name="background-color"&gt;white&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="color"&gt;black&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-weight"&gt;bold&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
&lt;xsl:attribute name="font-family"&gt;
- &lt;xsl:value-of select="$slide.font.family"&gt;&lt;/xsl:value-of&gt;
+ &lt;xsl:value-of select="$slide.title.font.family"&gt;&lt;/xsl:value-of&gt;
&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;12pt&lt;/xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;
</programlisting>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
-<para>This parameter specifies properties that are applied to all slides.</para>
+<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">
+ &lt;xsl:attribute-set name="foil.master.properties"&gt;
+ &lt;xsl:attribute name="page-width"&gt;
+ &lt;xsl:value-of select="$page.width"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="page-height"&gt;
+ &lt;xsl:value-of select="$page.height"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-top"&gt;
+ &lt;xsl:value-of select="$page.margin.top"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-bottom"&gt;
+ &lt;xsl:value-of select="$page.margin.bottom"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-left"&gt;
+ &lt;xsl:value-of select="$page.margin.inner"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-right"&gt;
+ &lt;xsl:value-of select="$page.margin.outer"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="foil.page-sequence.properties"&gt;
+ &lt;xsl:attribute name="hyphenate"&gt;
+ &lt;xsl:value-of select="$hyphenate"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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="foilgroup.properties">
+<refentry version="5.0" xml:id="foil.properties">
<refmeta>
-<refentrytitle>foilgroup.properties</refentrytitle>
-<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
+<refentrytitle>foil.properties</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
</refmeta>
<refnamediv>
-<refname>foilgroup.properties</refname>
-<refpurpose>Specifies properties for all foilgroups</refpurpose>
+<refname>foil.properties</refname>
+<refpurpose>Specifies properties for all foils</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="foilgroup.properties.frag">
- &lt;xsl:attribute-set name="foilgroup.properties"&gt;
+ <programlisting xml:id="foil.properties.frag">
+ &lt;xsl:attribute-set name="foil.properties"&gt;
&lt;xsl:attribute name="font-family"&gt;
&lt;xsl:value-of select="$slide.font.family"&gt;&lt;/xsl:value-of&gt;
&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-{$direction.align.start}"&gt;1in&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-{$direction.align.end}"&gt;1in&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-size"&gt;
+ &lt;xsl:value-of select="$body.font.size"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="foil.region-after.properties"&gt;
+ &lt;xsl:attribute name="extent"&gt;
+ &lt;xsl:value-of select="$region.after.extent"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="display-align"&gt;after&lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="foil.region-before.properties"&gt;
+ &lt;xsl:attribute name="extent"&gt;
+ &lt;xsl:value-of select="$region.before.extent"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="display-align"&gt;
+ &lt;xsl:value-of select="'before'"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="foil.region-body.properties"&gt;
+ &lt;xsl:attribute name="margin-bottom"&gt;
+ &lt;xsl:value-of select="$body.margin.bottom"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-top"&gt;
+ &lt;xsl:value-of select="$body.margin.top"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="column-count"&gt;
+ &lt;xsl:value-of select="$column.count.body"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;
</programlisting>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
-<para>This parameter specifies properties that are applied to all foilgroups.</para>
+<para>This parameter specifies properties for the foil region-body.</para>
</refsection>
</refentry>
@@ -224,93 +717,372 @@ specification. The default unit is <literal>pt</literal>
</refsection>
</refentry>
-<refentry version="5.0" xml:id="foil.properties">
+<refentry version="5.0" xml:id="foil.title.properties">
<refmeta>
-<refentrytitle>foil.properties</refentrytitle>
+<refentrytitle>foil.title.properties</refentrytitle>
<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
</refmeta>
<refnamediv>
-<refname>foil.properties</refname>
-<refpurpose>Specifies properties for all foils</refpurpose>
+<refname>foil.title.properties</refname>
+<refpurpose>Specifies properties for foil title</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="foil.properties.frag">
- &lt;xsl:attribute-set name="foil.properties"&gt;
+ <programlisting xml:id="foil.title.properties.frag">
+ &lt;xsl:attribute-set name="foil.title.properties"&gt;
+ &lt;xsl:attribute name="font-size"&gt;
+ &lt;xsl:value-of select="$foil.title.size"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="foil.footer.properties"&gt;&lt;/xsl:attribute-set&gt;
+ </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">
+&lt;xsl:attribute-set name="handoutnotes.properties"&gt;&lt;/xsl:attribute-set&gt;
+</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">
+ &lt;xsl:attribute-set name="slides.properties"&gt;
&lt;xsl:attribute name="font-family"&gt;
&lt;xsl:value-of select="$slide.font.family"&gt;&lt;/xsl:value-of&gt;
&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="margin-{$direction.align.start}"&gt;1in&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="margin-{$direction.align.end}"&gt;1in&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-size"&gt;
- &lt;xsl:value-of select="$body.font.size"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="slides.titlepage.master.properties"&gt;
+ &lt;xsl:attribute name="page-width"&gt;
+ &lt;xsl:value-of select="$page.width"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="page-height"&gt;
+ &lt;xsl:value-of select="$page.height"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-top"&gt;
+ &lt;xsl:value-of select="$page.margin.top"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-bottom"&gt;
+ &lt;xsl:value-of select="$page.margin.bottom"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-left"&gt;
+ &lt;xsl:value-of select="$page.margin.inner"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-right"&gt;
+ &lt;xsl:value-of select="$page.margin.outer"&gt;&lt;/xsl:value-of&gt;
&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-weight"&gt;bold&lt;/xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;
</programlisting>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
-<para>This parameter specifies properties that are applied to all foils.</para>
+<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">
+ &lt;xsl:attribute-set name="slides.titlepage.region-body.properties"&gt;
+ &lt;xsl:attribute name="margin-bottom"&gt;0pt&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="margin-top"&gt;0pt&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="column-count"&gt;
+ &lt;xsl:value-of select="$column.count.body"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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="speakernote.properties">
+<refentry version="5.0" xml:id="slides.titlepage.corpauthor.properties">
<refmeta>
-<refentrytitle>speakernote.properties</refentrytitle>
+<refentrytitle>slides.titlepage.corpauthor.properties</refentrytitle>
<refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
</refmeta>
<refnamediv>
-<refname>speakernote.properties</refname>
-<refpurpose>Specifies properties for all speakernotes</refpurpose>
+<refname>slides.titlepage.corpauthor.properties</refname>
+<refpurpose>Specifies properties for slides titlepage title</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="speakernote.properties.frag">
- &lt;xsl:attribute-set name="speakernote.properties"&gt;
- &lt;xsl:attribute name="font-family"&gt;Times Roman&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-style"&gt;italic&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-size"&gt;12pt&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-weight"&gt;normal&lt;/xsl:attribute&gt;
+ <programlisting xml:id="slides.titlepage.corpauthor.properties.frag">
+ &lt;xsl:attribute-set name="slides.titlepage.corpauthor.properties"&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;1em&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-size"&gt;20.736pt&lt;/xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;
</programlisting>
</refsynopsisdiv>
<refsection><info><title>Description</title></info>
-<para>This parameter specifies properties that are applied to all speakernotes.</para>
+<para>This parameter specifies properties for the corpauthor on the default
+ titlepage.</para>
</refsection>
</refentry>
-<refentry version="5.0" xml:id="running.foot.properties">
+<refentry version="5.0" xml:id="slides.titlepage.title.properties">
<refmeta>
-<refentrytitle>running.foot.properties</refentrytitle>
+<refentrytitle>slides.titlepage.title.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>
+<refname>slides.titlepage.title.properties</refname>
+<refpurpose>Specifies properties for slides titlepage title</refpurpose>
</refnamediv>
<refsynopsisdiv>
- <programlisting xml:id="running.foot.properties.frag">
- &lt;xsl:attribute-set name="running.foot.properties"&gt;
+ <programlisting xml:id="slides.titlepage.title.properties.frag">
+ &lt;xsl:attribute-set name="slides.titlepage.title.properties"&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;1em&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="padding-top"&gt;1.5in&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="keep-with-next"&gt;always&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-size"&gt;
+ &lt;xsl:value-of select="$foil.title.size"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-weight"&gt;bold&lt;/xsl:attribute&gt;
&lt;xsl:attribute name="font-family"&gt;
- &lt;xsl:value-of select="$slide.font.family"&gt;&lt;/xsl:value-of&gt;
+ &lt;xsl:value-of select="$slide.title.font.family"&gt;&lt;/xsl:value-of&gt;
&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="font-size"&gt;14pt&lt;/xsl:attribute&gt;
- &lt;xsl:attribute name="color"&gt;#9F9F9F&lt;/xsl:attribute&gt;
&lt;/xsl:attribute-set&gt;
</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>
+<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">
+ &lt;xsl:attribute-set name="slides.titlepage.subtitle.properties"&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;1em&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-family"&gt;
+ &lt;xsl:value-of select="$slide.title.font.family"&gt;&lt;/xsl:value-of&gt;
+ &lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="slides.titlepage.author.properties"&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;1em&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-size"&gt;20.736pt&lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="slides.titlepage.pubdate.properties"&gt;
+ &lt;xsl:attribute name="text-align"&gt;center&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="space-after"&gt;1em&lt;/xsl:attribute&gt;
+ &lt;xsl:attribute name="font-size"&gt;17.28pt&lt;/xsl:attribute&gt;
+ &lt;/xsl:attribute-set&gt;
+ </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">
+ &lt;xsl:attribute-set name="slides.titlepage.authorgroup.properties"&gt;&lt;/xsl:attribute-set&gt;
+ </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">
+&lt;xsl:attribute-set name="speakernotes.properties"&gt;&lt;/xsl:attribute-set&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>This attribute set is applied to speakernotes.</para>
</refsection>
</refentry>
@@ -338,16 +1110,43 @@ around all these parameters.</para>
******************************************************************** --&gt;
-&lt;src:fragref linkend="slide.font.family.frag"&gt;&lt;/src:fragref&gt;
-&lt;src:fragref linkend="slide.title.font.family.frag"&gt;&lt;/src:fragref&gt;
&lt;src:fragref linkend="foil.title.master.frag"&gt;&lt;/src:fragref&gt;
&lt;src:fragref linkend="foil.title.size.frag"&gt;&lt;/src:fragref&gt;
-&lt;src:fragref linkend="foilgroup.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.copyright.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.foilgroup.numbered.toc.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.foilgroup.toc.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.handoutnotes.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.page.number.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.pubdate.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.speakernotes.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="generate.titlepage.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="mml.embedding.mode.fo.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slide.font.family.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slide.title.font.family.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="svg.embedding.mode.fo.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;src:fragref linkend="foil.header.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.master.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.page-sequence.properties.frag"&gt;&lt;/src:fragref&gt;
&lt;src:fragref linkend="foil.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.region-after.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.region-before.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.region-body.properties.frag"&gt;&lt;/src:fragref&gt;
&lt;src:fragref linkend="foil.subtitle.properties.frag"&gt;&lt;/src:fragref&gt;
-&lt;src:fragref linkend="running.foot.properties.frag"&gt;&lt;/src:fragref&gt;
-&lt;src:fragref linkend="speakernote.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.title.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="handoutnotes.properties.frag"&gt;&lt;/src:fragref&gt;
&lt;src:fragref linkend="slides.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.master.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.region-body.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="speakernotes.properties.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;src:fragref linkend="slides.titlepage.corpauthor.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.title.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.subtitle.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="foil.footer.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.author.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.pubdate.properties.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slides.titlepage.authorgroup.properties.frag"&gt;&lt;/src:fragref&gt;
&lt;/xsl:stylesheet&gt;
</programlisting>
diff --git a/slides/fo/param.xsl b/slides/fo/param.xsl
index 49fd621..d972fcd 100644
--- a/slides/fo/param.xsl
+++ b/slides/fo/param.xsl
@@ -12,17 +12,70 @@
******************************************************************** -->
-<xsl:param name="slide.font.family">Helvetica</xsl:param>
-<xsl:param name="slide.title.font.family">Helvetica</xsl:param>
<xsl:param name="foil.title.master">36</xsl:param>
<!-- Inconsistant use of point size? -->
<xsl:param name="foil.title.size">
<xsl:value-of select="$foil.title.master"/><xsl:text>pt</xsl:text>
</xsl:param>
- <xsl:attribute-set name="foilgroup.properties">
+ <xsl:param name="generate.copyright">1</xsl:param>
+
+ <xsl:param name="generate.foilgroup.numbered.toc">1</xsl:param>
+
+ <xsl:param name="generate.foilgroup.toc">1</xsl:param>
+
+ <xsl:param name="generate.handoutnotes">0</xsl:param>
+
+ <xsl:param name="generate.page.number">compact</xsl:param>
+
+ <xsl:param name="generate.pubdate">1</xsl:param>
+
+ <xsl:param name="generate.speakernotes">0</xsl:param>
+
+ <xsl:param name="generate.titlepage">1</xsl:param>
+
+ <xsl:param name="mml.embedding.mode">external-graphic</xsl:param>
+
+<xsl:param name="slide.font.family">Helvetica</xsl:param>
+<xsl:param name="slide.title.font.family">Helvetica</xsl:param>
+ <xsl:param name="svg.embedding.mode">instream-foreign-object</xsl:param>
+
+
+ <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.font.family"/>
+ <xsl:value-of select="$slide.title.font.family"/>
+ </xsl:attribute>
+ <xsl:attribute name="space-after">12pt</xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="foil.master.properties">
+ <xsl:attribute name="page-width">
+ <xsl:value-of select="$page.width"/>
+ </xsl:attribute>
+ <xsl:attribute name="page-height">
+ <xsl:value-of select="$page.height"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-top">
+ <xsl:value-of select="$page.margin.top"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-bottom">
+ <xsl:value-of select="$page.margin.bottom"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-left">
+ <xsl:value-of select="$page.margin.inner"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-right">
+ <xsl:value-of select="$page.margin.outer"/>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="foil.page-sequence.properties">
+ <xsl:attribute name="hyphenate">
+ <xsl:value-of select="$hyphenate"/>
</xsl:attribute>
</xsl:attribute-set>
@@ -35,7 +88,34 @@
<xsl:attribute name="font-size">
<xsl:value-of select="$body.font.size"/>
</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="foil.region-after.properties">
+ <xsl:attribute name="extent">
+ <xsl:value-of select="$region.after.extent"/>
+ </xsl:attribute>
+ <xsl:attribute name="display-align">after</xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="foil.region-before.properties">
+ <xsl:attribute name="extent">
+ <xsl:value-of select="$region.before.extent"/>
+ </xsl:attribute>
+ <xsl:attribute name="display-align">
+ <xsl:value-of select="'before'"/>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <xsl:attribute-set name="foil.region-body.properties">
+ <xsl:attribute name="margin-bottom">
+ <xsl:value-of select="$body.margin.bottom"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-top">
+ <xsl:value-of select="$body.margin.top"/>
+ </xsl:attribute>
+ <xsl:attribute name="column-count">
+ <xsl:value-of select="$column.count.body"/>
+ </xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="foil.subtitle.properties">
@@ -49,27 +129,94 @@
<xsl:attribute name="space-after">12pt</xsl:attribute>
</xsl:attribute-set>
- <xsl:attribute-set name="running.foot.properties">
+ <xsl:attribute-set name="foil.title.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$foil.title.size"/>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+<xsl:attribute-set name="handoutnotes.properties"/>
+ <xsl:attribute-set name="slides.properties">
<xsl:attribute name="font-family">
<xsl:value-of select="$slide.font.family"/>
</xsl:attribute>
- <xsl:attribute name="font-size">14pt</xsl:attribute>
- <xsl:attribute name="color">#9F9F9F</xsl:attribute>
</xsl:attribute-set>
- <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 name="slides.titlepage.master.properties">
+ <xsl:attribute name="page-width">
+ <xsl:value-of select="$page.width"/>
+ </xsl:attribute>
+ <xsl:attribute name="page-height">
+ <xsl:value-of select="$page.height"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-top">
+ <xsl:value-of select="$page.margin.top"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-bottom">
+ <xsl:value-of select="$page.margin.bottom"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-left">
+ <xsl:value-of select="$page.margin.inner"/>
+ </xsl:attribute>
+ <xsl:attribute name="margin-right">
+ <xsl:value-of select="$page.margin.outer"/>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <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:attribute>
</xsl:attribute-set>
- <xsl:attribute-set name="slides.properties">
+<xsl:attribute-set name="speakernotes.properties"/>
+
+ <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>
+
+ <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:attribute>
+ <xsl:attribute name="font-weight">bold</xsl:attribute>
<xsl:attribute name="font-family">
- <xsl:value-of select="$slide.font.family"/>
+ <xsl:value-of select="$slide.title.font.family"/>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <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:attribute>
</xsl:attribute-set>
+ <xsl:attribute-set name="foil.footer.properties"/>
+
+ <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>
+
+ <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>
+
+ <xsl:attribute-set name="slides.titlepage.authorgroup.properties"/>
+
</xsl:stylesheet>
diff --git a/slides/fo/plain-titlepage.xml b/slides/fo/plain-titlepage.xml
index d0a92da..d817f13 100644
--- a/slides/fo/plain-titlepage.xml
+++ b/slides/fo/plain-titlepage.xml
@@ -21,46 +21,16 @@
<t:titlepage t:element="slides" t:wrapper="fo:block">
<t:titlepage-content t:side="recto">
- <title t:predicate="[1]"
- t:named-template="component.title"
- param:node="ancestor-or-self::slides[1]"
- text-align="center"
- space-after="1em"
- padding-top="1.5in"
- keep-with-next="always"
- font-size="{$foil.title.size}"
- font-weight="bold"
- font-family="{$slide.title.font.family}"/>
+ <title t:named-template="presentation.title"
+ xsl:use-attribute-sets="slides.titlepage.title.properties"/>
- <subtitle t:predicate="[1]"
- text-align="center"
- space-after="1em"
- font-family="{$slide.title.font.family}"/>
+ <subtitle xsl:use-attribute-sets="slides.titlepage.subtitle.properties"/>
- <corpauthor font-size="&hsize4;"
- text-align="center"
- space-after="1em"/>
- <authorgroup/>
- <author font-size="&hsize4;"
- text-align="center"
- space-after="1em"/>
+ <corpauthor xsl:use-attribute-sets="slides.titlepage.corpauthor.properties"/>
+ <authorgroup xsl:use-attribute-sets="slides.titlepage.authorgroup.properties"/>
+ <author xsl:use-attribute-sets="slides.titlepage.author.properties"/>
- <pubdate font-size="&hsize3;"
- text-align="center"
- space-after="1em"/>
-
- <confgroup font-size="&hsize3;"
- text-align="center"
- space-after="1em"/>
-
- <releaseinfo font-size="&hsize3;"
- text-align="center"
- space-after="1em"/>
-
- <copyright font-size="&hsize3;"
- text-align="center"/>
-
- <revision text-align="center"/>
+ <pubdate xsl:use-attribute-sets="slides.titlepage.pubdate.properties"/>
</t:titlepage-content>
<t:titlepage-content t:side="verso">
diff --git a/slides/fo/plain-titlepage.xsl b/slides/fo/plain-titlepage.xsl
index 7511129..f79cf81 100644
--- a/slides/fo/plain-titlepage.xsl
+++ b/slides/fo/plain-titlepage.xsl
@@ -7,31 +7,31 @@
<xsl:template name="slides.titlepage.recto">
<xsl:choose>
<xsl:when test="slidesinfo/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title"/>
</xsl:when>
<xsl:when test="docinfo/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title"/>
</xsl:when>
<xsl:when test="info/title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title"/>
</xsl:when>
<xsl:when test="title">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title"/>
</xsl:when>
</xsl:choose>
<xsl:choose>
<xsl:when test="slidesinfo/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle"/>
</xsl:when>
<xsl:when test="docinfo/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
</xsl:when>
<xsl:when test="info/subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle"/>
</xsl:when>
<xsl:when test="subtitle">
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle[1]"/>
+ <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle"/>
</xsl:when>
</xsl:choose>
@@ -47,18 +47,6 @@
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/pubdate"/>
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
<xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/pubdate"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/confgroup"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/releaseinfo"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/copyright"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/revision"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/revision"/>
- <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/revision"/>
</xsl:template>
<xsl:template name="slides.titlepage.verso">
@@ -122,63 +110,38 @@
</xsl:template>
<xsl:template match="title" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" padding-top="1.5in" keep-with-next="always" font-size="{$foil.title.size}" font-weight="bold" font-family="{$slide.title.font.family}">
-<xsl:call-template name="component.title">
-<xsl:with-param name="node" select="ancestor-or-self::slides[1]"/>
+<block xsl:use-attribute-sets="slides.titlepage.title.properties">
+<xsl:call-template name="presentation.title">
</xsl:call-template>
</block>
</xsl:template>
<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" font-family="{$slide.title.font.family}">
+<block xsl:use-attribute-sets="slides.titlepage.subtitle.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<block xsl:use-attribute-sets="slides.titlepage.corpauthor.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style">
+<block xsl:use-attribute-sets="slides.titlepage.authorgroup.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="author" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<block xsl:use-attribute-sets="slides.titlepage.author.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
<xsl:template match="pubdate" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="confgroup" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="releaseinfo" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="copyright" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center">
-<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
-</block>
-</xsl:template>
-
-<xsl:template match="revision" mode="slides.titlepage.recto.auto.mode">
-<block xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center">
+<block xsl:use-attribute-sets="slides.titlepage.pubdate.properties">
<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
</block>
</xsl:template>
diff --git a/slides/fo/plain.xsl b/slides/fo/plain.xsl
index b4e729e..40217ea 100644
--- a/slides/fo/plain.xsl
+++ b/slides/fo/plain.xsl
@@ -1,30 +1,26 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:rx="http://www.renderx.com/XSL/Extensions"
+ xmlns:db="http://docbook.org/ns/docbook"
+ xmlns:dbs="http://docbook.org/ns/docbook-slides"
+ xmlns:exsl="http://exslt.org/common"
+ exclude-result-prefixes="dbs db"
+ extension-element-prefixes="exsl"
version="1.0">
-<!-- ********************************************************************
- $Id: plain.xsl 8101 2008-08-03 18:35:14Z mzjn $
- ********************************************************************
-
- 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.
-
- ******************************************************************** -->
-
<xsl:import href="../../fo/docbook.xsl"/>
-<xsl:import href="param.xsl"/>
-
-<xsl:param name="alignment" select="'start'"/>
-
+<xsl:import href="../common/common.xsl"/>
<xsl:include href="plain-titlepage.xsl"/>
+<xsl:include href="param.xsl"/>
+
+<xsl:output indent="yes"/>
<xsl:param name="local.l10n.xml" select="document('')"/>
<i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
<l:gentext key="Continued" text="(Continued)"/>
+ <l:gentext key="Speakernotes" text="Speaker Notes"/>
+ <l:gentext key="Handoutnotes" text="Handout Notes"/>
<l:context name="title">
<l:template name="slides" text="%t"/>
<l:template name="foilgroup" text="%t"/>
@@ -33,13 +29,25 @@
</l:l10n>
</i18n>
-<xsl:variable name="root.elements" select="' slides '"/>
+<!-- Start of overrides -->
-<xsl:param name="preferred.mediaobject.role" select="'print'"/>
+<xsl:param name="page.margin.top" select="'0.25in'"/>
+<xsl:param name="page.margin.bottom" select="'0.25in'"/>
+<xsl:param name="page.margin.inner" select="'0.25in'"/>
+<xsl:param name="page.margin.outer" select="'0.25in'"/>
+<xsl:param name="body.margin.top" select="'1in'"/>
+<xsl:param name="body.margin.bottom" select="'0.5in'"/>
+<xsl:param name="region.before.extent" select="'0.75in'"/>
+<xsl:param name="region.after.extent" select="'0.5in'"/>
+<xsl:param name="column.count.body" select="1"/>
+<xsl:param name="body.font.size">20</xsl:param>
+<xsl:param name="callout.icon.size" select="'40pt'"/>
+<xsl:param name="alignment" select="'start'"/>
+<xsl:param name="preferred.mediaobject.role" select="'print'"/>
<xsl:param name="page.orientation" select="'landscape'"/>
-<xsl:param name="body.font.master" select="24"/>
+<xsl:variable name="root.elements" select="' slides '"/>
<xsl:attribute-set name="formal.title.properties"
use-attribute-sets="normal.para.spacing">
@@ -75,6 +83,18 @@
<xsl:attribute name="space-before.maximum">10pt</xsl:attribute>
</xsl:attribute-set>
+<xsl:attribute-set name="orderedlist.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.size"/>
+ </xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="footnote.properties">
+ <xsl:attribute name="font-size">
+ <xsl:value-of select="$body.font.size * 0.8"/>
+ </xsl:attribute>
+</xsl:attribute-set>
+
<xsl:attribute-set name="slides.titlepage.recto.style">
<xsl:attribute name="font-family">
<xsl:value-of select="$slide.font.family"/>
@@ -87,70 +107,33 @@
</xsl:attribute>
</xsl:attribute-set>
-<!-- ============================================================ -->
+<xsl:template name="bibliography.titlepage"/>
-<xsl:param name="page.margin.top" select="'0.25in'"/>
-<xsl:param name="region.before.extent" select="'0.75in'"/>
-<xsl:param name="body.margin.top" select="'1in'"/>
+<!-- Do not add db namespace to dbs elements -->
+<xsl:template match="*[namespace-uri() = 'http://docbook.org/ns/docbook-slides']" mode="addNS">
+ <xsl:copy-of select="."/>
+</xsl:template>
-<xsl:param name="region.after.extent" select="'0.5in'"/>
-<xsl:param name="body.margin.bottom" select="'0.5in'"/>
-<xsl:param name="page.margin.bottom" select="'0.25in'"/>
-
-<xsl:param name="page.margin.inner" select="'0.25in'"/>
-<xsl:param name="page.margin.outer" select="'0.25in'"/>
-<xsl:param name="column.count.body" select="1"/>
+<!-- End of overrides -->
<xsl:template name="user.pagemasters">
<fo:simple-page-master master-name="slides-titlepage-master"
- page-width="{$page.width}"
- page-height="{$page.height}"
- margin-top="{$page.margin.top}"
- margin-bottom="{$page.margin.bottom}"
- margin-left="{$page.margin.inner}"
- margin-right="{$page.margin.outer}">
- <fo:region-body margin-bottom="0pt"
- margin-top="0pt"
- column-count="{$column.count.body}">
- </fo:region-body>
+ xsl:use-attribute-sets="slides.titlepage.master.properties">
+ <fo:region-body xsl:use-attribute-sets="slides.titlepage.region-body.properties"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="slides-foil-master"
- page-width="{$page.width}"
- page-height="{$page.height}"
- margin-top="{$page.margin.top}"
- margin-bottom="{$page.margin.bottom}"
- margin-left="{$page.margin.inner}"
- margin-right="{$page.margin.outer}">
- <fo:region-body margin-bottom="{$body.margin.bottom}"
- margin-top="{$body.margin.top}"
- column-count="{$column.count.body}">
- </fo:region-body>
- <fo:region-before region-name="xsl-region-before-foil"
- extent="{$region.before.extent}"
- display-align="before"/>
- <fo:region-after region-name="xsl-region-after-foil"
- extent="{$region.after.extent}"
- display-align="after"/>
+ xsl:use-attribute-sets="foil.master.properties">
+ <fo:region-body xsl:use-attribute-sets="foil.region-body.properties"/>
+ <fo:region-before region-name="xsl-region-before-foil" xsl:use-attribute-sets="foil.region-before.properties"/>
+ <fo:region-after region-name="xsl-region-after-foil" xsl:use-attribute-sets="foil.region-after.properties"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="slides-foil-continued-master"
- page-width="{$page.width}"
- page-height="{$page.height}"
- margin-top="{$page.margin.top}"
- margin-bottom="{$page.margin.bottom}"
- margin-left="{$page.margin.inner}"
- margin-right="{$page.margin.outer}">
- <fo:region-body margin-bottom="{$body.margin.bottom}"
- margin-top="{$body.margin.top}"
- column-count="{$column.count.body}">
- </fo:region-body>
- <fo:region-before region-name="xsl-region-before-foil-continued"
- extent="{$region.before.extent}"
- display-align="before"/>
- <fo:region-after region-name="xsl-region-after-foil-continued"
- extent="{$region.after.extent}"
- display-align="after"/>
+ xsl:use-attribute-sets="foil.master.properties">
+ <fo:region-body xsl:use-attribute-sets="foil.region-body.properties"/>
+ <fo:region-before region-name="xsl-region-before-foil-continued" xsl:use-attribute-sets="foil.region-before.properties"/>
+ <fo:region-after region-name="xsl-region-after-foil-continued" xsl:use-attribute-sets="foil.region-after.properties"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="slides-titlepage">
@@ -168,355 +151,408 @@
</fo:page-sequence-master>
</xsl:template>
-<xsl:template match="*" mode="running.head.mode">
- <xsl:param name="master-reference" select="'unknown'"/>
- <!-- use the foilgroup title if there is one -->
- <fo:static-content flow-name="xsl-region-before-foil">
- <fo:block background-color="white"
- color="black"
- font-size="{$foil.title.size}"
- font-weight="bold"
- text-align="center"
- font-family="{$slide.title.font.family}">
- <xsl:apply-templates select="title" mode="titlepage.mode"/>
- </fo:block>
- </fo:static-content>
-
- <fo:static-content flow-name="xsl-region-before-foil-continued">
- <fo:block background-color="white"
- color="black"
- font-size="{$foil.title.size}"
- font-weight="bold"
- text-align="center"
- font-family="{$slide.title.font.family}">
- <xsl:apply-templates select="title" mode="titlepage.mode"/>
- <xsl:text> </xsl:text>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'Continued'"/>
- </xsl:call-template>
- </fo:block>
- </fo:static-content>
+<xsl:template name="presentation.title">
+ <xsl:call-template name="get.title">
+ <xsl:with-param name="ctx" select="/dbs:slides"/>
+ </xsl:call-template>
</xsl:template>
-<xsl:template match="*" mode="running.foot.mode">
- <xsl:param name="master-reference" select="'unknown'"/>
-
- <xsl:variable name="last-slide"
- select="(//foil|//foilgroup)[last()]"/>
-
- <xsl:variable name="last-id">
- <xsl:choose>
- <xsl:when test="$last-slide/@id">
- <xsl:value-of select="$last-slide/@id"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="generate-id($last-slide)"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
+<xsl:template name="slides.bookmarks">
+ <fo:bookmark-tree>
+ <xsl:apply-templates select="/dbs:slides/dbs:foil|/dbs:slides/dbs:foilgroup" mode="bookmark.mode"/>
+ </fo:bookmark-tree>
+</xsl:template>
- <xsl:variable name="content">
- <fo:table table-layout="fixed" width="100%"
- xsl:use-attribute-sets="running.foot.properties">
- <fo:table-column column-number="1" column-width="33%"/>
- <fo:table-column column-number="2" column-width="34%"/>
- <fo:table-column column-number="3" column-width="33%"/>
- <fo:table-body>
- <fo:table-row height="14pt">
- <fo:table-cell text-align="left">
- <fo:block>
- <xsl:if test="self::foil">
- <xsl:choose>
- <xsl:when test="ancestor::foilgroup[1]/titleabbrev">
- <xsl:apply-templates select="ancestor::foilgroup[1]/titleabbrev"
- mode="titlepage.mode"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="ancestor::foilgroup[1]/title"
- mode="titlepage.mode"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell text-align="center">
- <fo:block>
- <xsl:if test="/slides/slidesinfo/releaseinfo[@role='copyright']">
- <xsl:apply-templates select="/slides/slidesinfo/releaseinfo[@role='copyright']"
- mode="value"/>
- <xsl:text>&#160;&#160;&#160;</xsl:text>
- </xsl:if>
- <xsl:apply-templates select="/slides/slidesinfo/copyright"
- mode="titlepage.mode"/>
- </fo:block>
- </fo:table-cell>
- <fo:table-cell text-align="right">
- <fo:block>
- <fo:page-number/>
- <xsl:text>&#160;/&#160;</xsl:text>
- <fo:page-number-citation ref-id="{$last-id}"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- </xsl:variable>
+<xsl:template match="dbs:foil|dbs:foilgroup" mode="bookmark.mode">
+ <fo:bookmark>
+ <xsl:attribute name="internal-destination">
+ <xsl:call-template name="object.id"/>
+ </xsl:attribute>
- <fo:static-content flow-name="xsl-region-after-foil">
- <fo:block>
- <xsl:copy-of select="$content"/>
- </fo:block>
- </fo:static-content>
+ <fo:bookmark-title>
+ <xsl:call-template name="get.title"/>
+ </fo:bookmark-title>
- <fo:static-content flow-name="xsl-region-after-foil-continued">
- <fo:block>
- <xsl:copy-of select="$content"/>
- </fo:block>
- </fo:static-content>
+ <xsl:if test="self::dbs:foilgroup">
+ <xsl:apply-templates select="dbs:foil" mode="bookmark.mode"/>
+ </xsl:if>
+ </fo:bookmark>
</xsl:template>
-<xsl:template name="select.user.pagemaster">
- <xsl:param name="element"/>
- <xsl:param name="pageclass"/>
- <xsl:param name="default-pagemaster"/>
+<xsl:template match="db:author" mode="titlepage.mode">
+ <fo:block>
+ <xsl:apply-templates select="db:personname" mode="titlepage.mode"/>
+ </fo:block>
- <xsl:choose>
- <xsl:when test="$element = 'slides'">slides-titlepage</xsl:when>
- <xsl:otherwise>slides-foil</xsl:otherwise>
- </xsl:choose>
+ <fo:block>
+ <xsl:apply-templates select="db:affiliation" mode="titlepage.mode"/>
+ </fo:block>
+
+ <fo:block>
+ <xsl:apply-templates select="db:email" mode="titlepage.mode"/>
+ </fo:block>
</xsl:template>
-<xsl:template match="slides">
- <xsl:variable name="master-reference">
- <xsl:call-template name="select.pagemaster"/>
- </xsl:variable>
+<xsl:template match="/">
+ <fo:root xsl:use-attribute-sets="slides.properties">
+ <fo:layout-master-set>
+ <xsl:call-template name="user.pagemasters"/>
+ </fo:layout-master-set>
- <fo:page-sequence hyphenate="{$hyphenate}"
- master-reference="{$master-reference}">
- <xsl:attribute name="language">
- <xsl:call-template name="l10n.language"/>
- </xsl:attribute>
+ <xsl:call-template name="slides.bookmarks"/>
- <xsl:apply-templates select="." mode="running.head.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="." mode="running.foot.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
- <fo:flow flow-name="xsl-region-body">
- <fo:block>
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
- <xsl:call-template name="slides.titlepage"/>
- <xsl:apply-templates select="speakernotes"/>
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
- <xsl:apply-templates select="foil|foilgroup"/>
-</xsl:template>
+ <xsl:if test="$generate.titlepage != 0">
+ <fo:page-sequence hyphenate="{$hyphenate}"
+ master-reference="slides-titlepage">
+ <xsl:attribute name="language">
+ <xsl:call-template name="l10n.language"/>
+ </xsl:attribute>
-<xsl:template match="slidesinfo"/>
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block>
+ <xsl:apply-templates select="/dbs:slides" mode="titlepage"/>
+ </fo:block>
+ </fo:flow>
+ </fo:page-sequence>
+ </xsl:if>
-<xsl:template match="slides" mode="title.markup">
- <xsl:param name="allow-anchors" select="'0'"/>
- <xsl:apply-templates select="(slidesinfo/title|title)[1]"
- mode="title.markup">
- <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
- </xsl:apply-templates>
+ <xsl:apply-templates select="/dbs:slides/dbs:foil|/dbs:slides/dbs:foilgroup"/>
+ </fo:root>
</xsl:template>
-<!-- ============================================================ -->
-
-<xsl:template name="foilgroup.titlepage">
- <fo:block background-color="black"
- color="white"
- font-size="{$foil.title.size}"
- font-weight="bold"
- text-align="center"
- padding-top="12pt"
- padding-bottom="12pt"
- space-after="1em">
- <xsl:apply-templates select="title" mode="titlepage.mode"/>
- </fo:block>
+<xsl:template match="dbs:slides" mode="titlepage">
+ <xsl:call-template name="slides.titlepage"/>
</xsl:template>
-<xsl:template match="foilgroup">
- <xsl:variable name="master-reference">
- <xsl:call-template name="select.pagemaster"/>
- </xsl:variable>
+<xsl:template name="page.template">
+ <xsl:param name="mode" select="'normal'"/>
- <fo:page-sequence hyphenate="{$hyphenate}"
- master-reference="{$master-reference}">
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
+ <xsl:param name="title">
+ <xsl:call-template name="get.title"/>
+ </xsl:param>
+
+ <xsl:param name="subtitle">
+ <xsl:call-template name="get.subtitle"/>
+ </xsl:param>
+
+ <fo:page-sequence master-reference="slides-foil" xsl:use-attribute-sets="foil.page-sequence.properties">
<xsl:attribute name="language">
<xsl:call-template name="l10n.language"/>
</xsl:attribute>
- <xsl:apply-templates select="." mode="running.head.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="." mode="running.foot.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
+ <xsl:attribute name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:attribute>
- <fo:flow flow-name="xsl-region-body">
- <fo:block>
- <xsl:if test="*[not(self::foil)]">
- <fo:block xsl:use-attribute-sets="foil.properties" space-after="1em">
- <xsl:apply-templates select="*[not(self::foil)]"/>
- </fo:block>
- </xsl:if>
+ <fo:static-content flow-name="xsl-region-before-foil">
+ <fo:block xsl:use-attribute-sets="foil.header.properties">
+ <fo:block xsl:use-attribute-sets="foil.title.properties">
+ <xsl:value-of select="$title"/>
+ </fo:block>
- <xsl:call-template name="foilgroup.titlepage"/>
+ <fo:block xsl:use-attribute-sets="foil.subtitle.properties">
+ <xsl:value-of select="$subtitle"/>
+ </fo:block>
+ </fo:block>
+ </fo:static-content>
+
+ <fo:static-content flow-name="xsl-region-before-foil-continued">
+ <fo:block xsl:use-attribute-sets="foil.header.properties">
+ <fo:block xsl:use-attribute-sets="foil.title.properties">
+ <xsl:value-of select="$title"/>
+ <xsl:text> </xsl:text>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Continued'"/>
+ </xsl:call-template>
+ </fo:block>
+ </fo:block>
+ </fo:static-content>
+
+ <fo:static-content flow-name="xsl-region-after-foil">
+ <xsl:call-template name="generate.footer"/>
+ </fo:static-content>
+
+ <fo:static-content flow-name="xsl-region-after-foil-continued">
+ <xsl:call-template name="generate.footer"/>
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block xsl:use-attribute-sets="foil.properties">
+ <xsl:choose>
+ <xsl:when test="$mode = 'normal'">
+ <xsl:apply-templates select="*[not(self::dbs:foil)][not(self::db:info)][not(self::db:title)][not(self::db:titleabbrev)][not(self::db:subtitle)][not(self::dbs:speakernotes)][not(self::dbs:handoutnotes)]"/>
+
+ <xsl:if test="self::dbs:foilgroup and ($generate.foilgroup.toc != 0)">
+ <xsl:call-template name="foilgroup.generate.toc"/>
+ </xsl:if>
+ </xsl:when>
+
+ <xsl:when test="$mode = 'speakernotes'">
+ <xsl:apply-templates select="dbs:speakernotes"/>
+ </xsl:when>
+
+ <xsl:when test="$mode = 'handoutnotes'">
+ <xsl:apply-templates select="dbs:handoutnotes"/>
+ </xsl:when>
+ </xsl:choose>
</fo:block>
</fo:flow>
</fo:page-sequence>
- <xsl:apply-templates select="foil"/>
</xsl:template>
-<xsl:template match="foilgroup/title"/>
-<xsl:template match="foilgroup/titleabbrev"/>
+<xsl:template match="dbs:foil|dbs:foilgroup">
+ <xsl:call-template name="page.template"/>
-<xsl:template match="foilgroup/titleabbrev" mode="titlepage.mode">
- <xsl:apply-templates/>
+ <xsl:call-template name="generate.slide.notes"/>
+
+ <xsl:if test="self::dbs:foilgroup">
+ <xsl:apply-templates select="dbs:foil"/>
+ </xsl:if>
</xsl:template>
-<xsl:template match="slides/foilgroup/title" mode="titlepage.mode">
- <xsl:apply-templates/>
+<xsl:template name="generate.slide.notes">
+ <xsl:variable name="subtitle.handoutnotes">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Handoutnotes'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:variable name="subtitle.speakernotes">
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Speakernotes'"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <xsl:if test="($generate.handoutnotes != 0) and ./dbs:handoutnotes">
+ <xsl:call-template name="page.template">
+ <xsl:with-param name="mode" select="'handoutnotes'"/>
+ <xsl:with-param name="subtitle" select="$subtitle.handoutnotes"/>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="($generate.speakernotes != 0) and ./dbs:speakernotes">
+ <xsl:call-template name="page.template">
+ <xsl:with-param name="mode" select="'speakernotes'"/>
+ <xsl:with-param name="subtitle" select="$subtitle.speakernotes"/>
+ </xsl:call-template>
+ </xsl:if>
</xsl:template>
-<xsl:template match="title" mode="foilgroup.titlepage.recto.mode">
- <fo:block>
- <fo:inline color="white">.</fo:inline>
- <fo:block space-before="2in">
- <xsl:apply-templates select="." mode="titlepage.mode"/>
- </fo:block>
+<xsl:template match="dbs:handoutnotes">
+ <fo:block xsl:use-attribute-sets="handoutnotes.properties">
+ <xsl:apply-templates/>
</fo:block>
</xsl:template>
-<xsl:template match="foilgroupinfo"/>
-
-<!-- ============================================================ -->
-
-<!--
-<xsl:template name="foil.titlepage">
- <fo:block background-color="white"
- color="black"
- font-size="{$foil.title.size}"
- font-weight="bold"
- text-align="center"
- padding-top="12pt"
- padding-bottom="12pt"
- space-after="1em">
- <xsl:apply-templates select="title" mode="titlepage.mode"/>
+<xsl:template match="dbs:speakernotes">
+ <fo:block xsl:use-attribute-sets="speakernotes.properties">
+ <xsl:apply-templates/>
</fo:block>
</xsl:template>
--->
-
-<xsl:template match="foil">
- <xsl:variable name="master-reference">
- <xsl:call-template name="select.pagemaster"/>
- </xsl:variable>
- <fo:page-sequence hyphenate="{$hyphenate}"
- master-reference="{$master-reference}">
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
- <xsl:attribute name="language">
- <xsl:call-template name="l10n.language"/>
- </xsl:attribute>
+<xsl:template match="dbs:block">
+ <xsl:apply-templates/>
+</xsl:template>
- <xsl:apply-templates select="." mode="running.head.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
- <xsl:apply-templates select="." mode="running.foot.mode">
- <xsl:with-param name="master-reference" select="$master-reference"/>
- </xsl:apply-templates>
- <fo:flow flow-name="xsl-region-body">
- <fo:block>
- <fo:block xsl:use-attribute-sets="foil.properties">
- <xsl:apply-templates/>
- </fo:block>
- </fo:block>
- </fo:flow>
- </fo:page-sequence>
+<xsl:template name="generate.footer">
+<fo:block xsl:use-attribute-sets="foil.footer.properties">
+ <fo:table>
+ <fo:table-column column-number="1" column-width="33%"/>
+ <fo:table-column column-number="2" column-width="34%"/>
+ <fo:table-column column-number="3" column-width="33%"/>
+
+ <fo:table-body>
+ <fo:table-row height="14pt">
+ <fo:table-cell text-align="left">
+ <xsl:call-template name="footer.left"/>
+ </fo:table-cell>
+
+ <fo:table-cell text-align="center">
+ <xsl:call-template name="footer.center"/>
+ </fo:table-cell>
+
+ <fo:table-cell text-align="right">
+ <xsl:call-template name="footer.right"/>
+ </fo:table-cell>
+ </fo:table-row>
+ </fo:table-body>
+ </fo:table>
+</fo:block>
</xsl:template>
-<xsl:template match="foilinfo"/>
-<xsl:template match="foil/title"/>
-<xsl:template match="foil/subtitle">
- <fo:block xsl:use-attribute-sets="foil.subtitle.properties">
- <xsl:apply-templates/>
- </fo:block>
+<xsl:template name="footer.left">
+ <fo:block/>
</xsl:template>
-<xsl:template match="foil/titleabbrev"/>
-<!-- ============================================================ -->
+<xsl:template name="footer.center">
+ <xsl:if test="($generate.copyright != 0) and /dbs:slides/db:info/db:copyright">
+ <fo:block>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Copyright'"/>
+ </xsl:call-template>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:text>&#xa9;</xsl:text>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:year"/>
+ <xsl:call-template name="gentext.space"/>
+ <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:holder"/>
+ </fo:block>
+ </xsl:if>
-<xsl:template match="slides" mode="label.markup">
- <xsl:if test="@label">
- <xsl:value-of select="@label"/>
+ <xsl:if test="($generate.pubdate != 0) and /dbs:slides/db:info/db:pubdate">
+ <xsl:call-template name="slide.pubdate"/>
</xsl:if>
</xsl:template>
-<!-- ============================================================ -->
+<xsl:template name="footer.right">
+ <fo:block>
+ <xsl:if test="$generate.page.number != 'no'">
+ <fo:page-number/>
+ </xsl:if>
+
+ <xsl:if test="$generate.page.number = 'full'">
+ <xsl:text>&#160;/&#160;</xsl:text>
+ <fo:page-number-citation>
+ <xsl:attribute name="ref-id">
+ <xsl:call-template name="object.id">
+ <xsl:with-param name="object" select="(//dbs:foilgroup|//dbs:foil)[last()]"/>
+ </xsl:call-template>
+ </xsl:attribute>
+ </fo:page-number-citation>
+ </xsl:if>
+ </fo:block>
+</xsl:template>
-<xsl:template match="speakernotes">
- <fo:block xsl:use-attribute-sets="speakernote.properties">
- <xsl:apply-templates/>
+<xsl:template name="slide.pubdate">
+ <fo:block>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'Published'"/>
+ </xsl:call-template>
+ <xsl:text>: </xsl:text>
+ <xsl:value-of select="/dbs:slides/db:info/db:pubdate"/>
</fo:block>
</xsl:template>
-<!-- ============================================================ -->
-<!-- Bookmarks -->
+<xsl:template name="foilgroup.generate.toc">
+ <xsl:choose>
+ <xsl:when test="$generate.foilgroup.numbered.toc != 0">
+ <fo:list-block xsl:use-attribute-sets="list.block.spacing orderedlist.properties">
+ <xsl:for-each select="./dbs:foil">
+ <fo:list-item xsl:use-attribute-sets="list.item.spacing">
+ <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="orderedlist.label.properties">
+ <fo:block>
+ <xsl:value-of select="position()"/>
+ </fo:block>
+ </fo:list-item-label>
+
+ <fo:list-item-body start-indent="body-start()">
+ <fo:block>
+ <xsl:call-template name="get.title"/>
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ </xsl:for-each>
+ </fo:list-block>
+ </xsl:when>
-<!-- XEP -->
+ <xsl:otherwise>
+ <fo:list-block xsl:use-attribute-sets="list.block.spacing itemizedlist.properties">
+ <xsl:for-each select="./dbs:foil">
+ <fo:list-item xsl:use-attribute-sets="list.item.spacing">
+ <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="itemizedlist.label.properties">
+ <fo:block>
+ <xsl:call-template name="itemizedlist.label.markup">
+ <xsl:with-param name="itemsymbol">
+ <xsl:call-template name="list.itemsymbol"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </fo:block>
+ </fo:list-item-label>
+
+ <fo:list-item-body start-indent="body-start()">
+ <fo:block>
+ <xsl:call-template name="get.title"/>
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ </xsl:for-each>
+ </fo:list-block>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
-<xsl:template match="slides|foilgroup|foil[not(@role) or @role != 'ENDTITLE']"
- mode="xep.outline">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
- <xsl:variable name="bookmark-label">
- <xsl:apply-templates select="." mode="object.title.markup"/>
- </xsl:variable>
+<xsl:template match="*[namespace-uri() = 'http://www.w3.org/2000/svg']">
+ <xsl:call-template name="handle.embedded">
+ <xsl:with-param name="modeParam" select="$svg.embedding.mode"/>
+ <xsl:with-param name="fileExt" select="'.svg'"/>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="*[namespace-uri() = 'http://www.w3.org/1998/Math/MathML']">
+ <xsl:call-template name="handle.embedded">
+ <xsl:with-param name="modeParam" select="$mml.embedding.mode"/>
+ <xsl:with-param name="fileExt" select="'.mml'"/>
+ </xsl:call-template>
+</xsl:template>
- <!-- Put the root element bookmark at the same level as its children -->
- <!-- If the object is a set or book, generate a bookmark for the toc -->
+<xsl:template name="handle.embedded">
+ <xsl:param name="modeParam">inline</xsl:param>
+ <xsl:param name="fileExt"/>
<xsl:choose>
- <xsl:when test="parent::*">
- <rx:bookmark internal-destination="{$id}">
- <rx:bookmark-label>
- <xsl:value-of select="$bookmark-label"/>
- </rx:bookmark-label>
- <xsl:apply-templates select="*" mode="xep.outline"/>
- </rx:bookmark>
+ <xsl:when test="$modeParam = 'inline'">
+ <xsl:copy-of select="."/>
+ </xsl:when>
+
+ <xsl:when test="$modeParam = 'instream-foreign-object'">
+ <fo:instream-foreign-object>
+ <xsl:copy-of select="."/>
+ </fo:instream-foreign-object>
</xsl:when>
+
<xsl:otherwise>
- <xsl:if test="$bookmark-label != ''">
- <rx:bookmark internal-destination="{$id}">
- <rx:bookmark-label>
- <xsl:value-of select="$bookmark-label"/>
- </rx:bookmark-label>
- </rx:bookmark>
- </xsl:if>
-
- <xsl:apply-templates select="*" mode="xep.outline"/>
+ <xsl:variable name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:variable>
+ <xsl:variable name="fname">
+ <xsl:value-of select="concat($id, $fileExt)"/>
+ </xsl:variable>
+ <xsl:variable name="prefix">url('</xsl:variable>
+ <xsl:variable name="suffix">')</xsl:variable>
+ <xsl:variable name="file.uri">
+ <xsl:value-of select="concat($prefix, $fname, $suffix)"/>
+ </xsl:variable>
+
+ <exsl:document href="{$fname}">
+ <xsl:copy-of select="."/>
+
+ <xsl:fallback>
+ <xsl:message terminate="yes">
+ Your XSLT processor does not support exsl:document.
+ You can only use inline SVG images.
+ </xsl:message>
+ </xsl:fallback>
+ </exsl:document>
+
+ <xsl:choose>
+ <xsl:when test="$modeParam = 'external-graphic'">
+ <fo:external-graphic src="{$file.uri}"/>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:message terminate="yes">
+ Unknown processing mode <xsl:value-of select="$modeParam"/>.
+ </xsl:message>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
-<!-- Handling of xrefs -->
-
-<xsl:template match="foil|foilgroup" mode="xref-to">
+<xsl:template match="dbs:foil|dbs:foilgroup" mode="xref-to">
<xsl:param name="referrer"/>
<xsl:param name="xrefstyle"/>
-
+
<xsl:apply-templates select="." mode="object.xref.markup">
<xsl:with-param name="purpose" select="'xref'"/>
<xsl:with-param name="xrefstyle" select="$xrefstyle"/>
@@ -524,5 +560,4 @@
</xsl:apply-templates>
</xsl:template>
-
</xsl:stylesheet>