summaryrefslogtreecommitdiff
path: root/slides/xhtml
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-17 20:07:05 +0000
committer <>2015-07-07 10:18:30 +0000
commit802da9dd5d4bc18f46a916eedc0c5c1980a15e59 (patch)
treef78a8637465b7a4c9624fef03d27eb7aeaa779d4 /slides/xhtml
parent18f63104106b81bf37ca1af774d7be38051e5444 (diff)
downloaddocbook-xsl-802da9dd5d4bc18f46a916eedc0c5c1980a15e59.tar.gz
Imported from /home/lorry/working-area/delta_docbook-xsl/docbook-xsl-1.78.1.tar.bz2.HEADdocbook-xsl-1.78.1master
Diffstat (limited to 'slides/xhtml')
-rw-r--r--slides/xhtml/css.xsl47
-rw-r--r--slides/xhtml/default.xsl246
-rw-r--r--slides/xhtml/flat.xsl71
-rw-r--r--slides/xhtml/frames.xsl1982
-rw-r--r--slides/xhtml/graphics.xsl152
-rw-r--r--slides/xhtml/jscript.xsl128
-rw-r--r--slides/xhtml/param.xml824
-rw-r--r--slides/xhtml/param.xsl113
-rw-r--r--slides/xhtml/plain-titlepage.xml26
-rw-r--r--slides/xhtml/plain-titlepage.xsl140
-rw-r--r--slides/xhtml/plain.xsl979
-rw-r--r--slides/xhtml/s5.xsl95
-rw-r--r--slides/xhtml/slides-common.xsl1534
-rw-r--r--slides/xhtml/slidy.xsl85
-rw-r--r--slides/xhtml/tables.xsl334
-rw-r--r--slides/xhtml/vslides.xsl652
-rw-r--r--slides/xhtml/w3c.xsl358
17 files changed, 1749 insertions, 6017 deletions
diff --git a/slides/xhtml/css.xsl b/slides/xhtml/css.xsl
deleted file mode 100644
index d0b47c6..0000000
--- a/slides/xhtml/css.xsl
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<!-- ====================================================================== -->
-
-<xsl:template name="css-file">
- <xsl:param name="css" select="'slides.css'"/>
-
- <xsl:variable name="source.css.dir">
- <xsl:call-template name="dbhtml-attribute">
- <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
- <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$source.css.dir != ''">
- <xsl:value-of select="$source.css.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:when test="$css.stylesheet.dir != ''">
- <xsl:value-of select="$css.stylesheet.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$css"/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- active navigation images -->
-
-<xsl:template name="css.stylesheet">
- <xsl:param name="css" select="$css.stylesheet"/>
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="css-file">
- <xsl:with-param name="css" select="$css"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/default.xsl b/slides/xhtml/default.xsl
deleted file mode 100644
index 86f2cb3..0000000
--- a/slides/xhtml/default.xsl
+++ /dev/null
@@ -1,246 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
-
-<xsl:param name="css.stylesheet" select="'slides-default.css'"/>
-
-<xsl:template name="top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <xsl:call-template name="generate.toc.hide.show"/>
- <td align="left" width="10%">
- <xsl:choose>
- <xsl:when test="$prev">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
-
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>&#160;</xsl:otherwise>
- </xsl:choose>
- </td>
- <td align="center" width="80%">
- <xsl:variable name="prestitle">
- <xsl:value-of select="(/slides/slidesinfo/title |/slides/title)[1]"/>
- </xsl:variable>
-
- <span class="navheader">
- <xsl:value-of select="$prestitle"/>
- </span>
- </td>
- <td align="right" width="10%">
- <xsl:choose>
- <xsl:when test="$next">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
-
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>&#160;</xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
- </div>
-</xsl:template>
-
-<xsl:template name="bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navfoot">
- <hr class="bottom-nav-sep"/>
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left" width="80%" valign="top">
- <span class="navfooter">
- <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
- </span>
- </td>
- <td align="right" width="20%" valign="top">
- <span class="index">
- <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
- </span>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="titlepage-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left" width="10%">
- <span class="toclink">
- <a href="{$toc.html}">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">TableofContents</xsl:with-param>
- </xsl:call-template>
- </a>
- </span>
- </td>
- <td align="center" width="80%">
- <xsl:text>&#160;</xsl:text>
- </td>
- <td align="right" width="10%">
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<xsl:template name="titlepage-bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navfoot">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
- <tr>
- <td align="left" width="80%" valign="top">
- <span class="navfooter">
- <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
- </span>
- </td>
- <td align="right" width="20%" valign="top">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="(following::foilgroup|following::foil)[1]" mode="filename"/>
- </xsl:attribute>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<xsl:template name="toc-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left">
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<xsl:template name="toc-bottom-nav">
- <div class="navfoot">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
- <tr>
- <td align="left" width="80%" valign="top">
- <span class="navfooter">
- <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
- </span>
- </td>
- <td align="right" width="20%" valign="top">
- <a href="{$titlefoil.html}">
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="generate.toc.hide.show">
- <xsl:if test="$toc.hide.show != 0">
- <td>
- <img hspace="4" alt="Hide/Show TOC">
- <xsl:attribute name="src">
- <xsl:call-template name="hidetoc.image"/>
- </xsl:attribute>
- <xsl:attribute name="onClick">
- <xsl:text>toggletoc(this,</xsl:text>
- <xsl:value-of select="$toc.width"/>
- <xsl:text>,'</xsl:text>
- <xsl:call-template name="hidetoc.image"/>
- <xsl:text>','</xsl:text>
- <xsl:call-template name="showtoc.image"/>
- <xsl:text>');</xsl:text>
- </xsl:attribute>
- </img>
- </td>
- </xsl:if>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="@*" mode="copy">
- <xsl:attribute name="{local-name(.)}">
- <xsl:value-of select="."/>
- </xsl:attribute>
-</xsl:template>
-
-<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
- <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates select="@*" mode="copy"/>
- <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/flat.xsl b/slides/xhtml/flat.xsl
deleted file mode 100644
index e0c57e9..0000000
--- a/slides/xhtml/flat.xsl
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:template match="/">
- <html>
- <head>
- <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
- </head>
- <body>
- <xsl:apply-templates/>
- </body>
- </html>
-</xsl:template>
-
-<xsl:template match="slidesinfo">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <div id="{$id}" class="titlepage">
- <div class="titlepage-body">
- <xsl:call-template name="titlepage-body"/>
- </div>
- </div>
-</xsl:template>
-
-<xsl:template match="slides" mode="toc">
- <!-- nop -->
-</xsl:template>
-
-<xsl:template match="foil">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <div class="{name(.)}" id="{$id}">
- <div class="foil-body">
- <xsl:call-template name="foil-body"/>
- </div>
- <xsl:call-template name="process.footnotes"/>
- </div>
-</xsl:template>
-
-<xsl:template match="foilgroup">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <div class="{name(.)}" id="{$id}">
- <div class="foilgroup-body">
- <xsl:call-template name="foilgroup-body"/>
- </div>
- <xsl:call-template name="process.footnotes"/>
- </div>
-
- <xsl:apply-templates select="foil"/>
-</xsl:template>
-
-<xsl:template match="author" mode="titlepage.mode">
- <div class="{name(.)}">
- <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
- <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </div>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/frames.xsl b/slides/xhtml/frames.xsl
deleted file mode 100644
index aea4172..0000000
--- a/slides/xhtml/frames.xsl
+++ /dev/null
@@ -1,1982 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/>
-
-<xsl:param name="css.stylesheet" select="'slides-frames.css'"/>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="doctype-public">
- <xsl:param name="frameset" select="0"/>
- <xsl:choose>
- <xsl:when test="$stylesheet.result.type='html'">
- <xsl:choose>
- <!-- Assume when chunker.output.doctype-public is set the user
- wants to have doctypes written out. If frameset is set
- then overide with a frameset public identifier. -->
- <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0">
- <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$chunker.output.doctype-public"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="$stylesheet.result.type='xhtml'">
- <xsl:choose>
- <xsl:when test="$frameset != 0">
- <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="doctype-system">
- <xsl:param name="frameset" select="0"/>
- <xsl:choose>
- <xsl:when test="$stylesheet.result.type='html'">
- <xsl:choose>
- <!-- Assume when chunker.output.doctype-system is set the user
- wants to have doctypes written out. If frameset is set
- then overide with a frameset system identifier. -->
- <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0">
- <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$chunker.output.doctype-system"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- <xsl:when test="$stylesheet.result.type='xhtml'">
- <xsl:choose>
- <xsl:when test="$frameset != 0">
- <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="slides">
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)">
- <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="(slidesinfo/title|title)[1]"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/>
- <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/>
-
- <xsl:if test="$overlay != 0 and $multiframe != 0">
- <xsl:message terminate="yes">
- <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text>
- </xsl:message>
- </xsl:if>
-
- <xsl:variable name="doctype-public">
- <xsl:call-template name="doctype-public">
- <xsl:with-param name="frameset" select="1"/>
- </xsl:call-template>
- </xsl:variable>
- <xsl:variable name="doctype-system">
- <xsl:call-template name="doctype-system">
- <xsl:with-param name="frameset" select="1"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="doctype-public" select="$doctype-public"/>
- <xsl:with-param name="doctype-system" select="$doctype-system"/>
- <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="$title"/></title>
- </head>
- <frameset cols="{$toc.width},*" id="topframe">
- <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/>
- <frame src="{$titlefoil.html}" name="foil" id="foil"/>
- <noframes>
- <body class="frameset">
- <xsl:call-template name="body.attributes"/>
- <a href="{concat('titleframe', $html.ext)}">
- <xsl:text>Your browser doesn't support frames.</xsl:text>
- </a>
- </body>
- </noframes>
- </frameset>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>TOC - <xsl:value-of select="$title"/></title>
- <xsl:call-template name="system.head.content"/>
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0 or $overlay.logo != ''">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0' or $overlay.logo != ''">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$dynamic.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
-function init() {
- var width = </xsl:text>
-<xsl:value-of select="$toc.width"/>
-<xsl:text>, height = </xsl:text>
-<xsl:value-of select="$toc.row.height"/>
-<xsl:text>;
- myList = new List(true, width, height, "</xsl:text>
-<xsl:value-of select="$toc.bg.color"/>
-<xsl:text>","</xsl:text>
-<xsl:call-template name="plus.image"/>
-<xsl:text>","</xsl:text>
-<xsl:call-template name="minus.image"/>
-<xsl:text>");
-</xsl:text>
-<xsl:apply-templates mode="ns-toc"/>
- <xsl:text disable-output-escaping="yes">
- myList.build(0,0);
-}
- // --&gt;
-</xsl:text>
- </script>
- <style type="text/css">
- <xsl:text>#spacer { position: absolute; height: </xsl:text>
- <xsl:value-of select="$toc.height"/>
- <xsl:text>; }
-</xsl:text>
- </style>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body class="toc">
- <xsl:call-template name="body.attributes"/>
-
- <xsl:if test="$overlay.logo != ''">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('ll');</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:if test="$dynamic.toc != 0">
- <xsl:attribute name="onload">
- <xsl:text>init(</xsl:text>
- <xsl:value-of select="$overlay"/>
- <xsl:text>);</xsl:text>
- <xsl:if test="$overlay.logo != ''">
- <xsl:text>overlaySetup('ll');</xsl:text>
- </xsl:if>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:choose>
- <xsl:when test="$dynamic.toc = 0">
- <div class="toc">
- <xsl:apply-templates mode="toc"/>
- </div>
- </xsl:when>
- <xsl:otherwise>
- <div id="spacer"/>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:if test="$overlay.logo != ''">
- <div style="position: absolute; visibility: visible;" id="overlayDiv">
- <img src="{$overlay.logo}" alt="logo" vspace="20"/>
- </div>
- </xsl:if>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:apply-templates/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="slidesinfo">
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
-
- <xsl:variable name="doctype-public">
- <xsl:call-template name="doctype-public">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="doctype-system">
- <xsl:call-template name="doctype-system">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="doctype-public" select="$doctype-public"/>
- <xsl:with-param name="doctype-system" select="$doctype-system"/>
- <xsl:with-param name="filename" select="concat($base.dir,$titlefoil.html)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </head>
- <xsl:choose>
- <xsl:when test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="singleframe"/>
- </xsl:otherwise>
- </xsl:choose>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:if test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe-top"/>
- <xsl:apply-templates select="." mode="multiframe-body"/>
- <xsl:apply-templates select="." mode="multiframe-bottom"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="multiframe">
- <xsl:variable name="thisfoil">
- <xsl:value-of select="$titlefoil.html"/>
- </xsl:variable>
-
- <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
- <xsl:attribute name="onload">
- <xsl:text>javascript:body.focus()</xsl:text>
- </xsl:attribute>
- <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
- </frame>
- <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
- </frame>
- <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
- </frame>
- <noframes>
- <body class="frameset">
- <xsl:call-template name="body.attributes"/>
- <p>
- <xsl:text>Your browser doesn't support frames.</xsl:text>
- </p>
- </body>
- </noframes>
- </frameset>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="multiframe-top">
- <xsl:variable name="thisfoil">
- <xsl:value-of select="$titlefoil.html"/>
- </xsl:variable>
-
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0' or $overlay.logo != ''">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </head>
- <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
- <xsl:call-template name="foil-top-nav">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="multiframe-body">
- <xsl:variable name="thisfoil">
- <xsl:value-of select="$titlefoil.html"/>
- </xsl:variable>
-
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Body</title>
-
- <xsl:call-template name="system.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </head>
- <xsl:apply-templates select="." mode="singleframe"/>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="multiframe-bottom">
- <xsl:variable name="thisfoil">
- <xsl:value-of select="$titlefoil.html"/>
- </xsl:variable>
-
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </head>
- <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
- <xsl:call-template name="foil-bottom-nav">
- <xsl:with-param name="next" select="$next"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="singleframe">
- <xsl:param name="thisfoil">
- <xsl:value-of select="$titlefoil.html"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
-
- <body class="titlepage">
- <xsl:call-template name="body.attributes"/>
- <xsl:choose>
- <xsl:when test="$active.toc != 0">
- <xsl:attribute name="onload">
- <xsl:text>newPage('</xsl:text>
- <xsl:value-of select="$titlefoil.html"/>
- <xsl:text>',</xsl:text>
- <xsl:value-of select="$overlay"/>
- <xsl:text>);</xsl:text>
- </xsl:attribute>
- </xsl:when>
- <xsl:when test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc');</xsl:text>
- </xsl:attribute>
- </xsl:when>
- </xsl:choose>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onload">
- <xsl:text>this.focus()</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}">
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
-
- <xsl:if test="$multiframe=0">
- <div id="overlayDiv" class="navfoot">
- <xsl:choose>
- <xsl:when test="$overlay != 0">
- <xsl:attribute name="style">
- <xsl:text>position:absolute;visibility:visible;</xsl:text>
- </xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="style">
- <xsl:text>padding-top: 2in;</xsl:text>
- </xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
- <tr>
- <td align="left" width="80%" valign="top">
- <span class="navfooter">
- <!-- suppress copyright here; it's probably already on the titlepage
- <xsl:apply-templates select="/slides/slidesinfo/copyright"
- mode="slide.footer.mode"/>
- -->
- <xsl:text>&#160;</xsl:text>
- </span>
- </td>
- <td align="right" width="20%" valign="top">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </td>
- </tr>
- </table>
- </div>
- </xsl:if>
- </body>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
- <tr>
- <td align="left" valign="bottom" width="10%">
- <xsl:choose>
- <xsl:when test="$prev">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:if test="$multiframe != 0">
- <xsl:attribute name="target">foil</xsl:attribute>
- </xsl:if>
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">&#160;</span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- <td width="80%" align="center" valign="bottom">
- <xsl:call-template name="foil.number"/>
- </td>
- <td align="right" valign="bottom" width="10%">
- <xsl:choose>
- <xsl:when test="$next">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:if test="$multiframe != 0">
- <xsl:attribute name="target">foil</xsl:attribute>
- </xsl:if>
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">&#160;</span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
- </div>
-</xsl:template>
-
-<xsl:template name="bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navfoot">
- <hr class="bottom-nav-sep"/>
- <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
- <tr>
- <td align="left" valign="top">
- <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
- <xsl:text>&#160;</xsl:text>
- </td>
-
- <td align="right" valign="top">
- <xsl:choose>
- <xsl:when test="$prev">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:if test="$multiframe != 0">
- <xsl:attribute name="target">foil</xsl:attribute>
- </xsl:if>
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">&#160;</span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:if test="$multiframe != 0">
- <xsl:attribute name="target">foil</xsl:attribute>
- </xsl:if>
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">&#160;</span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="foilgroup">
- <xsl:param name="thisfoilgroup">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:param>
-
- <xsl:variable name="doctype-public">
- <xsl:call-template name="doctype-public">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="doctype-system">
- <xsl:call-template name="doctype-system">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="doctype-public" select="$doctype-public"/>
- <xsl:with-param name="doctype-system" select="$doctype-system"/>
- <xsl:with-param name="filename" select="concat($base.dir,$thisfoilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <xsl:choose>
- <xsl:when test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="singleframe"/>
- </xsl:otherwise>
- </xsl:choose>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:if test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe-top"/>
- <xsl:apply-templates select="." mode="multiframe-body"/>
- <xsl:apply-templates select="." mode="multiframe-bottom"/>
- </xsl:if>
-
- <xsl:apply-templates select="foil"/>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="multiframe">
- <xsl:variable name="thisfoilgroup">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:variable>
-
- <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
- <xsl:attribute name="onload">
- <xsl:text>javascript:body.focus()</xsl:text>
- </xsl:attribute>
- <frame src="top-{$thisfoilgroup}" name="top" id="top" marginheight="0" frameborder="0"/>
- <frame src="body-{$thisfoilgroup}" name="body" id="body" marginheight="0" frameborder="0"/>
- <frame src="bot-{$thisfoilgroup}" name="bottom" id="bottom" marginheight="0" frameborder="0"/>
- <noframes>
- <body class="frameset">
- <xsl:call-template name="body.attributes"/>
- <p>
- <xsl:text>Your browser doesn't support frames.</xsl:text>
- </p>
- </body>
- </noframes>
- </frameset>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="multiframe-top">
- <xsl:variable name="foilgroup">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'top-',$foilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
- <xsl:call-template name="foilgroup-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="multiframe-body">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
-
- <xsl:variable name="thisfoilgroup">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Body</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <xsl:apply-templates select="." mode="singleframe"/>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="multiframe-bottom">
- <xsl:variable name="thisfoilgroup">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
- <xsl:call-template name="foilgroup-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="singleframe">
- <xsl:param name="thisfoilgroup">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
- <body class="foilgroup">
- <xsl:call-template name="body.attributes"/>
- <xsl:choose>
- <xsl:when test="$active.toc != 0">
- <xsl:attribute name="onload">
- <xsl:text>newPage('</xsl:text>
- <xsl:value-of select="$thisfoilgroup"/>
- <xsl:text>',</xsl:text>
- <xsl:value-of select="$overlay"/>
- <xsl:text>);</xsl:text>
- </xsl:attribute>
- </xsl:when>
- <xsl:when test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc');</xsl:text>
- </xsl:attribute>
- </xsl:when>
- </xsl:choose>
-
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}" id="{$id}">
- <xsl:if test="$multiframe=0">
- <xsl:call-template name="foilgroup-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </xsl:if>
-
- <div class="foilgroup-body" id="{$id}">
- <xsl:call-template name="foilgroup-body">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
-
- <xsl:if test="$multiframe=0">
- <div id="overlayDiv">
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="style">
- <xsl:text>position:absolute;visibility:visible;</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:call-template name="foilgroup-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
- </xsl:if>
- </div>
-
- <xsl:call-template name="process.footnotes"/>
- </body>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="foil">
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:variable name="doctype-public">
- <xsl:call-template name="doctype-public">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:variable name="doctype-system">
- <xsl:call-template name="doctype-system">
- <xsl:with-param name="frameset" select="$multiframe"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="doctype-public" select="$doctype-public"/>
- <xsl:with-param name="doctype-system" select="$doctype-system"/>
- <xsl:with-param name="filename" select="concat($base.dir,$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <xsl:choose>
- <xsl:when test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="." mode="singleframe"/>
- </xsl:otherwise>
- </xsl:choose>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:if test="$multiframe != 0">
- <xsl:apply-templates select="." mode="multiframe-top"/>
- <xsl:apply-templates select="." mode="multiframe-body"/>
- <xsl:apply-templates select="." mode="multiframe-bottom"/>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="foil" mode="multiframe">
- <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
-
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
- <xsl:attribute name="onload">
- <xsl:text>javascript:body.focus()</xsl:text>
- </xsl:attribute>
- <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
- </frame>
- <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
- </frame>
- <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
- </frame>
- <noframes>
- <body class="frameset">
- <xsl:call-template name="body.attributes"/>
- <p>
- <xsl:text>Your browser doesn't support frames.</xsl:text>
- </p>
- </body>
- </noframes>
- </frameset>
-</xsl:template>
-
-<xsl:template match="foil" mode="multiframe-top">
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javajcript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
- <xsl:call-template name="foil-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foil" mode="multiframe-body">
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Body</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
-
- </head>
- <xsl:apply-templates select="." mode="singleframe"/>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foil" mode="multiframe-bottom">
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title>Navigation</title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
- <xsl:call-template name="foil-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foil" mode="singleframe">
- <xsl:param name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <body class="foil">
- <xsl:call-template name="body.attributes"/>
- <xsl:choose>
- <xsl:when test="$active.toc != 0">
- <xsl:attribute name="onload">
- <xsl:text>newPage('</xsl:text>
- <xsl:value-of select="$thisfoil"/>
- <xsl:text>',</xsl:text>
- <xsl:value-of select="$overlay"/>
- <xsl:text>);</xsl:text>
- </xsl:attribute>
- </xsl:when>
- <xsl:when test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc');</xsl:text>
- </xsl:attribute>
- </xsl:when>
- </xsl:choose>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}" id="{$id}">
- <xsl:if test="$multiframe=0">
- <xsl:call-template name="foil-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </xsl:if>
-
- <div class="foil-body">
- <xsl:apply-templates/>
- </div>
-
- <xsl:if test="$multiframe=0">
- <div id="overlayDiv">
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="style">
- <xsl:text>position:absolute;visibility:visible;</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:call-template name="foil-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
- </xsl:if>
- </div>
-
- <xsl:call-template name="process.footnotes"/>
- </body>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slidesinfo" mode="toc">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
- <div id="{$id}" class="toc-slidesinfo">
- <a href="{$titlefoil.html}" target="foil">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:apply-templates select="titleabbrev" mode="toc"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="title" mode="toc"/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- <hr/>
- </div>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="toc">
- <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
-
- <xsl:variable name="thisfoilgroup">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:variable>
-
- <div class="toc-foilgroup" id="{$id}">
- <img alt="-">
- <xsl:attribute name="src">
- <xsl:call-template name="minus.image"/>
- </xsl:attribute>
- </img>
- <a href="{$thisfoilgroup}" target="foil">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:apply-templates select="titleabbrev" mode="toc"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="title" mode="toc"/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- <xsl:apply-templates select="foil" mode="toc"/>
- </div>
-</xsl:template>
-
-<xsl:template match="foil" mode="toc">
- <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
- <xsl:variable name="foil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <div id="{$id}" class="toc-foil">
- <img alt="-">
- <xsl:attribute name="src">
- <xsl:call-template name="bullet.image"/>
- </xsl:attribute>
- </img>
- <a href="{$foil}" target="foil">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:apply-templates select="titleabbrev" mode="toc"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="title" mode="toc"/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="slidesinfo" mode="ns-toc">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:text>myList.addItem('</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
- <xsl:value-of select="$id"/>
- <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"&gt;</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
- <xsl:value-of select="$titlefoil.html"/>
- <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
-
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:value-of select="titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="target">'</xsl:with-param>
- <xsl:with-param name="replacement">\'</xsl:with-param>
- </xsl:call-template>
-
- <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
- <xsl:text>');
-</xsl:text>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="ns-toc">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:text>subList = new List(false, width, height, "</xsl:text>
-<xsl:value-of select="$toc.bg.color"/>
-<xsl:text>");
-</xsl:text>
- <xsl:text>subList.setIndent(12);
-</xsl:text>
- <xsl:apply-templates select="foil" mode="ns-toc"/>
-
- <xsl:text>myList.addList(subList, '</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
- <xsl:value-of select="$id"/>
- <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"&gt;</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
- <xsl:apply-templates select="." mode="filename"/>
- <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
-
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:value-of select="titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="target">'</xsl:with-param>
- <xsl:with-param name="replacement">\'</xsl:with-param>
- </xsl:call-template>
-
- <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
- <xsl:text>');
-</xsl:text>
-</xsl:template>
-
-<xsl:template match="foil" mode="ns-toc">
- <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
-
- <xsl:choose>
- <xsl:when test="ancestor::foilgroup">
- <xsl:text>subList.addItem('</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>myList.addItem('</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
- <xsl:value-of select="$id"/>
- <xsl:text disable-output-escaping="yes">" class="toc-foil"&gt;</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;img alt="-" src="</xsl:text>
- <xsl:call-template name="bullet.image"/>
- <xsl:text disable-output-escaping="yes">"&gt;&lt;\/img&gt;</xsl:text>
-
- <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
- <xsl:apply-templates select="." mode="filename"/>
- <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
-
- <xsl:call-template name="string.subst">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:value-of select="titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- <xsl:with-param name="target">'</xsl:with-param>
- <xsl:with-param name="replacement">\'</xsl:with-param>
- </xsl:call-template>
-
- <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
- <xsl:text>');
-</xsl:text>
-</xsl:template>
-
-<xsl:template match="speakernotes" mode="ns-toc">
- <!-- nop -->
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/graphics.xsl b/slides/xhtml/graphics.xsl
deleted file mode 100644
index 6317a4b..0000000
--- a/slides/xhtml/graphics.xsl
+++ /dev/null
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<!-- ====================================================================== -->
-
-<xsl:template name="graphics-file">
- <xsl:param name="image" select="'bullet.gif'"/>
-
- <xsl:variable name="source.graphics.dir">
- <xsl:call-template name="dbhtml-attribute">
- <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
- <xsl:with-param name="attribute" select="'graphics-dir'"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$source.graphics.dir != ''">
- <xsl:value-of select="$source.graphics.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:when test="$graphics.dir != ''">
- <xsl:value-of select="$graphics.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>http://docbook.sourceforge.net/release/slides/graphics/</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:value-of select="$image"/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- active navigation images -->
-
-<xsl:template name="toc.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$toc.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="home.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$home.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="up.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$up.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="prev.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$prev.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="next.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$next.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- inactive navigation images -->
-
-<xsl:template name="no.toc.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$no.toc.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="no.home.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$no.home.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="no.up.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$no.up.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="no.prev.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$no.prev.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="no.next.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$no.next.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- icon images -->
-
-<xsl:template name="bullet.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$bullet.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="plus.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$plus.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="minus.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$minus.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- hide/show ToC images -->
-
-<xsl:template name="hidetoc.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$hidetoc.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="showtoc.image">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$showtoc.image"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/jscript.xsl b/slides/xhtml/jscript.xsl
deleted file mode 100644
index b3047ee..0000000
--- a/slides/xhtml/jscript.xsl
+++ /dev/null
@@ -1,128 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
-
-<xsl:template name="script-dir">
- <xsl:variable name="source.script.dir">
- <xsl:call-template name="dbhtml-attribute">
- <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
- <xsl:with-param name="attribute" select="'script-dir'"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$source.script.dir != ''">
- <xsl:value-of select="$source.script.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:when test="$script.dir != ''">
- <xsl:value-of select="$script.dir"/>
- <xsl:text>/</xsl:text>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template name="script-file">
- <xsl:param name="js" select="'slides.js'"/>
- <xsl:call-template name="script-dir"/>
- <xsl:value-of select="$js"/>
-</xsl:template>
-
-<xsl:template name="ua.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$ua.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="xbDOM.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$xbDOM.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="xbStyle.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$xbStyle.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="xbLibrary.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$xbLibrary.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="xbCollapsibleLists.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$xbCollapsibleLists.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="overlay.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$overlay.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-<xsl:template name="slides.js">
- <!-- Danger Will Robinson: template shadows parameter -->
- <xsl:param name="language" select="'javascript'"/>
- <script type="text/javascript" language="{$language}">
- <xsl:attribute name="src">
- <xsl:call-template name="script-file">
- <xsl:with-param name="js" select="$slides.js"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:text> </xsl:text>
- </script>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/param.xml b/slides/xhtml/param.xml
new file mode 100644
index 0000000..1bc7c2e
--- /dev/null
+++ b/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&#246;vesd&#225;n</surname>
+ <firstname>G&#225;bor</firstname>
+ </personname>
+</author>
+<copyright>
+ <year>2012</year>
+ <holder>G&#225;bor K&#246;vesd&#225;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">
+ &lt;xsl:param name="disable.collapsible"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="disable.incremental"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &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.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">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">
+ &lt;xsl:param name="mml.embedding.mode"&gt;inline&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>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">
+ &lt;xsl:param name="svg.embedding.mode"&gt;object&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="user.css"&gt;user.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="wrap.slidecontent"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.controls"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.defaultview"&gt;slideshow&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.opera.css"&gt;opera.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.outline.css"&gt;outline.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.path.prefix"&gt;files/s5/ui/default/&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.print.css"&gt;print.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.slides.css"&gt;slides.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="s5.slides.js"&gt;slides.js&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="slidy.duration"&gt;0&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="slidy.path.prefix"&gt;files/slidy/&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="slidy.slidy.css"&gt;styles/slidy.css&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="slidy.slidy.js"&gt;scripts/slidy.js&lt;/xsl:param&gt;
+ </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">
+ &lt;xsl:param name="slidy.user.css"&gt;styles/w3c-blue.css&lt;/xsl:param&gt;
+ </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">
+
+&lt;!-- This file is generated from param.xweb --&gt;
+
+&lt;xsl:stylesheet exclude-result-prefixes="src" version="1.0"&gt;
+
+&lt;!-- ********************************************************************
+ $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.
+
+ ******************************************************************** --&gt;
+
+&lt;src:fragref linkend="disable.collapsible.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="disable.incremental.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.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.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="svg.embedding.mode.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="user.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="wrap.slidecontent.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;src:fragref linkend="s5.controls.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.defaultview.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.opera.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.outline.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.path.prefix.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.print.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.slides.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="s5.slides.js.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;src:fragref linkend="slidy.duration.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slidy.path.prefix.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slidy.slidy.css.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slidy.slidy.js.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="slidy.user.css.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;/xsl:stylesheet&gt;
+</programlisting>
+
+</appendix>
+</book>
diff --git a/slides/xhtml/param.xsl b/slides/xhtml/param.xsl
index c3ec806..6bd0e5c 100644
--- a/slides/xhtml/param.xsl
+++ b/slides/xhtml/param.xsl
@@ -1,8 +1,6 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
+<?xml version="1.0"?>
<!-- This file is generated from param.xweb -->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+<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 $
@@ -14,57 +12,60 @@
******************************************************************** -->
-<xsl:param name="active.toc" select="0"/>
-<xsl:param name="body.bg.color">#FFFFFF</xsl:param>
-<xsl:param name="bullet.image">toc/bullet.png</xsl:param>
-<xsl:param name="css.stylesheet">slides.css</xsl:param>
-<xsl:param name="css.stylesheet.dir"/>
-<xsl:param name="dynamic.toc" select="0"/>
-<xsl:param name="foilgroup.toc" select="1"/>
-<xsl:param name="graphics.dir"/>
-<xsl:param name="hidetoc.image">hidetoc.gif</xsl:param>
-<xsl:param name="home.image">active/nav-home.png</xsl:param>
-<xsl:param name="keyboard.nav" select="1"/>
-<xsl:param name="minus.image">toc/open.png</xsl:param>
-<xsl:param name="multiframe.bottom.bgcolor">white</xsl:param>
-<xsl:param name="multiframe" select="0"/>
-<xsl:param name="multiframe.navigation.height">40</xsl:param>
-<xsl:param name="multiframe.top.bgcolor">white</xsl:param>
-<xsl:param name="nav.separator" select="1"/>
-<xsl:param name="next.image">active/nav-next.png</xsl:param>
-<xsl:param name="no.home.image">inactive/nav-home.png</xsl:param>
-<xsl:param name="no.next.image">inactive/nav-next.png</xsl:param>
-<xsl:param name="no.prev.image">inactive/nav-prev.png</xsl:param>
-<xsl:param name="no.toc.image">inactive/nav-toc.png</xsl:param>
-<xsl:param name="no.up.image">inactive/nav-up.png</xsl:param>
-<xsl:param name="output.indent">no</xsl:param>
-<xsl:param name="overlay" select="0"/>
-<xsl:param name="overlay.js">overlay.js</xsl:param>
-<xsl:param name="overlay.logo">http://docbook.sourceforge.net/release/buttons/slides-1.png</xsl:param>
-<xsl:param name="plus.image">toc/closed.png</xsl:param>
-<xsl:param name="prev.image">active/nav-prev.png</xsl:param>
-<xsl:param name="script.dir"/>
-<xsl:param name="show.foil.number" select="0"/>
-<xsl:param name="showtoc.image">showtoc.gif</xsl:param>
-<xsl:param name="slides.js">slides.js</xsl:param>
-<xsl:param name="text.home">Home</xsl:param>
-<xsl:param name="text.next">Next</xsl:param>
-<xsl:param name="text.prev">Prev</xsl:param>
-<xsl:param name="text.toc">ToC</xsl:param>
-<xsl:param name="text.up">Up</xsl:param>
-<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
-<xsl:param name="toc.bg.color">#FFFFFF</xsl:param>
-<xsl:param name="toc.hide.show" select="0"/>
-<xsl:param name="toc.html" select="concat('toc', $html.ext)"/>
-<xsl:param name="toc.image">active/nav-toc.png</xsl:param>
-<xsl:param name="toc.row.height">22</xsl:param>
-<xsl:param name="toc.width">250</xsl:param>
-<!-- Presumably in pixels? -->
-<xsl:param name="ua.js">ua.js</xsl:param>
-<xsl:param name="up.image">active/nav-up.png</xsl:param>
-<xsl:param name="xbCollapsibleLists.js">xbCollapsibleLists.js</xsl:param>
-<xsl:param name="xbDOM.js">xbDOM.js</xsl:param>
-<xsl:param name="xbStyle.js">xbStyle.js</xsl:param>
-<xsl:param name="xbLibrary.js">xbLibrary.js</xsl:param>
+ <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/slides/xhtml/plain-titlepage.xml b/slides/xhtml/plain-titlepage.xml
new file mode 100644
index 0000000..fb6569d
--- /dev/null
+++ b/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/slides/xhtml/plain-titlepage.xsl b/slides/xhtml/plain-titlepage.xsl
new file mode 100644
index 0000000..3af53f4
--- /dev/null
+++ b/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 &gt; 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 &gt; 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/slides/xhtml/plain.xsl b/slides/xhtml/plain.xsl
index 29d43fc..05d5e51 100644
--- a/slides/xhtml/plain.xsl
+++ b/slides/xhtml/plain.xsl
@@ -1,470 +1,535 @@
<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:param name="prev.image" select="'active/nav-prev.png'"/>
-<xsl:param name="next.image" select="'active/nav-next.png'"/>
-<xsl:param name="up.image" select="'active/nav-up.png'"/>
-<xsl:param name="toc.image" select="'active/nav-toc.png'"/>
-<xsl:param name="home.image" select="'active/nav-home.png'"/>
-
-<xsl:param name="no.prev.image" select="'inactive/nav-prev.png'"/>
-<xsl:param name="no.next.image" select="'inactive/nav-next.png'"/>
-<xsl:param name="no.up.image" select="'inactive/nav-up.png'"/>
-<xsl:param name="no.toc.image" select="'inactive/nav-toc.png'"/>
-<xsl:param name="no.home.image" select="'inactive/nav-home.png'"/>
-
-<xsl:param name="css.stylesheet" select="'slides-plain.css'"/>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="top-nav">
- <xsl:param name="prev"/>
- <xsl:param name="next"/>
- <xsl:param name="up"/>
- <xsl:param name="home"/>
- <xsl:param name="toc" select="$toc.html"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left" width="45%">
- <span class="slidestitle">
- <xsl:value-of select="(/slides/slidesinfo/title)[1]"/>
- </span>
- <xsl:text>&#160;</xsl:text>
- </td>
- <td width="10%" align="center" valign="bottom">
- <xsl:call-template name="foil.number"/>
- </td>
- <td align="right" width="45%">
- <xsl:choose>
- <xsl:when test="$home">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$home/slidesinfo/title"/>
- </xsl:attribute>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="home.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.home.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$toc != ''">
- <a title="ToC" href="{$toc}">
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$prev">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$prev/title"/>
- </xsl:attribute>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$up">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$up" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$up/title"/>
- </xsl:attribute>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="up.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.up.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$next/title"/>
- </xsl:attribute>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
+<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) &gt; 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) &lt;= 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 name="titlepage-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="prev"/>
- <xsl:param name="next"/>
- <xsl:param name="toc" select="$toc.html"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left" width="50%">
- <xsl:text>&#160;</xsl:text>
- </td>
- <td align="right" width="50%">
- <xsl:choose>
- <xsl:when test="$home">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$home/slidesinfo/title"/>
- </xsl:attribute>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="home.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.home.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$toc.html != ''">
- <a title="ToC" href="{$toc.html}">
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$prev">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$prev/title"/>
- </xsl:attribute>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$up">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$up" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$up/title"/>
- </xsl:attribute>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="up.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.up.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$next/title"/>
- </xsl:attribute>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
+<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>
+
+ &lt;<xsl:value-of select="."/>&gt;
+ </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="toc-top-nav">
- <xsl:param name="home" select="/slides"/>
- <xsl:param name="up"/>
- <xsl:param name="prev"/>
- <xsl:param name="next" select="(foil|foilgroup)[1]"/>
- <xsl:param name="toc"/>
-
- <div class="navhead">
- <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
- <tr>
- <td align="left" width="50%">
- <xsl:text>&#160;</xsl:text>
- </td>
- <td align="right" width="50%">
- <xsl:choose>
- <xsl:when test="$home">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$home/slidesinfo/title"/>
- </xsl:attribute>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="home.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Home" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.home.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$toc != ''">
- <a title="ToC" href="{$toc}">
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="ToC" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$prev">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$prev/title"/>
- </xsl:attribute>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Prev" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$up">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$up" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$up/title"/>
- </xsl:attribute>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="up.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Up" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.up.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$next/title"/>
- </xsl:attribute>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Next" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
+<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>&#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"/>
</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 name="bottom-nav"/>
+<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/slides/xhtml/s5.xsl b/slides/xhtml/s5.xsl
new file mode 100644
index 0000000..9447db3
--- /dev/null
+++ b/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/slides/xhtml/slides-common.xsl b/slides/xhtml/slides-common.xsl
deleted file mode 100644
index 9128bc3..0000000
--- a/slides/xhtml/slides-common.xsl
+++ /dev/null
@@ -1,1534 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="../../xhtml/chunk.xsl"/>
-<xsl:include href="../../VERSION.xsl"/>
-
-<xsl:include href="param.xsl"/>
-<xsl:include href="jscript.xsl"/>
-<xsl:include href="graphics.xsl"/>
-<xsl:include href="css.xsl"/>
-
-<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
-
-<xsl:strip-space elements="slides foil foilgroup"/>
-
-<!-- Process the slides -->
-
-<xsl:template match="/">
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slides">
- <xsl:apply-templates select="." mode="toc"/>
- <xsl:apply-templates/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- Every slide has top and bottom navigation -->
-
-<xsl:template name="top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
- <tr>
- <td align="left" valign="bottom">
- <xsl:if test="$home">
- <span class="slidestitle">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
- </a>
- </span>
- </xsl:if>
- <xsl:text>&#160;</xsl:text>
- </td>
-
- <td align="right" valign="bottom">
- <xsl:choose>
- <xsl:when test="$home">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.home}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="home.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.home}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.home.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$tocfile">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:value-of select="$tocfile"/>
- </xsl:attribute>
- <img alt="{$text.toc}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.toc}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$prev">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$up">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$up" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.up}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="up.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.up}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.up.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- <hr class="top-nav-sep"/>
- </div>
-</xsl:template>
-
-<xsl:template name="bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navfoot">
- <hr class="bottom-nav-sep"/>
- <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
- <tr>
- <td align="left" valign="top">
- <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
- <xsl:text>&#160;</xsl:text>
- </td>
-
- <td align="right" valign="top">
- <xsl:choose>
- <xsl:when test="$prev">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.prev}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
-
- <xsl:choose>
- <xsl:when test="$next">
- <span class="link-text">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </span>
- </xsl:when>
- <xsl:otherwise>
- <span class="no-link-text">
- <img alt="{$text.next}" border="0">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </span>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>&#160;</xsl:text>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<!-- Navigation is also provided in the form of links in the head -->
-
-<xsl:template name="links">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:if test="$tocfile != ''">
- <link rel="contents" href="{$tocfile}">
- <xsl:attribute name="title">
- <xsl:value-of select="/slides/slidesinfo/title"/>
- </xsl:attribute>
- </link>
- </xsl:if>
-
- <xsl:if test="$home">
- <link rel="top">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
- </xsl:attribute>
- </link>
-
- <link rel="first">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$home" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
- </xsl:attribute>
- </link>
- </xsl:if>
-
- <xsl:if test="$up">
- <link rel="up">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$up" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="($up/title|$up/slidesinfo/title)[1]"/>
- </xsl:attribute>
- </link>
- </xsl:if>
-
- <xsl:if test="$prev">
- <link rel="previous">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="($prev/title|$prev/slidesinfo/title)[1]"/>
- </xsl:attribute>
- </link>
- </xsl:if>
-
- <xsl:if test="$next">
- <link rel="next">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$next/title"/>
- </xsl:attribute>
- </link>
-
- <xsl:variable name="last" select="$next/following::foil[last()]"/>
- <xsl:if test="$last">
- <link rel="last">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$last" mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="$last/title"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- </xsl:if>
-
- <xsl:for-each select="foil">
- <link rel="slides">
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="title[1]"/>
- </xsl:attribute>
- </link>
- </xsl:for-each>
-
- <xsl:for-each select="foilgroup|../foilgroup">
- <link rel="section">
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:attribute name="title">
- <xsl:value-of select="title[1]"/>
- </xsl:attribute>
- </link>
- </xsl:for-each>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- There are four kinds of slides: titlepage, toc, foil, and foilgroup -->
-<!-- titlepage -->
-
-<xsl:template match="slidesinfo">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
- <xsl:variable name="tocfile" select="$toc.html"/>
- <xsl:variable name="dir">
- <xsl:call-template name="dbhtml-dir"/>
- </xsl:variable>
-
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $dir, $titlefoil.html)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <!-- Links -->
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="/slides"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-
- <!-- Scripts -->
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content">
- <xsl:with-param name="node" select=".."/>
- </xsl:call-template>
- </head>
- <body>
- <xsl:attribute name="class">
- <xsl:text>titlepage</xsl:text>
- <xsl:if test="@role">
- <xsl:text>-</xsl:text>
- <xsl:value-of select="@role"/>
- </xsl:if>
- </xsl:attribute>
-
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc')</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="titlepage" id="{$id}">
- <xsl:call-template name="titlepage-top-nav">
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-
- <div class="titlepage-body">
- <xsl:call-template name="titlepage-body"/>
- </div>
-
- <div id="overlayDiv">
- <xsl:call-template name="overlayDiv.attributes"/>
- <xsl:call-template name="titlepage-bottom-nav">
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
- </div>
- </div>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="titlepage-body">
- <div class="{name(.)}">
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
-</xsl:template>
-
-<xsl:template name="titlepage-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="titlepage-bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="slidesinfo/title">
- <h1 class="{name(.)}"><xsl:apply-templates/></h1>
-</xsl:template>
-
-<xsl:template match="slidesinfo/authorgroup">
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo/author|slidesinfo/authorgroup/author">
- <h1 class="{name(.)}"><xsl:apply-imports/></h1>
-</xsl:template>
-
-<xsl:template match="slidesinfo/releaseinfo">
- <h4 class="{name(.)}"><xsl:apply-templates/></h4>
-</xsl:template>
-
-<xsl:template match="slidesinfo/date">
- <h4 class="{name(.)}"><xsl:apply-templates/></h4>
-</xsl:template>
-
-<xsl:template match="slidesinfo/copyright">
- <!-- nop -->
-</xsl:template>
-
-<!-- On slides, output the credits explicitly each time -->
-<xsl:template match="othercredit" mode="titlepage.mode">
- <xsl:variable name="contrib" select="string(contrib)"/>
- <xsl:choose>
- <xsl:when test="contrib">
- <xsl:call-template name="paragraph">
- <xsl:with-param name="class" select="name(.)"/>
- <xsl:with-param name="content">
- <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
- <xsl:text>: </xsl:text>
- <xsl:call-template name="person.name"/>
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </xsl:with-param>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="paragraph">
- <xsl:with-param name="class" select="name(.)"/>
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
- </xsl:call-template>
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- toc -->
-
-<xsl:template match="slides" mode="toc">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="/slides"/>
- <xsl:variable name="next" select="(foil|foilgroup)[1]"/>
- <xsl:variable name="tocfile" select="''"/>
- <xsl:variable name="dir"> <!-- MJ: added -->
- <xsl:call-template name="dbhtml-dir"/>
- </xsl:variable>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $dir, $toc.html)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="slidesinfo/title"/></title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <!-- Links -->
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-
- <!-- Scripts -->
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
-
- <body class="tocpage">
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc')</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div id="{$id}">
- <xsl:call-template name="toc-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-
- <div class="toc-body">
- <xsl:call-template name="toc-body"/>
- </div>
-
- <div id="overlayDiv">
- <xsl:call-template name="overlayDiv.attributes"/>
- <xsl:call-template name="toc-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
- </div>
- </div>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="toc-body">
- <h1 class="title">
- <a href="{$titlefoil.html}">
- <xsl:value-of select="/slides/slidesinfo/title"/>
- </a>
- </h1>
-
- <p class="toctitle">
- <strong xmlns:xslo="http://www.w3.org/1999/XSL/Transform">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key">TableofContents</xsl:with-param>
- </xsl:call-template>
- </strong>
- </p>
- <dl class="toc">
- <xsl:apply-templates select="foilgroup|foil" mode="toc"/>
- </dl>
-</xsl:template>
-
-<xsl:template name="toc-top-nav">
- <xsl:param name="home" select="/slides"/>
- <xsl:param name="up"/>
- <xsl:param name="prev"/>
- <xsl:param name="next" select="(foil|foilgroup)[1]"/>
- <xsl:param name="tocfile"/>
-
- <xsl:call-template name="top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="toc-bottom-nav">
- <xsl:param name="home" select="/slides"/>
- <xsl:param name="up"/>
- <xsl:param name="prev"/>
- <xsl:param name="next" select="(foil|foilgroup)[1]"/>
- <xsl:param name="tocfile"/>
-
- <xsl:call-template name="bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- <xsl:with-param name="tocfile" select="$tocfile"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="toc">
- <xsl:param name="recursive" select="1"/>
-
- <dt>
- <xsl:apply-templates select="." mode="number"/>
- <xsl:text>. </xsl:text>
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:value-of select="title"/>
- </a>
- </dt>
- <xsl:if test="$recursive != 0">
- <dd>
- <dl class="toc">
- <xsl:apply-templates select="foil" mode="toc"/>
- </dl>
- </dd>
- </xsl:if>
-</xsl:template>
-
-<xsl:template match="foil" mode="toc">
- <dt>
- <xsl:apply-templates select="." mode="number"/>
- <xsl:text>. </xsl:text>
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:value-of select="title"/>
- </a>
- </dt>
-</xsl:template>
-
-<xsl:template match="title|titleabbrev" mode="toc">
- <xsl:apply-templates mode="toc"/>
-</xsl:template>
-
-<xsl:template match="speakernotes" mode="toc">
- <!-- nop -->
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- foil -->
-
-<xsl:template match="foil">
- <xsl:param name="thisfoil">
- <xsl:apply-templates select="." mode="chunk-filename"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
- <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <!-- Links -->
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <!-- Scripts -->
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body>
- <xsl:attribute name="class">
- <xsl:value-of select="local-name(.)"/>
- <xsl:if test="@role">
- <xsl:text>-</xsl:text>
- <xsl:value-of select="@role"/>
- </xsl:if>
- </xsl:attribute>
-
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc')</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}" id="{$id}">
- <xsl:call-template name="foil-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <div class="foil-body">
- <xsl:call-template name="foil-body">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
-
- <div id="overlayDiv">
- <xsl:call-template name="overlayDiv.attributes"/>
- <xsl:call-template name="foil-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
- </div>
-
- <xsl:call-template name="process.footnotes"/>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="foil-body">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template name="foil-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="foil-bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foil/title">
- <h1 class="{name(.)}">
- <xsl:apply-templates/>
- </h1>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- foilgroup -->
-
-<xsl:template match="foilgroup">
- <xsl:param name="thisfoilgroup">
- <xsl:apply-templates select="." mode="chunk-filename"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="home" select="/slides"/>
- <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
- <xsl:variable name="next" select="foil[1]"/>
- <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
-
- <xsl:call-template name="system.head.content"/>
-
- <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
-
- <!-- Links -->
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <!-- Scripts -->
-
- <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('</xsl:text>
- <xsl:call-template name="script-dir"/>
- <xsl:text disable-output-escaping="yes">');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:if test="$overlay != '0'">
- <xsl:call-template name="overlay.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
-
- <xsl:call-template name="user.head.content"/>
- </head>
- <body>
- <xsl:attribute name="class">
- <xsl:value-of select="local-name(.)"/>
- <xsl:if test="@role">
- <xsl:text>-</xsl:text>
- <xsl:value-of select="@role"/>
- </xsl:if>
- </xsl:attribute>
-
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="onload">
- <xsl:text>overlaySetup('lc')</xsl:text>
- </xsl:attribute>
- </xsl:if>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}" id="{$id}">
- <xsl:call-template name="foilgroup-top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-
- <!-- n.b. the foilgroup-body template is responsible for generating -->
- <!-- the foilgroup toc -->
- <div class="foilgroup-body">
- <xsl:call-template name="foilgroup-body">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
-
- <div id="overlayDiv">
- <xsl:call-template name="overlayDiv.attributes"/>
- <xsl:call-template name="foilgroup-bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
- </div>
- </div>
-
- <xsl:call-template name="process.footnotes"/>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:apply-templates select="foil"/>
-</xsl:template>
-
-<xsl:template match="foilgroup/title">
- <h1 class="{name(.)}"><xsl:apply-templates/></h1>
-</xsl:template>
-
-<xsl:template name="foilgroup-body">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:apply-templates select="*[name(.) != 'foil' and name(.) != 'foilgroup']"/>
-
- <xsl:if test="$foilgroup.toc != 0">
- <dl class="toc">
- <xsl:apply-templates select="foil" mode="toc"/>
- </dl>
- </xsl:if>
-</xsl:template>
-
-<xsl:template name="foilgroup-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="top-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="foilgroup-bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <xsl:call-template name="bottom-nav">
- <xsl:with-param name="home" select="$home"/>
- <xsl:with-param name="up" select="$up"/>
- <xsl:with-param name="next" select="$next"/>
- <xsl:with-param name="prev" select="$prev"/>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="overlayDiv.attributes">
- <xsl:choose>
- <xsl:when test="$overlay != 0">
- <xsl:attribute name="style">
- <xsl:text>position: absolute; visibility: visible;</xsl:text>
- </xsl:attribute>
- </xsl:when>
- <xsl:otherwise>
- <xsl:attribute name="style">padding-top: 2in;</xsl:attribute>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="processing-instruction('dbhtml')" mode="css.pi">
- <xsl:variable name="href">
- <xsl:call-template name="dbhtml-attribute">
- <xsl:with-param name="pis" select="."/>
- <xsl:with-param name="attribute" select="'css-stylesheet'"/>
- </xsl:call-template>
- </xsl:variable>
-
- <xsl:if test="$href!=''">
- <xsl:choose>
- <xsl:when test="$href = ''">
- <!-- nop -->
- </xsl:when>
- <xsl:when test="contains($href, '//')">
- <link type="text/css" rel="stylesheet" href="{$href}"/>
- </xsl:when>
- <xsl:when test="starts-with($href, '/')">
- <link type="text/css" rel="stylesheet" href="{$href}"/>
- </xsl:when>
- <xsl:otherwise>
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css-file">
- <xsl:with-param name="css" select="$href"/>
- </xsl:call-template>
- </xsl:attribute>
- </link>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:if>
-
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="foil" mode="number">
- <xsl:number count="foil|foilgroup" level="any"/>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="number">
- <xsl:number count="foil|foilgroup" level="any"/>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="slides" mode="filename">
- <xsl:value-of select="$titlefoil.html"/>
-</xsl:template>
-
-<xsl:template match="foil" mode="filename">
- <xsl:text>foil</xsl:text>
- <xsl:number count="foil" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="filename">
- <xsl:text>foilgroup</xsl:text>
- <xsl:number count="foilgroup" level="any" format="01"/>
- <xsl:value-of select="$html.ext"/>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="processing-instruction('Pub')">
- <xsl:variable name="pidata"><xsl:value-of select="(.)"/></xsl:variable>
- <xsl:choose>
- <xsl:when test="contains($pidata,'UDT')"/>
- <xsl:when test="contains($pidata,'/_font')">
- <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>
- </xsl:when>
- <xsl:when test="contains($pidata,'_font')">
- <xsl:text disable-output-escaping="yes">&lt;span </xsl:text>
- <xsl:choose>
- <xsl:when test="contains($pidata,'green')">class="green"</xsl:when>
- <xsl:when test="contains($pidata,'blue')">class="blue"</xsl:when>
- <xsl:when test="contains($pidata,'orange')">class="orange"</xsl:when>
- <xsl:when test="contains($pidata,'red')">class="red"</xsl:when>
- <xsl:when test="contains($pidata,'brown')">class="brown"</xsl:when>
- <xsl:when test="contains($pidata,'violet')">class="violet"</xsl:when>
- <xsl:when test="contains($pidata,'black')">class="black"</xsl:when>
- <xsl:otherwise>class="bold"</xsl:otherwise>
- </xsl:choose>
- <xsl:text disable-output-escaping="yes">&gt;</xsl:text>
- </xsl:when>
- </xsl:choose>
-</xsl:template>
-
-<!-- ============================================================ -->
-<!-- blocks -->
-
-<xsl:template match="figure">
- <div class="{name(.)}">
- <xsl:apply-imports/>
- </div>
- <xsl:if test="following-sibling::*"><hr/></xsl:if>
-</xsl:template>
-
-<xsl:template match="copyright" mode="slide.footer.mode">
- <span class="{name(.)}">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'Copyright'"/>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:call-template name="dingbat">
- <xsl:with-param name="dingbat">copyright</xsl:with-param>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:call-template name="copyright.years">
- <xsl:with-param name="years" select="year"/>
- <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
- <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
- </xsl:call-template>
- <xsl:call-template name="gentext.space"/>
- <xsl:apply-templates select="holder" mode="titlepage.mode"/>
- </span>
-</xsl:template>
-
-<!-- ============================================================ -->
-<!-- inlines -->
-
-<xsl:template match="link">
- <xsl:call-template name="link">
- <xsl:with-param name="a.target" select="'foil'"/>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="ulink">
- <a>
- <xsl:if test="@id">
- <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
- </xsl:if>
- <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
- <xsl:if test="$ulink.target != ''">
- <xsl:attribute name="target">
- <xsl:value-of select="$ulink.target"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@url"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- <xsl:if test="@role='show'">
- <xsl:text> (</xsl:text>
- <xsl:value-of select="@url"/>
- <xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
- </a>
-</xsl:template>
-
-<xsl:template match="title/ulink">
- <a>
- <xsl:if test="@id">
- <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
- </xsl:if>
- <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
- <xsl:if test="$ulink.target != ''">
- <xsl:attribute name="target">
- <xsl:value-of select="$ulink.target"/>
- </xsl:attribute>
- </xsl:if>
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@url"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
-</xsl:template>
-
-<xsl:template match="subtitle">
- <h2 class="subtitle">
- <xsl:apply-templates/>
- </h2>
-</xsl:template>
-
-<xsl:template match="graphic">
- <center>
- <!-- can't this be done a better way? -->
- <xsl:apply-imports/>
- </center>
-</xsl:template>
-
-<xsl:template match="titleabbrev">
- <!-- nop -->
-</xsl:template>
-
-<xsl:template match="speakernotes">
- <!-- nop -->
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- Chunking for slides -->
-
-<xsl:template name="chunk">
- <xsl:param name="node" select="."/>
- <xsl:choose>
- <xsl:when test="name($node)='slides'">1</xsl:when>
- <xsl:when test="name($node)='foilgroup'">1</xsl:when>
- <xsl:when test="name($node)='foil'">1</xsl:when>
- <xsl:otherwise>0</xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<xsl:template match="*" mode="chunk-filename">
- <xsl:param name="recursive">0</xsl:param>
- <!-- returns the filename of a chunk -->
- <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
- <xsl:variable name="filename">
- <xsl:call-template name="pi.dbhtml_filename"/>
- </xsl:variable>
- <xsl:variable name="dir">
- <xsl:call-template name="dbhtml-dir"/>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$ischunk='0'">
- <!-- if called on something that isn't a chunk, walk up... -->
- <xsl:choose>
- <xsl:when test="count(./parent::*)&gt;0">
- <xsl:apply-templates mode="chunk-filename" select="./parent::*">
- <xsl:with-param name="recursive" select="$recursive"/>
- </xsl:apply-templates>
- </xsl:when>
- <!-- unless there is no up, in which case return "" -->
- <xsl:otherwise/>
- </xsl:choose>
- </xsl:when>
-
- <xsl:when test="not($recursive) and $filename != ''">
- <!-- if this chunk has an explicit name, use it -->
- <xsl:if test="$dir != ''">
- <xsl:value-of select="$dir"/>
- <xsl:text>/</xsl:text>
- </xsl:if>
- <xsl:value-of select="$filename"/>
- </xsl:when>
-
- <xsl:when test="name(.)='foil'">
- <xsl:variable name="foilnumber">
- <xsl:number count="foil" level="any"/>
- </xsl:variable>
-
- <xsl:value-of select="$dir"/>
- <xsl:text>foil</xsl:text>
- <xsl:number value="$foilnumber" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:when>
-
- <xsl:when test="name(.)='foilgroup'">
- <xsl:variable name="foilgroupnumber">
- <xsl:number count="foilgroup" level="any" format="01"/>
- </xsl:variable>
-
- <xsl:value-of select="$dir"/>
- <xsl:text>foilgroup</xsl:text>
- <xsl:number value="$foilgroupnumber" format="01"/>
- <xsl:value-of select="$html.ext"/>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:text>chunk-filename-error-</xsl:text>
- <xsl:value-of select="name(.)"/>
- <xsl:number level="any" format="01" from="set"/>
- <xsl:if test="not($recursive)">
- <xsl:value-of select="$html.ext"/>
- </xsl:if>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ====================================================================== -->
-<!-- Handling of xrefs -->
-
-<xsl:template match="foil|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"/>
- <xsl:with-param name="referrer" select="$referrer"/>
- </xsl:apply-templates>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="@*" mode="copy">
- <xsl:attribute name="{local-name(.)}">
- <xsl:value-of select="."/>
- </xsl:attribute>
-</xsl:template>
-
-<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
- <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates select="@*" mode="copy"/>
- <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="foil.number">
- <xsl:choose>
- <xsl:when test="$show.foil.number != 0 and self::foil">
- <xsl:number count="foil" level="any"/>
- /
- <xsl:value-of select="count(//foil)"/>
- </xsl:when>
- <xsl:otherwise>
- &#160;
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/slidy.xsl b/slides/xhtml/slidy.xsl
new file mode 100644
index 0000000..d286c55
--- /dev/null
+++ b/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>
diff --git a/slides/xhtml/tables.xsl b/slides/xhtml/tables.xsl
deleted file mode 100644
index 7d5ec6b..0000000
--- a/slides/xhtml/tables.xsl
+++ /dev/null
@@ -1,334 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:param name="blank.image" select="'blank.png'"/>
-<xsl:param name="arrow.image" select="'pointer.png'"/>
-
-<xsl:param name="toc.bg.color">#6A719C</xsl:param>
-<xsl:param name="toc.width">220</xsl:param>
-
-<xsl:param name="css.stylesheet" select="'slides-table.css'"/>
-
-<!-- ============================================================ -->
-
-<xsl:template name="foilgroup-body">
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
- <div class="ttoc">
- <xsl:apply-templates select="." mode="t-toc"/>
- </div>
- </td>
- <td>&#160;</td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
- <div class="{name(.)}">
- <xsl:apply-templates select="*[name(.) != 'foil' and name(.) != 'foilgroup']"/>
- </div>
-
- <xsl:if test="$foilgroup.toc != 0">
- <dl class="toc">
- <xsl:apply-templates select="foil" mode="toc"/>
- </dl>
- </xsl:if>
- </td>
- </tr>
- </table>
-</xsl:template>
-
-<xsl:template name="foil-body">
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
- <div class="ttoc">
- <xsl:apply-templates select="." mode="t-toc"/>
- </div>
- </td>
- <td>&#160;</td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
- <div class="{name(.)}">
- <xsl:apply-templates/>
- </div>
- </td>
- </tr>
- </table>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="foilgroup" mode="t-toc">
- <xsl:variable name="thisfoilgroup" select="."/>
-
- <xsl:for-each select="/slides/foil|/slides/foilgroup">
- <xsl:choose>
- <xsl:when test="name(.) = 'foilgroup'">
- <xsl:choose>
- <xsl:when test="$thisfoilgroup = .">
- <img alt="+">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$arrow.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:when>
- <xsl:otherwise>
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <span class="ttoc-foilgroup">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="toc-title"/>
- </a>
- </span>
- <br/>
-
- <xsl:if test="$thisfoilgroup = .">
- <xsl:for-each select="foil">
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
-
- <span class="ttoc-foil">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="toc-title"/>
- </a>
- </span>
- <br/>
- </xsl:for-each>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- <span class="ttoc-foil">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="toc-title"/>
- </a>
- </span>
- <br/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
-</xsl:template>
-
-<xsl:template match="foil" mode="t-toc">
- <xsl:variable name="thisfoil" select="."/>
-
- <xsl:for-each select="/slides/foil|/slides/foilgroup">
- <xsl:choose>
- <xsl:when test="name(.) = 'foilgroup'">
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- <span class="ttoc-foilgroup">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="toc-title"/>
- </a>
- </span>
- <br/>
-
- <xsl:if test="$thisfoil/ancestor::foilgroup = .">
- <xsl:for-each select="foil">
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
-
- <xsl:choose>
- <xsl:when test="$thisfoil = .">
- <img alt="+">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$arrow.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:when>
- <xsl:otherwise>
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <span class="ttoc-foil">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:attribute>
- <xsl:apply-templates select="." mode="toc-title"/>
- </a>
- </span>
- <br/>
- </xsl:for-each>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>
- <!-- foils only -->
- <xsl:for-each select="/slides/foil">
- <xsl:choose>
- <xsl:when test="$thisfoil = .">
- <img alt="+">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$arrow.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:when>
- <xsl:otherwise>
- <img alt=" ">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$blank.image"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <span class="ttoc-foil">
- <xsl:apply-templates select="." mode="toc-title"/>
- </span>
- <br/>
- </xsl:for-each>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slides" mode="toc-title">
- <xsl:call-template name="nobreak">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="slidesinfo/titleabbrev">
- <xsl:value-of select="slidesinfo/titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="slidesinfo/title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup" mode="toc-title">
- <xsl:call-template name="nobreak">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:value-of select="titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foil" mode="toc-title">
- <xsl:call-template name="nobreak">
- <xsl:with-param name="string">
- <xsl:choose>
- <xsl:when test="titleabbrev">
- <xsl:value-of select="titleabbrev"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="title"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template name="nobreak">
- <xsl:param name="string" select="''"/>
- <xsl:choose>
- <xsl:when test="contains($string, ' ')">
- <xsl:value-of select="substring-before($string, ' ')"/>
- <xsl:text>&#160;</xsl:text>
- <xsl:call-template name="nobreak">
- <xsl:with-param name="string" select="substring-after($string, ' ')"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="$string"/>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/vslides.xsl b/slides/xhtml/vslides.xsl
deleted file mode 100644
index 26e9961..0000000
--- a/slides/xhtml/vslides.xsl
+++ /dev/null
@@ -1,652 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:param name="but-fforward.png" select="'active/but-fforward.png'"/>
-<xsl:param name="but-info.png" select="'active/but-info.png'"/>
-<xsl:param name="but-next.png" select="'active/but-next.png'"/>
-<xsl:param name="but-prev.png" select="'active/but-prev.png'"/>
-<xsl:param name="but-rewind.png" select="'active/but-rewind.png'"/>
-
-<xsl:param name="but-xfforward.png" select="'inactive/but-fforward.png'"/>
-<xsl:param name="but-xinfo.png" select="'inactive/but-info.png'"/>
-<xsl:param name="but-xnext.png" select="'inactive/but-next.png'"/>
-<xsl:param name="but-xprev.png" select="'inactive/but-prev.png'"/>
-<xsl:param name="but-xrewind.png" select="'inactive/but-rewind.png'"/>
-
-<!-- overrides for this stylesheet -->
-<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
-<xsl:param name="toc.width" select="40"/>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slides">
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="slidesinfo/title"/></title>
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="/slides"/>
- <xsl:with-param name="tocfile" select="$toc.html"/>
- </xsl:call-template>
-
- <xsl:if test="$keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('../browser');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
- </head>
- <body class="tocpage">
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="header"/></td>
- </tr>
-
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:call-template name="vertical-navigation">
- <xsl:with-param name="next" select="/slides"/>
- <xsl:with-param name="tocfile"/>
- </xsl:call-template>
-
- </td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}">
-
- <div class="toc-body">
- <xsl:call-template name="toc-body"/>
- </div>
-
- </div>
- </td>
- </tr>
-
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="footer"/></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:apply-templates/>
-</xsl:template>
-
-<xsl:template match="slidesinfo">
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $titlefoil.html)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
- <xsl:with-param name="tocfile" select="$toc.html"/>
- </xsl:call-template>
-
- <xsl:if test="$keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('../browser');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
- </head>
- <body class="titlepage">
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="header"/></td>
- </tr>
-
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:call-template name="vertical-navigation">
- <xsl:with-param name="first"/>
- <xsl:with-param name="last" select="(following::foilgroup|following::foil)[last()]"/>
- <xsl:with-param name="next" select="(following::foilgroup|following::foil)[1]"/>
- </xsl:call-template>
-
- </td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
- <div class="{name(.)}">
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
- </td>
- </tr>
-
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="footer"/></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<xsl:template match="foilgroup">
- <xsl:param name="thisfoilgroup">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:param>
-
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="nextfoil" select="foil[1]"/>
- <xsl:variable name="lastfoil" select="(descendant::foil|following::foil)[last()]"/>
- <xsl:variable name="prevfoil" select="(preceding::foil|/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="prev" select="$prevfoil"/>
- <xsl:with-param name="next" select="$nextfoil"/>
- </xsl:call-template>
-
- <xsl:if test="$keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('../browser');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
- </head>
- <body class="foilgroup">
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="header"/></td>
- </tr>
-
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:call-template name="vertical-navigation">
- <xsl:with-param name="last" select="$lastfoil"/>
- <xsl:with-param name="prev" select="$prevfoil"/>
- <xsl:with-param name="next" select="$nextfoil"/>
- </xsl:call-template>
-
- </td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}">
- <xsl:apply-templates/>
- </div>
- </td>
- </tr>
-
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="footer"/></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-
- <xsl:apply-templates select="foil"/>
-</xsl:template>
-
-<xsl:template match="foil">
- <xsl:variable name="id">
- <xsl:call-template name="object.id"/>
- </xsl:variable>
-
- <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
-
- <xsl:variable name="thisfoil">
- <xsl:apply-templates select="." mode="filename"/>
- </xsl:variable>
-
- <xsl:variable name="nextfoil" select="(following::foil |following::foilgroup)[1]"/>
-
- <xsl:variable name="lastfoil" select="following::foil[last()]"/>
-
- <xsl:variable name="prevfoil" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="indent" select="$output.indent"/>
- <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
- <xsl:with-param name="content">
- <html>
- <head>
- <title><xsl:value-of select="title"/></title>
- <xsl:if test="$css.stylesheet != ''">
- <link type="text/css" rel="stylesheet">
- <xsl:attribute name="href">
- <xsl:call-template name="css.stylesheet"/>
- </xsl:attribute>
- </link>
- </xsl:if>
- <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
-
- <xsl:call-template name="links">
- <xsl:with-param name="prev" select="$prevfoil"/>
- <xsl:with-param name="next" select="$nextfoil"/>
- </xsl:call-template>
-
- <xsl:if test="$keyboard.nav != 0">
- <script language="javascript" type="text/javascript">
- <xsl:text> </xsl:text>
- </script>
- </xsl:if>
-
- <xsl:if test="$keyboard.nav != 0">
- <xsl:call-template name="ua.js"/>
- <xsl:call-template name="xbDOM.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- <xsl:call-template name="xbLibrary.js"/>
- <script language="javascript" type="text/javascript">
- <xsl:text disable-output-escaping="yes">
- &lt;!--
- xblibrary = new xbLibrary('../browser');
- // --&gt;
- </xsl:text>
- </script>
- <xsl:call-template name="xbStyle.js"/>
- <xsl:call-template name="xbCollapsibleLists.js"/>
- <xsl:call-template name="slides.js">
- <xsl:with-param name="language" select="'javascript'"/>
- </xsl:call-template>
- </xsl:if>
- </head>
- <body class="foil">
- <xsl:call-template name="body.attributes"/>
- <xsl:if test="$keyboard.nav != 0">
- <xsl:attribute name="onkeypress">
- <xsl:text>navigate(event)</xsl:text>
- </xsl:attribute>
- </xsl:if>
-
- <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="header"/></td>
- </tr>
-
- <tr>
- <td width="{$toc.width}" valign="top" align="left">
- <xsl:if test="$toc.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$toc.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <xsl:call-template name="vertical-navigation">
- <xsl:with-param name="last" select="$lastfoil"/>
- <xsl:with-param name="prev" select="$prevfoil"/>
- <xsl:with-param name="next" select="$nextfoil"/>
- </xsl:call-template>
-
- </td>
- <td valign="top" align="left">
- <xsl:if test="$body.bg.color != ''">
- <xsl:attribute name="bgcolor">
- <xsl:value-of select="$body.bg.color"/>
- </xsl:attribute>
- </xsl:if>
-
- <div class="{name(.)}">
- <xsl:apply-templates/>
- </div>
- </td>
- </tr>
-
- <tr>
- <td>&#160;</td>
- <td><xsl:apply-templates select="." mode="footer"/></td>
- </tr>
- </table>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
-</xsl:template>
-
-<!-- ============================================================ -->
-
-<xsl:template match="slidesinfo" mode="header">
- <div class="navhead">
- <!-- nop -->
- </div>
-</xsl:template>
-
-<xsl:template match="foil|foilgroup" mode="header">
- <div class="navhead">
- <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
- <tr>
- <td align="left">
- <xsl:apply-templates select="/slides/slidesinfo/title" mode="slide.footer.mode"/>
- </td>
- <td align="right">
- <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<xsl:template match="slidesinfo" mode="footer">
- <div class="navfoot">
- <!-- nop -->
- </div>
-</xsl:template>
-
-<xsl:template match="foil|foilgroup" mode="footer">
- <div class="navfoot">
- <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center">
- <xsl:text>Slide </xsl:text>
- <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
- <xsl:text> of </xsl:text>
- <xsl:value-of select="count(//foil) + count(//foilgroup)"/>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<xsl:template match="slides" mode="footer"/>
-
-<!-- ============================================================ -->
-
-<xsl:template name="vertical-navigation">
- <xsl:param name="first" select="/slides"/>
- <xsl:param name="prev"/>
- <xsl:param name="last"/>
- <xsl:param name="next"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="vnav">
- <xsl:choose>
- <xsl:when test="$first">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$first" mode="filename"/>
- </xsl:attribute>
- <img border="0" alt="First">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-rewind.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="First">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-xrewind.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <br/>
- <xsl:choose>
- <xsl:when test="$prev">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img border="0" alt="Previous">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-prev.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Previous">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-xprev.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <br/>
- <xsl:choose>
- <xsl:when test="$next">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img border="0" alt="Last">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-next.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Last">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-xnext.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- <br/>
- <xsl:choose>
- <xsl:when test="$last">
- <a>
- <xsl:attribute name="href">
- <xsl:apply-templates select="$last" mode="filename"/>
- </xsl:attribute>
- <img border="0" alt="Next">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-fforward.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img alt="Next">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-xfforward.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <br/>
- <br/>
-
- <xsl:choose>
- <xsl:when test="$tocfile != ''">
- <a href="{$tocfile}">
- <img border="0" alt="ToC">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-info.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" alt="ToC">
- <xsl:attribute name="src">
- <xsl:call-template name="graphics-file">
- <xsl:with-param name="image" select="$but-xinfo.png"/>
- </xsl:call-template>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- </div>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/slides/xhtml/w3c.xsl b/slides/xhtml/w3c.xsl
deleted file mode 100644
index d361a33..0000000
--- a/slides/xhtml/w3c.xsl
+++ /dev/null
@@ -1,358 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
-
-<xsl:import href="slides-common.xsl"/>
-
-<xsl:param name="logo.image.uri" select="''"/>
-<xsl:param name="logo.uri" select="''"/>
-<xsl:param name="logo.title" select="''"/>
-
-<xsl:param name="next.image" select="'active/w3c-next.png'"/>
-<xsl:param name="no.next.image" select="'inactive/w3c-next.png'"/>
-
-<xsl:param name="prev.image" select="'active/w3c-prev.png'"/>
-<xsl:param name="no.prev.image" select="'inactive/w3c-prev.png'"/>
-
-<xsl:param name="toc.image" select="'active/w3c-toc.png'"/>
-<xsl:param name="no.toc.image" select="'inactive/w3c-toc.png'"/>
-
-<xsl:param name="css.stylesheet" select="'slides-w3c.css'"/>
-
-<xsl:template name="logo">
- <xsl:if test="$logo.uri != ''">
- <a href="{$logo.uri}" title="{$logo.title}">
- <xsl:choose>
- <xsl:when test="$logo.image.uri=''">
- <xsl:value-of select="$logo.title"/>
- </xsl:when>
- <xsl:otherwise>
- <img src="{$logo.image.uri}" alt="{$logo.title}" border="0"/>
- </xsl:otherwise>
- </xsl:choose>
- </a>
- </xsl:if>
-</xsl:template>
-
-<xsl:template name="overlayDiv.attributes">
- <xsl:if test="$overlay != 0">
- <xsl:attribute name="style">
- <xsl:text>position: absolute; visibility: visible;</xsl:text>
- </xsl:attribute>
- </xsl:if>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons">
- <tr>
- <td align="left" valign="top">
- <xsl:call-template name="logo"/>
- </td>
- <td valign="top" nowrap="nowrap" width="150">
- <div align="right">
- <xsl:choose>
- <xsl:when test="$prev">
- <a rel="previous" accesskey="P">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Previous" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="$tocfile != ''">
- <a rel="contents" href="{$tocfile}" accesskey="C">
- <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a rel="next" accesskey="N">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Next" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </td>
- </tr>
- </table>
-
- <xsl:apply-templates select="title"/>
- <hr class="top-nav-sep"/>
- </div>
-</xsl:template>
-
-<xsl:template name="bottom-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navfoot">
- <hr class="bottom-nav-sep"/>
- <table class="footer" cellspacing="0" cellpadding="0" border="0" width="97%" summary="footer">
- <tr>
- <td align="left" valign="top">
- <xsl:variable name="author" select="(/slides/slidesinfo//author |/slides/slidesinfo//editor)"/>
- <xsl:for-each select="$author">
- <xsl:choose>
- <xsl:when test=".//email">
- <a href="mailto:{.//email[1]}">
- <xsl:call-template name="person.name"/>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="person.name"/>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:if test="position() &lt; last()">, </xsl:if>
- </xsl:for-each>
- </td>
- <td align="right" valign="top">
- <span class="index">
- <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/>
- <xsl:text> of </xsl:text>
- <xsl:value-of select="count(//foil|//foilgroup)"/>
- </span>
- </td>
-
- <td valign="top" nowrap="nowrap" width="150">
- <div align="right">
- <xsl:choose>
- <xsl:when test="$prev">
- <a rel="previous" accesskey="P">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Prev" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a rel="next" accesskey="N">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Next" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </td>
- </tr>
- </table>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="titlepage-top-nav">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <div class="navhead">
- <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons">
- <tr>
- <td align="left" valign="top">
- <xsl:call-template name="logo"/>
- </td>
- <td valign="top" nowrap="nowrap" width="150">
- <div align="right">
- <xsl:choose>
- <xsl:when test="$prev">
- <a rel="previous" accesskey="P">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$prev" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="prev.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Previous" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.prev.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="$tocfile != ''">
- <a rel="contents" href="{$tocfile}" accesskey="C">
- <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
- <xsl:attribute name="src">
- <xsl:call-template name="toc.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
- <xsl:attribute name="src">
- <xsl:call-template name="no.toc.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
-
- <xsl:choose>
- <xsl:when test="$next">
- <a rel="next" accesskey="N">
- <xsl:attribute name="href">
- <xsl:apply-templates select="$next" mode="filename"/>
- </xsl:attribute>
- <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
- <xsl:attribute name="src">
- <xsl:call-template name="next.image"/>
- </xsl:attribute>
- </img>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <img border="0" width="32" height="32" alt=" Next" title="">
- <xsl:attribute name="src">
- <xsl:call-template name="no.next.image"/>
- </xsl:attribute>
- </img>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </td>
- </tr>
- </table>
-
- <hr class="top-nav-sep"/>
- </div>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template name="foil-body">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <!-- skip the title -->
- <xsl:apply-templates select="*[name(.) != 'title']"/>
-</xsl:template>
-
-<xsl:template name="foilgroup-body">
- <xsl:param name="home"/>
- <xsl:param name="up"/>
- <xsl:param name="next"/>
- <xsl:param name="prev"/>
- <xsl:param name="tocfile" select="$toc.html"/>
-
- <!-- skip the title -->
- <xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'foil' and name(.) != 'foilgroup']"/>
-
- <xsl:if test="$foilgroup.toc != 0">
- <dl class="toc">
- <xsl:apply-templates select="foil" mode="toc"/>
- </dl>
- </xsl:if>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-<xsl:template match="@*" mode="copy">
- <xsl:attribute name="{local-name(.)}">
- <xsl:value-of select="."/>
- </xsl:attribute>
-</xsl:template>
-
-<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
- <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates select="@*" mode="copy"/>
- <xsl:apply-templates/>
- </xsl:element>
-</xsl:template>
-
-<!-- ====================================================================== -->
-
-</xsl:stylesheet>