diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-10-08 20:03:29 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-10-08 20:03:29 +0000 |
commit | 15c7d39533a1eb1da0748011f3378fd0f02ed14d (patch) | |
tree | a7ed12df60c5ffd4d00a570804c51470bfb8b0f5 /stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml | |
parent | 09a35dd7178070f01a7961d2ded39e11ba2aac83 (diff) |
Update stylesheets to docbook-xsl-1.78.1.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml')
7 files changed, 1776 insertions, 0 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xml new file mode 100644 index 000000000..1bc7c2ecf --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xml @@ -0,0 +1,824 @@ +<?xml version="1.0" encoding="ASCII"?> +<book version="5.0" xml:id="slides_xhtml_doc"> +<info> +<title>Slides XHTML Parameter Reference</title> +<releaseinfo role="meta"> +$Id$ +</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 XHTML stylesheet. + Note that the Slides stylesheet for XHTML output is a + customization layer of the DocBook XSL XHTML 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/">XHTML stylesheet + parameters</link> to control Slides XHTML output.</para> +</abstract> +</info> +<reference xml:id="xhtml"> + <title>XHTML: General Params</title> + +<refentry version="5.0" xml:id="disable.collapsible"> +<refmeta> +<refentrytitle>disable.collapsible</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> +</refmeta> +<refnamediv> +<refname>disable.collapsible</refname> +<refpurpose>Specifies whether collapsible rendering is enabled</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="disable.collapsible.frag"> + <xsl:param name="disable.collapsible">0</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies whether elements marked as + collapsible are generated as such in the output document.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="disable.incremental"> +<refmeta> +<refentrytitle>disable.incremental</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> +</refmeta> +<refnamediv> +<refname>disable.incremental</refname> +<refpurpose>Specifies whether incremental rendering is enabled</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="disable.incremental.frag"> + <xsl:param name="disable.incremental">0</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies whether elements marked as + incremental are generated as such in the output document.</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.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">object</refmiscinfo> +<refmiscinfo class="other" otherclass="value">image</refmiscinfo> +<refmiscinfo class="other" otherclass="value">link</refmiscinfo> +<refmiscinfo class="other" otherclass="value">iframe</refmiscinfo> +<refmiscinfo class="other" otherclass="value">embed</refmiscinfo> +</refmeta> +<refnamediv> +<refname>mml.embedding.mode</refname> +<refpurpose>Specifies how inline MathML is processed</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="mml.embedding.mode.frag"> + <xsl:param name="mml.embedding.mode">inline</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>object</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>object</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>image</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>img</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>link</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>a</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>iframe</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>iframe</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>embed</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>embed</markup> element.</para> + </listitem> + </varlistentry> +</variablelist> + +</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">inline</refmiscinfo> +<refmiscinfo class="other" otherclass="value">object</refmiscinfo> +<refmiscinfo class="other" otherclass="value">image</refmiscinfo> +<refmiscinfo class="other" otherclass="value">link</refmiscinfo> +<refmiscinfo class="other" otherclass="value">iframe</refmiscinfo> +<refmiscinfo class="other" otherclass="value">embed</refmiscinfo> +</refmeta> +<refnamediv> +<refname>svg.embedding.mode</refname> +<refpurpose>Specifies how inline SVG is processed</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="svg.embedding.mode.frag"> + <xsl:param name="svg.embedding.mode">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>object</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>object</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>image</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>img</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>link</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>a</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>iframe</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>iframe</markup> element.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>embed</term> + <listitem> + <para>Content is extracted into an externel file and referenced + by an <markup>embed</markup> element.</para> + </listitem> + </varlistentry> +</variablelist> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="user.css"> +<refmeta> +<refentrytitle>user.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>user.css</refname> +<refpurpose>Specifies the path to user-supplied CSS</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="user.css.frag"> + <xsl:param name="user.css">user.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the path from where the + CSS styling is read. This file can be used to + add additional styling to the slides.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="wrap.slidecontent"> +<refmeta> +<refentrytitle>wrap.slidecontent</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> +</refmeta> +<refnamediv> +<refname>wrap.slidecontent</refname> +<refpurpose>Specifies whether the foil content is wrapped into a div</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="wrap.slidecontent.frag"> + <xsl:param name="wrap.slidecontent">0</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies whether the foil content is wrapped into + a div so that additional styling can be applied.</para> + +</refsection> +</refentry> + +</reference> + +<reference xml:id="s5"> + <title>XHTML: S5 Params</title> + +<refentry version="5.0" xml:id="s5.controls"> +<refmeta> +<refentrytitle>s5.controls</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.controls</refname> +<refpurpose>Specifies whether S5 controls are visible</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.controls.frag"> + <xsl:param name="s5.controls">0</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies whether S5 navigation controls are + visible by default.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.defaultview"> +<refmeta> +<refentrytitle>s5.defaultview</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> +<refmiscinfo class="other" otherclass="value">slideshow</refmiscinfo> +<refmiscinfo class="other" otherclass="value">outline</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.defaultview</refname> +<refpurpose>Specifies the default S5 view</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.defaultview.frag"> + <xsl:param name="s5.defaultview">slideshow</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies, which is the default view + in the generated S5 presentation.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.opera.css"> +<refmeta> +<refentrytitle>s5.opera.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.opera.css</refname> +<refpurpose>Specifies the name of the S5 Opera-specific CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.opera.css.frag"> + <xsl:param name="s5.opera.css">opera.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the S5 Opera-specific + CSS file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.outline.css"> +<refmeta> +<refentrytitle>s5.outline.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.outline.css</refname> +<refpurpose>Specifies the name of the S5 outline CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.outline.css.frag"> + <xsl:param name="s5.outline.css">outline.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the S5 outline CSS file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.path.prefix"> +<refmeta> +<refentrytitle>s5.path.prefix</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.path.prefix</refname> +<refpurpose>Specifies the path to S5 files</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.path.prefix.frag"> + <xsl:param name="s5.path.prefix">files/s5/ui/default/</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the path where S5 CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.print.css"> +<refmeta> +<refentrytitle>s5.print.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.print.css</refname> +<refpurpose>Specifies the name of the S5 print CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.print.css.frag"> + <xsl:param name="s5.print.css">print.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the S5 print CSS file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.slides.css"> +<refmeta> +<refentrytitle>s5.slides.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.slides.css</refname> +<refpurpose>Specifies the name of the S5 slides CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.slides.css.frag"> + <xsl:param name="s5.slides.css">slides.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the S5 slides CSS file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="s5.slides.js"> +<refmeta> +<refentrytitle>s5.slides.js</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>s5.slides.js</refname> +<refpurpose>Specifies the name of the S5 slides JavaScript file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="s5.slides.js.frag"> + <xsl:param name="s5.slides.js">slides.js</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the S5 slides JavaScript + file.</para> + +</refsection> +</refentry> + +</reference> + +<reference xml:id="slidy"> + <title>XHTML: Slidy Params</title> + +<refentry version="5.0" xml:id="slidy.duration"> +<refmeta> +<refentrytitle>slidy.duration</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slidy.duration</refname> +<refpurpose>Specifies the duration of the presentation</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slidy.duration.frag"> + <xsl:param name="slidy.duration">0</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the duration of the presentation + in minutes. A JavaScript clock will count down to help the + speaker in not running out of time. Can be disabled if set to 0.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="slidy.path.prefix"> +<refmeta> +<refentrytitle>slidy.path.prefix</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slidy.path.prefix</refname> +<refpurpose>Specifies the path to Slidy files</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slidy.path.prefix.frag"> + <xsl:param name="slidy.path.prefix">files/slidy/</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the path where Slidy CSS and + JavaScript files reside. All the CSS and JavaScript paths + will be generated relative to this directory.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="slidy.slidy.css"> +<refmeta> +<refentrytitle>slidy.slidy.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slidy.slidy.css</refname> +<refpurpose>Specifies the name of the main Slidy CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slidy.slidy.css.frag"> + <xsl:param name="slidy.slidy.css">styles/slidy.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the main Slidy CSS file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="slidy.slidy.js"> +<refmeta> +<refentrytitle>slidy.slidy.js</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slidy.slidy.js</refname> +<refpurpose>Specifies the name of the Slidy JavaScript file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slidy.slidy.js.frag"> + <xsl:param name="slidy.slidy.js">scripts/slidy.js</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the Slidy JavaScript file.</para> + +</refsection> +</refentry> + +<refentry version="5.0" xml:id="slidy.user.css"> +<refmeta> +<refentrytitle>slidy.user.css</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> +</refmeta> +<refnamediv> +<refname>slidy.user.css</refname> +<refpurpose>Specifies the name of the Slidy user CSS file</refpurpose> +</refnamediv> + +<refsynopsisdiv> + <programlisting xml:id="slidy.user.css.frag"> + <xsl:param name="slidy.user.css">styles/w3c-blue.css</xsl:param> + </programlisting> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>This parameter specifies the name of the Slidy user CSS file.</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="disable.collapsible.frag"></src:fragref> +<src:fragref linkend="disable.incremental.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.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.frag"></src:fragref> +<src:fragref linkend="svg.embedding.mode.frag"></src:fragref> +<src:fragref linkend="user.css.frag"></src:fragref> +<src:fragref linkend="wrap.slidecontent.frag"></src:fragref> + +<src:fragref linkend="s5.controls.frag"></src:fragref> +<src:fragref linkend="s5.defaultview.frag"></src:fragref> +<src:fragref linkend="s5.opera.css.frag"></src:fragref> +<src:fragref linkend="s5.outline.css.frag"></src:fragref> +<src:fragref linkend="s5.path.prefix.frag"></src:fragref> +<src:fragref linkend="s5.print.css.frag"></src:fragref> +<src:fragref linkend="s5.slides.css.frag"></src:fragref> +<src:fragref linkend="s5.slides.js.frag"></src:fragref> + +<src:fragref linkend="slidy.duration.frag"></src:fragref> +<src:fragref linkend="slidy.path.prefix.frag"></src:fragref> +<src:fragref linkend="slidy.slidy.css.frag"></src:fragref> +<src:fragref linkend="slidy.slidy.js.frag"></src:fragref> +<src:fragref linkend="slidy.user.css.frag"></src:fragref> + +</xsl:stylesheet> +</programlisting> + +</appendix> +</book> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xsl new file mode 100644 index 000000000..6bd0e5cf8 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/param.xsl @@ -0,0 +1,71 @@ +<?xml version="1.0"?> +<!-- This file is generated from param.xweb --> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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. + + ******************************************************************** --> + + <xsl:param name="disable.collapsible">0</xsl:param> + + <xsl:param name="disable.incremental">0</xsl:param> + + <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.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">inline</xsl:param> + + <xsl:param name="svg.embedding.mode">object</xsl:param> + + <xsl:param name="user.css">user.css</xsl:param> + + <xsl:param name="wrap.slidecontent">0</xsl:param> + + + <xsl:param name="s5.controls">0</xsl:param> + + <xsl:param name="s5.defaultview">slideshow</xsl:param> + + <xsl:param name="s5.opera.css">opera.css</xsl:param> + + <xsl:param name="s5.outline.css">outline.css</xsl:param> + + <xsl:param name="s5.path.prefix">files/s5/ui/default/</xsl:param> + + <xsl:param name="s5.print.css">print.css</xsl:param> + + <xsl:param name="s5.slides.css">slides.css</xsl:param> + + <xsl:param name="s5.slides.js">slides.js</xsl:param> + + + <xsl:param name="slidy.duration">0</xsl:param> + + <xsl:param name="slidy.path.prefix">files/slidy/</xsl:param> + + <xsl:param name="slidy.slidy.css">styles/slidy.css</xsl:param> + + <xsl:param name="slidy.slidy.js">scripts/slidy.js</xsl:param> + + <xsl:param name="slidy.user.css">styles/w3c-blue.css</xsl:param> + + +</xsl:stylesheet> + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xml new file mode 100644 index 000000000..fb6569d7b --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xml @@ -0,0 +1,26 @@ +<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0" + xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + +<t:titlepage t:element="slides" t:wrapper="div" class="slide cover title"> + <t:titlepage-content t:side="recto"> + <title/> + <subtitle/> + <corpauthor/> + <authorgroup/> + <author/> + </t:titlepage-content> + + <t:titlepage-content t:side="verso"> + </t:titlepage-content> + + <t:titlepage-separator> + </t:titlepage-separator> + + <t:titlepage-before t:side="recto"> + </t:titlepage-before> + + <t:titlepage-before t:side="verso"> + </t:titlepage-before> +</t:titlepage> +</t:templates> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xsl new file mode 100644 index 000000000..3af53f420 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain-titlepage.xsl @@ -0,0 +1,140 @@ +<?xml version="1.0"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl"> + +<!-- This stylesheet was created by template/titlepage.xsl--> + +<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"/> + </xsl:when> + <xsl:when test="docinfo/title"> + <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"/> + </xsl:when> + <xsl:when test="title"> + <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"/> + </xsl:when> + <xsl:when test="docinfo/subtitle"> + <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"/> + </xsl:when> + <xsl:when test="subtitle"> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle"/> + </xsl:when> + </xsl:choose> + + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/corpauthor"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/authorgroup"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/author"/> + <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/author"/> +</xsl:template> + +<xsl:template name="slides.titlepage.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage.separator"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.recto"> +</xsl:template> + +<xsl:template name="slides.titlepage.before.verso"> +</xsl:template> + +<xsl:template name="slides.titlepage"> + <div class="slide cover title"> + <xsl:variable name="recto.content"> + <xsl:call-template name="slides.titlepage.before.recto"/> + <xsl:call-template name="slides.titlepage.recto"/> + </xsl:variable> + <xsl:variable name="recto.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count > 0)"> + <div><xsl:copy-of select="$recto.content"/></div> + </xsl:if> + <xsl:variable name="verso.content"> + <xsl:call-template name="slides.titlepage.before.verso"/> + <xsl:call-template name="slides.titlepage.verso"/> + </xsl:variable> + <xsl:variable name="verso.elements.count"> + <xsl:choose> + <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')"> + <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when> + <xsl:otherwise>1</xsl:otherwise> + </xsl:choose> + </xsl:variable> + <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count > 0)"> + <div><xsl:copy-of select="$verso.content"/></div> + </xsl:if> + <xsl:call-template name="slides.titlepage.separator"/> + </div> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.recto.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="*" mode="slides.titlepage.verso.mode"> + <!-- if an element isn't found in this mode, --> + <!-- try the generic titlepage.mode --> + <xsl:apply-templates select="." mode="titlepage.mode"/> +</xsl:template> + +<xsl:template match="title" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +<xsl:template match="author" mode="slides.titlepage.recto.auto.mode"> +<div xsl:use-attribute-sets="slides.titlepage.recto.style"> +<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/> +</div> +</xsl:template> + +</xsl:stylesheet> + diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain.xsl new file mode 100644 index 000000000..05d5e5122 --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/plain.xsl @@ -0,0 +1,535 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:xlink="http://www.w3.org/1999/xlink" + 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 xlink" + extension-element-prefixes="exsl" + version="1.0"> + +<xsl:import href="../../xhtml/chunk.xsl"/> +<xsl:import href="../common/common.xsl"/> +<xsl:import href="plain-titlepage.xsl"/> +<xsl:import href="param.xsl"/> + +<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="Foilgroup" text="Foil Group"/> + <l:gentext key="Foil" text="Foil"/> + <l:gentext key="Speakernotes" text="Speaker Notes"/> + <l:gentext key="Handoutnotes" text="Handout Notes"/> + <l:gentext key="SVGImage" text="SVG image"/> + <l:gentext key="MathMLFormula" text="MathML formula"/> + + <l:context name="title"> + <l:gentext key="foil" text="Foil %n %t"/> + <l:gentext key="foilgroup" text="Foil %n %t"/> + </l:context> + </l:l10n> +</i18n> + +<!-- Overrides from DocBook XSL --> +<xsl:template name="process.qanda.toc"/> + +<!-- Main content starts here --> + +<xsl:template name="xhtml.head"> + <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> +</xsl:template> + +<xsl:template name="slideshow.head"/> + +<xsl:template name="slideshow.content"> + <div class="presentation"> + <xsl:if test="$generate.titlepage != 0"> + <xsl:apply-templates select="/dbs:slides" mode="titlepage"/> + </xsl:if> + + <xsl:apply-templates select="/dbs:slides/dbs:foil|dbs:slides/dbs:foilgroup"/> + </div> +</xsl:template> + +<xsl:template match="/dbs:slides" mode="titlepage"> + <xsl:call-template name="slides.titlepage"/> +</xsl:template> + +<xsl:template name="slide.notes"> + <xsl:if test="($generate.speakernotes != 0) and ./dbs:speakernotes"> + <div class="notes"> + <h2 class="notes"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Speakernotes'"/> + </xsl:call-template> + </h2> + + <xsl:apply-templates select="dbs:speakernotes" mode="notes.mode"/> + </div> + </xsl:if> + + <xsl:if test="($generate.handoutnotes != 0) and ./dbs:handoutnotes"> + <div class="handout"> + <h2 class="handout"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Handoutnotes'"/> + </xsl:call-template> + </h2> + + <xsl:apply-templates select="dbs:handoutnotes" mode="notes.mode"/> + </div> + </xsl:if> +</xsl:template> + +<xsl:template match="/"> + <html> + <xsl:if test="/dbs:slides/@xml:lang"> + <xsl:attribute name="xml:lang"> + <xsl:value-of select="/dbs:slides/@xml:lang"/> + </xsl:attribute> + </xsl:if> + + <head> + <title> + <xsl:call-template name="get.title"> + <xsl:with-param name="ctx" select="/dbs:slides"/> + </xsl:call-template> + </title> + + <xsl:call-template name="xhtml.head"/> + </head> + + <body> + <xsl:call-template name="slideshow.head"/> + + <xsl:call-template name="slideshow.content"/> + </body> + </html> +</xsl:template> + +<xsl:template name="foilgroup.content"> + <xsl:apply-templates select="*[not(self::dbs:foil)]"/> + + <xsl:if test="($generate.foilgroup.toc != 0)"> + <xsl:choose> + <xsl:when test="($generate.foilgroup.numbered.toc != 0)"> + <ol> + <xsl:for-each select="dbs:foil"> + <li><xsl:call-template name="get.title"/></li> + </xsl:for-each> + </ol> + </xsl:when> + + <xsl:otherwise> + <ul> + <xsl:for-each select="dbs:foil"> + <li><xsl:call-template name="get.title"/></li> + </xsl:for-each> + </ul> + </xsl:otherwise> + </xsl:choose> + </xsl:if> +</xsl:template> + +<xsl:template name="foil.classes"> + <xsl:variable name="classValue"> + <xsl:call-template name="process.dbs.attributes"> + <!-- Do not put incremental or collapsible on foils --> + <xsl:with-param name="attributeSet" select="self::*/@dbs:style"/> + <xsl:with-param name="stored"> + <xsl:value-of select="'slide'"/> + <xsl:if test="@*[namespace-uri() = 'http://docbook.org/ns/docbook-slides']"> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:with-param> + </xsl:call-template> + </xsl:variable> + + <xsl:attribute name="class"> + <xsl:value-of select="$classValue"/> + </xsl:attribute> +</xsl:template> + +<xsl:template match="dbs:foilgroup"> + <xsl:call-template name="generate.anchor"/> + <div> + <xsl:call-template name="foil.classes"/> + + <xsl:choose> + <xsl:when test="($wrap.slidecontent != 0)"> + <div class="slidecontent"> + <xsl:call-template name="foilgroup.content"/> + </div> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="foilgroup.content"/> + </xsl:otherwise> + </xsl:choose> + + <xsl:call-template name="slide.notes"/> + </div> + + <xsl:apply-templates select="dbs:foil"/> +</xsl:template> + +<xsl:template match="dbs:foil"> + <xsl:call-template name="generate.anchor"/> + <div> + <xsl:call-template name="foil.classes"/> + + <xsl:choose> + <xsl:when test="($wrap.slidecontent != 0)"> + <div class="slidecontent"> + <xsl:apply-templates select="*"/> + </div> + </xsl:when> + + <xsl:otherwise> + <xsl:apply-templates/> + </xsl:otherwise> + </xsl:choose> + + <xsl:call-template name="process.footnotes"/> + + <xsl:call-template name="slide.notes"/> + </div> +</xsl:template> + +<xsl:template match="dbs:handoutnotes"/> + +<xsl:template match="dbs:speakernotes"/> + +<xsl:template match="dbs:handoutnotes" mode="notes.mode"> + <div class="handoutnotes"> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="dbs:speakernotes" mode="notes.mode"> + <div class="speakernotes"> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template name="process.dbs.attributes"> + <xsl:param name="attributeSet"/> + <xsl:param name="stored" select="''"/> + + <xsl:variable name="gotIncremental"> + <xsl:if test="((local-name($attributeSet[1]) = 'incremental') and ($attributeSet[1] = '1'))">1</xsl:if> + </xsl:variable> + + <xsl:variable name="enableIncremental"> + <xsl:if test="($disable.incremental = '0') and ($gotIncremental = '1')">1</xsl:if> + </xsl:variable> + + <xsl:variable name="gotCollapsible"> + <xsl:if test="((local-name($attributeSet[1]) = 'collapsible') and ($attributeSet[1] = '1'))">1</xsl:if> + </xsl:variable> + + <xsl:variable name="enableCollapsible"> + <xsl:if test="($disable.collapsible = '0') and ($gotCollapsible = '1')">1</xsl:if> + </xsl:variable> + + <xsl:variable name="append"> + <xsl:choose> + <xsl:when test="local-name($attributeSet[1]) = 'style'"> + <xsl:value-of select="$attributeSet[1]"/> + </xsl:when> + + <xsl:when test="$enableCollapsible = '1'"> + <xsl:value-of select="'outline'"/> + </xsl:when> + + <xsl:when test="$enableIncremental = '1'"> + <xsl:value-of select="'incremental'"/> + </xsl:when> + </xsl:choose> + + <xsl:if test="count($attributeSet) > 1"> + <xsl:text> </xsl:text> + </xsl:if> + </xsl:variable> + + <xsl:choose> + <xsl:when test="not($attributeSet)"> + <xsl:value-of select="$stored"/> + </xsl:when> + + <xsl:when test="count($attributeSet) <= 1"> + <xsl:value-of select="concat($stored, $append)"/> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="process.dbs.attributes"> + <xsl:with-param name="attributeSet" select="$attributeSet[position() != 1]"/> + <xsl:with-param name="stored" select="concat($stored, $append)"/> + </xsl:call-template> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="dbs:block"> + <xsl:variable name="classValue"> + <xsl:call-template name="process.dbs.attributes"> + <xsl:with-param name="attributeSet" select="(ancestor-or-self::*/@dbs:incremental)[last()] | (ancestor-or-self::*/@dbs:collapsible)[last()] | self::*/@dbs:style"/> + </xsl:call-template> + </xsl:variable> + + <div class="{$classValue}"> + <xsl:apply-templates/> + </div> +</xsl:template> + +<xsl:template match="db:info"> + <xsl:apply-templates select="db:title|db:titleabbrev|db:subtitle|db:author|db:authorgroup/db:author"/> +</xsl:template> + +<xsl:template match="db:title|db:titleabbrev"> + <xsl:if test="not(self::db:title) or (not(preceding-sibling::db:titleabbrev) and not(following-sibling::db:titleabbrev))"> + <h1 class="title"><xsl:value-of select="."/></h1> + </xsl:if> +</xsl:template> + +<xsl:template match="db:subtitle"> + <h1 class="subtitle"><xsl:value-of select="."/></h1> +</xsl:template> + +<xsl:template match="db:author"> + <h3 class="author"><xsl:apply-templates select="db:personname|db:orgname"/></h3> + <h4 class="email"><xsl:apply-templates select="db:email"/></h4> + <xsl:if test="db:affiliation"> + <h4 class="affiliation"><xsl:value-of select="db:affiliation"/></h4> + </xsl:if> +</xsl:template> + +<xsl:template match="db:email"> + <a> + <xsl:attribute name="href"> + <xsl:text>mailto:</xsl:text><xsl:value-of select="."/> + </xsl:attribute> + + <<xsl:value-of select="."/>> + </a> +</xsl:template> + +<xsl:template name="list.content"> + <xsl:variable name="classValue"> + <xsl:call-template name="process.dbs.attributes"> + <xsl:with-param name="attributeSet" select="(ancestor-or-self::*/@dbs:incremental)[last()] | (ancestor-or-self::*/@dbs:collapsible)[last()] | self::*/@dbs:style"/> + </xsl:call-template> + </xsl:variable> + + <xsl:attribute name="class"> + <xsl:value-of select="$classValue"/> + </xsl:attribute> + + <xsl:apply-templates select="*"/> +</xsl:template> + +<xsl:template match="db:itemizedlist"> + <ul> + <xsl:call-template name="list.content"/> + </ul> +</xsl:template> + +<xsl:template match="db:orderedlist"> + <ol> + <xsl:call-template name="list.content"/> + </ol> +</xsl:template> + +<xsl:template match="db:mediaobject"> + <xsl:variable name="classValue"> + <xsl:call-template name="process.dbs.attributes"> + <xsl:with-param name="attributeSet" select="(ancestor-or-self::*/@dbs:incremental)[last()] | (ancestor-or-self::*/@dbs:collapsible)[last()] | self::*/@dbs:style"/> + </xsl:call-template> + </xsl:variable> + + <div class="{$classValue}"> + <xsl:apply-templates select="db:imageobject[1]"/> + </div> +</xsl:template> + +<xsl:template name="bibliography.titlepage"/> + +<xsl:template match="db:bibliosource" mode="bibliography.mode"> + <span> + <xsl:call-template name="common.html.attributes"/> + <xsl:call-template name="id.attribute"/> + <xsl:choose> + <xsl:when test="@xlink:href"> + <a href="{@xlink:href}"> + <xsl:apply-templates mode="bibliography.mode"/> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:apply-templates mode="bibliomixed.mode"/> + </xsl:otherwise> + </xsl:choose> + </span> +</xsl:template> + +<xsl:template name="href.target.uri"> + <xsl:param name="object" select="."/> + <xsl:variable name="ischunk"> + <xsl:call-template name="chunk"> + <xsl:with-param name="node" select="$object"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="$ischunk='0'"> + <xsl:text>#</xsl:text> + <xsl:call-template name="object.id"> + <xsl:with-param name="object" select="$object"/> + </xsl:call-template> + </xsl:if> +</xsl:template> + +<xsl:template match="dbs:foil|dbs:foilgroup" mode="xref-to"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Foil'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:value-of select="count(preceding::dbs:foil|preceding::dbs:foilgroup) + 1"/> + <xsl:text>: </xsl:text> + <xsl:call-template name="get.title"/> +</xsl:template> + +<xsl:template name="extension.process.image.attributes"> + <xsl:variable name="classValue"> + <xsl:call-template name="process.dbs.attributes"> + <xsl:with-param name="attributeSet" select="(ancestor-or-self::*/@dbs:incremental)[last()] | (ancestor-or-self::*/@dbs:collapsible)[last()] | self::*/@dbs:style"/> + </xsl:call-template> + </xsl:variable> + + <xsl:if test="./@*[namespace-uri() = 'http://docbook.org/ns/docbook-slides']"> + <xsl:attribute name="class"> + <xsl:value-of select="$classValue"/> + </xsl:attribute> + </xsl:if> +</xsl:template> + +<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:with-param name="mimeType" select="'image/svg+xml'"/> + <xsl:with-param name="gentextKey" select="'SVGImage'"/> + </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:with-param name="mimeType" select="'application/mathml-presentation+xml'"/> + <xsl:with-param name="gentextKey" select="'MathMLFormula'"/> + </xsl:call-template> +</xsl:template> + +<xsl:template name="handle.embedded"> + <xsl:param name="modeParam">inline</xsl:param> + <xsl:param name="fileExt"/> + <xsl:param name="mimeType"/> + <xsl:param name="gentextKey"/> + + <xsl:choose> + <xsl:when test="$modeParam = 'inline'"> + <xsl:copy-of select="."/> + </xsl:when> + + <xsl:otherwise> + <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> + + <exsl:document href="{$fname}"> + <xsl:copy-of select="."/> + </exsl:document> + + <xsl:choose> + <xsl:when test="$modeParam = 'object'"> + <object data="{$fname}" type="{$mimeType}"/> + </xsl:when> + + <xsl:when test="$modeParam = 'image'"> + <img alt="{$mimeType} object" src="{$fname}"/> + </xsl:when> + + <xsl:when test="$modeParam = 'link'"> + <a href="{$fname}"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="$gentextKey"/> + </xsl:call-template> + </a> + </xsl:when> + + <xsl:when test="$modeParam = 'iframe'"> + <iframe src="{$fname}"/> + </xsl:when> + + <xsl:when test="$modeParam = 'embed'"> + <embed src="{$fname}" type="{$mimeType}" /> + </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> + +<xsl:template name="generate.anchor"> + <a> + <xsl:attribute name="name"> + <xsl:call-template name="object.id"/> + </xsl:attribute> + </a> +</xsl:template> + +<xsl:template name="slide.copyright"> + <div class="copyright"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key" select="'Copyright'"/> + </xsl:call-template> + <xsl:call-template name="gentext.space"/> + <xsl:text>©</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"/> + </div> +</xsl:template> + +<xsl:template name="slide.pubdate"> + <div class="pubdate"> + <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"/> + </div> +</xsl:template> + +<xsl:template match="/" mode="slide.header.mode"/> + +<xsl:template match="/" mode="slide.footer.mode"> + <xsl:if test="($generate.copyright != 0) and /dbs:slides/db:info/db:copyright"> + <xsl:call-template name="slide.copyright"/> + </xsl:if> + <xsl:if test="($generate.pubdate != 0) and /dbs:slides/db:info/db:pubdate"> + <xsl:call-template name="slide.pubdate"/> + </xsl:if> +</xsl:template> +</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/s5.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/s5.xsl new file mode 100644 index 000000000..9447db3ec --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/s5.xsl @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + exclude-result-prefixes="dbs db" + version="1.0"> + +<xsl:import href="plain.xsl"/> + +<!-- XXX: recommended by S5 but DocBook XSL produces XHTML Transitional + +<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" + doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> +--> + +<xsl:template name="xhtml.head"> + <xsl:variable name="s5.controls.visible"> + <xsl:choose> + <xsl:when test="$s5.controls != 0">visible</xsl:when> + + <xsl:otherwise>hidden</xsl:otherwise> + </xsl:choose> + </xsl:variable> + + <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/> + <meta name="version" content="S5 1.1"/> + <meta name="defaultView" content="{$s5.defaultview}"/> + <meta name="controlVis" content="{$s5.controls.visible}"/> + + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.slides.css)}" type="text/css" media="projection" id="slideProj" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.outline.css)}" type="text/css" media="screen" id="outlineStyle" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.print.css)}" type="text/css" media="print" id="slidePrint" /> + <link rel="stylesheet" href="{concat($s5.path.prefix, $s5.opera.css)}" type="text/css" media="projection" id="operaFix" /> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> + + <script src="{concat($s5.path.prefix, $s5.slides.js)}" type="text/javascript"></script> +</xsl:template> + +<xsl:template name="slideshow.head"> + <div class="layout"> + <div id="controls"/> + <div id="currentSlide"/> + <div id="header"> + <xsl:apply-templates select="/" mode="slide.header.mode"/> + </div> + <div id="footer"> + <xsl:apply-templates select="/" mode="slide.footer.mode"/> + </div> + </div> +</xsl:template> + +<xsl:template match="db:xref"> + <xsl:variable name="target" select="id(./@linkend)"/> + + <xsl:choose> + <xsl:when test="($target[self::dbs:foil] or $target[self::dbs:foilgroup])"> + <xsl:variable name="target.no" select="count(preceding::dbs:foil|preceding::dbs:foilgroup) + 1"/> + + <xsl:apply-templates select="$target" mode="xref-to"/> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="xref"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:biblioentry" mode="xref-to"> + <xsl:variable name="id" select="@xml:id"/> + + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/> + </xsl:when> + + <xsl:otherwise> + <xsl:value-of select="$id"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:mediaobject"> + <p> + <xsl:if test="@dbs:style"> + <xsl:attribute name="class"> + <xsl:value-of select="@dbs:style"/> + </xsl:attribute> + </xsl:if> + + <xsl:apply-templates/> + </p> +</xsl:template> + +</xsl:stylesheet> diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/slidy.xsl b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/slidy.xsl new file mode 100644 index 000000000..d286c553d --- /dev/null +++ b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/xhtml/slidy.xsl @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="ASCII"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns="http://www.w3.org/1999/xhtml" + xmlns:db="http://docbook.org/ns/docbook" + xmlns:dbs="http://docbook.org/ns/docbook-slides" + exclude-result-prefixes="dbs db" + version="1.0"> + +<xsl:import href="plain.xsl"/> + +<xsl:param name="wrap.slidecontent">0</xsl:param> + +<xsl:template name="xhtml.head"> + <meta name="copyright"> + <xsl:attribute name="content"> + <xsl:if test="/dbs:slides/db:info/db:copyright"> + <xsl:call-template name="slide.copyright"/> + </xsl:if> + </xsl:attribute> + </meta> + + <xsl:if test="$slidy.duration != 0"> + <meta name="duration" content="{$slidy.duration}"/> + </xsl:if> + + <link rel="stylesheet" href="{concat($slidy.path.prefix, $slidy.slidy.css)}" type="text/css"/> + <xsl:if test="$slidy.user.css"> + <link rel="stylesheet" href="{concat($slidy.path.prefix, $slidy.user.css)}" type="text/css"/> + </xsl:if> + <link rel="stylesheet" href="{$user.css}" type="text/css"/> + <script src="{concat($slidy.path.prefix, $slidy.slidy.js)}" charset="utf-8" type="text/javascript"/> +</xsl:template> + +<xsl:template name="slideshow.head"> + <div class="background"/> +</xsl:template> + +<xsl:template name="slideshow.content"> + <xsl:if test="$generate.titlepage != 0"> + <xsl:apply-templates select="/dbs:slides" mode="titlepage"/> + </xsl:if> + + <xsl:apply-templates select="/dbs:slides/dbs:foil|dbs:slides/dbs:foilgroup"/> +</xsl:template> + +<xsl:template match="db:xref"> + <xsl:variable name="target" select="id(./@linkend)"/> + + <xsl:choose> + <xsl:when test="($target[self::dbs:foil] or $target[self::dbs:foilgroup])"> + <!-- foil no: preceding foil(group)s + titlepage + 1 --> + <xsl:variable name="target.no" select="count($target/preceding::dbs:foil|$target/preceding::dbs:foilgroup) + 1 + $generate.titlepage"/> + + <a href="{concat('#(', $target.no, ')')}"> + <xsl:apply-templates select="$target" mode="xref-to"/> + </a> + </xsl:when> + + <xsl:otherwise> + <xsl:call-template name="xref"/> + </xsl:otherwise> + </xsl:choose> +</xsl:template> + +<xsl:template match="db:biblioentry" mode="xref-to"> + <xsl:variable name="id" select="@xml:id"/> + <xsl:variable name="entry" select="//db:bibliography/*[@xml:id=$id][1]"/> + + <a> + <xsl:attribute name="href"> + <xsl:value-of select="concat('#(', count($entry/preceding::dbs:foil|$entry/preceding::dbs:foilgroup) + 1 + $generate.titlepage, ')')"/> + </xsl:attribute> + <xsl:choose> + <xsl:when test="$bibliography.numbered != 0"> + <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/> + </xsl:when> + + <xsl:otherwise> + <xsl:value-of select="$id"/> + </xsl:otherwise> + </xsl:choose> + </a> +</xsl:template> + +</xsl:stylesheet> |