diff options
Diffstat (limited to 'slides/html')
-rw-r--r-- | slides/html/css.xsl | 46 | ||||
-rw-r--r-- | slides/html/default.xsl | 261 | ||||
-rw-r--r-- | slides/html/flat.xsl | 70 | ||||
-rw-r--r-- | slides/html/frames.xsl | 2016 | ||||
-rw-r--r-- | slides/html/graphics.xsl | 151 | ||||
-rw-r--r-- | slides/html/jscript.xsl | 127 | ||||
-rw-r--r-- | slides/html/param.xml | 1376 | ||||
-rw-r--r-- | slides/html/param.xsl | 69 | ||||
-rw-r--r-- | slides/html/plain.xsl | 472 | ||||
-rw-r--r-- | slides/html/slides-common.xsl | 1541 | ||||
-rw-r--r-- | slides/html/tables.xsl | 336 | ||||
-rw-r--r-- | slides/html/vslides.xsl | 667 | ||||
-rw-r--r-- | slides/html/w3c.xsl | 376 |
13 files changed, 0 insertions, 7508 deletions
diff --git a/slides/html/css.xsl b/slides/html/css.xsl deleted file mode 100644 index 1692000..0000000 --- a/slides/html/css.xsl +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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/html/default.xsl b/slides/html/default.xsl deleted file mode 100644 index 00a0d81..0000000 --- a/slides/html/default.xsl +++ /dev/null @@ -1,261 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:output method="html"/> - -<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> </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> </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> </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> </xsl:text> - </td> - <td align="right" width="10%"> - <xsl:text> </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> </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 match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'> - <xsl:element name="{local-name(.)}" namespace=""> - <xsl:apply-templates select="@*" mode="copy"/> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> diff --git a/slides/html/flat.xsl b/slides/html/flat.xsl deleted file mode 100644 index 30fbf00..0000000 --- a/slides/html/flat.xsl +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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/html/frames.xsl b/slides/html/frames.xsl deleted file mode 100644 index 05633de..0000000 --- a/slides/html/frames.xsl +++ /dev/null @@ -1,2016 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- -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); -} - // --> -</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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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> </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"> </span> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </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"> </span> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </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> </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"> </span> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </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"> </span> - </xsl:otherwise> - </xsl:choose> - <xsl:text> </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"><div id="</xsl:text> - <xsl:value-of select="$id"/> - <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"></xsl:text> - - <xsl:text disable-output-escaping="yes"><a href="</xsl:text> - <xsl:value-of select="$titlefoil.html"/> - <xsl:text disable-output-escaping="yes">" target="foil"></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"><\/a><\/div></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"><div id="</xsl:text> - <xsl:value-of select="$id"/> - <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"></xsl:text> - - <xsl:text disable-output-escaping="yes"><a href="</xsl:text> - <xsl:apply-templates select="." mode="filename"/> - <xsl:text disable-output-escaping="yes">" target="foil"></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"><\/a><\/div></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"><div id="</xsl:text> - <xsl:value-of select="$id"/> - <xsl:text disable-output-escaping="yes">" class="toc-foil"></xsl:text> - - <xsl:text disable-output-escaping="yes"><img alt="-" src="</xsl:text> - <xsl:call-template name="bullet.image"/> - <xsl:text disable-output-escaping="yes">"><\/img></xsl:text> - - <xsl:text disable-output-escaping="yes"><a href="</xsl:text> - <xsl:apply-templates select="." mode="filename"/> - <xsl:text disable-output-escaping="yes">" target="foil"></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"><\/a><\/div></xsl:text> - <xsl:text>'); </xsl:text> -</xsl:template> - -<xsl:template match="speakernotes" mode="ns-toc"> - <!-- nop --> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> diff --git a/slides/html/graphics.xsl b/slides/html/graphics.xsl deleted file mode 100644 index b682acd..0000000 --- a/slides/html/graphics.xsl +++ /dev/null @@ -1,151 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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/html/jscript.xsl b/slides/html/jscript.xsl deleted file mode 100644 index ae4ef9f..0000000 --- a/slides/html/jscript.xsl +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:output method="html"/> - -<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/html/param.xml b/slides/html/param.xml deleted file mode 100644 index f4511cc..0000000 --- a/slides/html/param.xml +++ /dev/null @@ -1,1376 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<book version="5.0" xml:id="slides"> -<info> -<title>Slides HTML Parameter Reference</title> -<releaseinfo role="meta"> -$Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ -</releaseinfo> -<author> - <personname> - <surname>Walsh</surname> - <firstname>Norman</firstname> - </personname> -</author> -<copyright> - <year>2002-2011</year> - <holder>Norman Walsh</holder> -</copyright> -<abstract> - <para>This is reference documentation for all user-configurable - parameters in the DocBook XSL Slides HTML stylesheet (for - generating HTML slide presentations). Note that the Slides - stylesheet for HTML output is a customization layer of the - DocBook XSL HTML 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="../html/">HTML - stylesheet parameters</link> to control Slides HTML - output.</para> -</abstract> -</info> -<reference xml:id="html"> -<title>HTML: General Parameters</title> -<refentry version="5.0" xml:id="keyboard.nav"> -<refmeta> -<refentrytitle>keyboard.nav</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>keyboard.nav</refname> -<refpurpose>Enable keyboard navigation?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="keyboard.nav.frag"> -<xsl:param name="keyboard.nav" select="1"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, JavaScript is added to the slides to enable keyboard -navigation. Pressing 'n', space, or return moves forward; pressing 'p' moves -backward.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="css.stylesheet"> -<refmeta> -<refentrytitle>css.stylesheet</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>css.stylesheet</refname> -<refpurpose>CSS stylesheet for slides</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="css.stylesheet.frag"> -<xsl:param name="css.stylesheet">slides.css</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Identifies the CSS stylesheet used by all the slides. This parameter -can be set in the source document with the <?dbhtml?> pseudo-attribute -<literal>css-stylesheet</literal>.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="css.stylesheet.dir"> -<refmeta> -<refentrytitle>css.stylesheet.dir</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>css.stylesheet.dir</refname> -<refpurpose>Default directory for CSS stylesheets</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="css.stylesheet.dir.frag"> -<xsl:param name="css.stylesheet.dir"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Identifies the default directory for the CSS stylesheet -generated on all the slides. This parameter can be set in the source -document with the <?dbhtml?> pseudo-attribute -<literal>css-stylesheet-dir</literal>.</para> - -<para>If non-empty, this value is prepended to each of the stylesheets. -</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="titlefoil.html"> -<refmeta> -<refentrytitle>titlefoil.html</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>titlefoil.html</refname> -<refpurpose>Name of title foil HTML file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="titlefoil.html.frag"> -<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Sets the filename used for the slides titlepage.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.html"> -<refmeta> -<refentrytitle>toc.html</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.html</refname> -<refpurpose>Name of ToC HTML file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.html.frag"> -<xsl:param name="toc.html" select="concat('toc', $html.ext)"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Sets the filename used for the table of contents page.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="foilgroup.toc"> -<refmeta> -<refentrytitle>foilgroup.toc</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>foilgroup.toc</refname> -<refpurpose>Put ToC on foilgroup pages?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="foilgroup.toc.frag"> -<xsl:param name="foilgroup.toc" select="1"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, a ToC will be placed on foilgroup pages (after any -other content). -</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="output.indent"> -<refmeta> -<refentrytitle>output.indent</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> -<refmiscinfo class="other" otherclass="value">no</refmiscinfo> -<refmiscinfo class="other" otherclass="value">yes</refmiscinfo> -</refmeta> -<refnamediv> -<refname>output.indent</refname> -<refpurpose>Indent output?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="output.indent.frag"> -<xsl:param name="output.indent">no</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the setting of the <parameter>indent</parameter> -parameter on the HTML slides. For more information, see the discussion -of the <tag>xsl:output</tag> element in the XSLT specification.</para> -<para>Select from <literal>yes</literal> or <literal>no</literal>.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="overlay"> -<refmeta> -<refentrytitle>overlay</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>overlay</refname> -<refpurpose>Overlay footer navigation?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="overlay.frag"> -<xsl:param name="overlay" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, JavaScript is added to the slides to make the -bottom navigation appear at the bottom of each page. This option and -<link linkend="multiframe">multiframe</link> are mutually exclusive.</para> - -<para>If this parameter is zero, the bottom navigation simply appears -below the content of each slide.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="show.foil.number"> -<refmeta> -<refentrytitle>show.foil.number</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>show.foil.number</refname> -<refpurpose>Show foil number on each foil?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="show.foil.number.frag"> -<xsl:param name="show.foil.number" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, on each slide there will be its number. Currently -not supported in all output formats.</para> - -</refsection> -</refentry> - -</reference> -<reference xml:id="frames"> -<title>HTML: Frames Parameters</title> -<refentry version="5.0" xml:id="nav.separator"> -<refmeta> -<refentrytitle>nav.separator</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>nav.separator</refname> -<refpurpose>Output separator between navigation and body?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="nav.separator.frag"> -<xsl:param name="nav.separator" select="1"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, a separator (<literal><HR></literal>) is -added between the navigation links and the content of each slide.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.row.height"> -<refmeta> -<refentrytitle>toc.row.height</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.row.height</refname> -<refpurpose>Height of ToC rows in dynamic ToCs</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.row.height.frag"> -<xsl:param name="toc.row.height">22</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>This parameter specifies the height of each row in the table of -contents. This is only applicable if a <link linkend="dynamic.toc">dynamic ToC</link> is used. You may want to -adjust this parameter for optimal appearance with the font and image -sizes selected by your <link linkend="css.stylesheet">CSS -stylesheet</link>. -</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.bg.color"> -<refmeta> -<refentrytitle>toc.bg.color</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.bg.color</refname> -<refpurpose>Background color for ToC frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.bg.color.frag"> -<xsl:param name="toc.bg.color">#FFFFFF</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the background color used in the ToC frame.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="body.bg.color"> -<refmeta> -<refentrytitle>body.bg.color</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> -</refmeta> -<refnamediv> -<refname>body.bg.color</refname> -<refpurpose>Background color for body frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="body.bg.color.frag"> -<xsl:param name="body.bg.color">#FFFFFF</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the background color used in the body column of -tabular slides.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.width"> -<refmeta> -<refentrytitle>toc.width</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.width</refname> -<refpurpose>Width of ToC frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.width.frag"> -<xsl:param name="toc.width">250</xsl:param> -<!-- Presumably in pixels? --> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the width of the ToC frame in pixels.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.hide.show"> -<refmeta> -<refentrytitle>toc.hide.show</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.hide.show</refname> -<refpurpose>Enable hide/show button for ToC frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.hide.show.frag"> -<xsl:param name="toc.hide.show" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, JavaScript (and an additional icon, see -<link linkend="hidetoc.image">hidetoc.image</link> and -<link linkend="hidetoc.image">showtoc.image</link>) is added to each slide -to allow the ToC panel to be <quote>toggled</quote> on each panel.</para> - -<note><para>There is a bug in Mozilla 1.0 (at least as of CR3) that causes -the browser to reload the titlepage when this feature is used.</para></note> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="dynamic.toc"> -<refmeta> -<refentrytitle>dynamic.toc</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>dynamic.toc</refname> -<refpurpose>Dynamic ToCs?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="dynamic.toc.frag"> -<xsl:param name="dynamic.toc" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, JavaScript is used to make the ToC panel <quote>dynamic</quote>. -In a dynamic ToC, each section in the ToC can be expanded and collapsed by -clicking on the appropriate image.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="active.toc"> -<refmeta> -<refentrytitle>active.toc</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>active.toc</refname> -<refpurpose>Active ToCs?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="active.toc.frag"> -<xsl:param name="active.toc" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, JavaScript is used to keep the ToC and the current slide -<quote>in sync</quote>. That is, each time the slide changes, the corresponding -ToC entry will be underlined.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="overlay.logo"> -<refmeta> -<refentrytitle>overlay.logo</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>overlay.logo</refname> -<refpurpose>Logo to overlay on ToC frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="overlay.logo.frag"> -<xsl:param name="overlay.logo">http://docbook.sourceforge.net/release/buttons/slides-1.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If this URI is non-empty, JavaScript is used to overlay the -specified image on the ToC frame.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="multiframe"> -<refmeta> -<refentrytitle>multiframe</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> -</refmeta> -<refnamediv> -<refname>multiframe</refname> -<refpurpose>Use multiple frames for slide bodies?</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="multiframe.frag"> -<xsl:param name="multiframe" select="0"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If non-zero, multiple frames are used for the body of each -slide. This is one way of forcing the slide navigation elements to -appear in constant locations. The other way is with <link linkend="overlay">overlays</link>. The <link linkend="overlay"><parameter>overlay</parameter></link> and -<parameter>multiframe</parameter> parameters are mutually -exclusive.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="multiframe.top.bgcolor"> -<refmeta> -<refentrytitle>multiframe.top.bgcolor</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> -</refmeta> -<refnamediv> -<refname>multiframe.top.bgcolor</refname> -<refpurpose>Background color for top navigation frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="multiframe.top.bgcolor.frag"> -<xsl:param name="multiframe.top.bgcolor">white</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the background color of the top navigation frame when -<link linkend="multiframe">multiframe</link> is enabled.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="multiframe.bottom.bgcolor"> -<refmeta> -<refentrytitle>multiframe.bottom.bgcolor</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> -</refmeta> -<refnamediv> -<refname>multiframe.bottom.bgcolor</refname> -<refpurpose>Background color for bottom navigation frame</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="multiframe.bottom.bgcolor.frag"> -<xsl:param name="multiframe.bottom.bgcolor">white</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the background color of the bottom navigation frame when -<link linkend="multiframe">multiframe</link> is enabled.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="multiframe.navigation.height"> -<refmeta> -<refentrytitle>multiframe.navigation.height</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> -</refmeta> -<refnamediv> -<refname>multiframe.navigation.height</refname> -<refpurpose>Height of navigation frames</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="multiframe.navigation.height.frag"> -<xsl:param name="multiframe.navigation.height">40</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the height of the navigation frames in pixels when -<link linkend="multiframe">multiframe</link> is enabled.</para> - -</refsection> -</refentry> - -</reference> -<reference xml:id="graphics"> -<title>HTML: Graphics Parameters</title> -<refentry version="5.0" xml:id="graphics.dir"> -<refmeta> -<refentrytitle>graphics.dir</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>graphics.dir</refname> -<refpurpose>Graphics directory</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="graphics.dir.frag"> -<xsl:param name="graphics.dir"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Identifies the graphics directory for the navigation components -generated on all the slides. This parameter can be set in the source -document with the <?dbhtml?> pseudo-attribute -<literal>graphics-dir</literal>.</para> - -<para>If non-empty, this value is prepended to each of the graphic -image paths.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="bullet.image"> -<refmeta> -<refentrytitle>bullet.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>bullet.image</refname> -<refpurpose>Bullet image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="bullet.image.frag"> -<xsl:param name="bullet.image">toc/bullet.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the bullet image used for foils in the -framed ToC.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="next.image"> -<refmeta> -<refentrytitle>next.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>next.image</refname> -<refpurpose>Right-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="next.image.frag"> -<xsl:param name="next.image">active/nav-next.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the right-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="prev.image"> -<refmeta> -<refentrytitle>prev.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>prev.image</refname> -<refpurpose>Left-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="prev.image.frag"> -<xsl:param name="prev.image">active/nav-prev.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the left-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="up.image"> -<refmeta> -<refentrytitle>up.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>up.image</refname> -<refpurpose>Up-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="up.image.frag"> -<xsl:param name="up.image">active/nav-up.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the upward-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="home.image"> -<refmeta> -<refentrytitle>home.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>home.image</refname> -<refpurpose>Home image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="home.image.frag"> -<xsl:param name="home.image">active/nav-home.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the home navigation icon.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="toc.image"> -<refmeta> -<refentrytitle>toc.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>toc.image</refname> -<refpurpose>ToC image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="toc.image.frag"> -<xsl:param name="toc.image">active/nav-toc.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the ToC navigation icon.</para> - -</refsection> -</refentry> - - -<refentry version="5.0" xml:id="no.next.image"> -<refmeta> -<refentrytitle>no.next.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>no.next.image</refname> -<refpurpose>Inactive right-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="no.next.image.frag"> -<xsl:param name="no.next.image">inactive/nav-next.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the inactive right-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="no.prev.image"> -<refmeta> -<refentrytitle>no.prev.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>no.prev.image</refname> -<refpurpose>Inactive left-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="no.prev.image.frag"> -<xsl:param name="no.prev.image">inactive/nav-prev.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the inactive left-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="no.up.image"> -<refmeta> -<refentrytitle>no.up.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>no.up.image</refname> -<refpurpose>Inactive up-arrow image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="no.up.image.frag"> -<xsl:param name="no.up.image">inactive/nav-up.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the inactive upward-pointing navigation arrow.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="no.home.image"> -<refmeta> -<refentrytitle>no.home.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>no.home.image</refname> -<refpurpose>Inactive home image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="no.home.image.frag"> -<xsl:param name="no.home.image">inactive/nav-home.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the inactive home navigation icon.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="no.toc.image"> -<refmeta> -<refentrytitle>no.toc.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>no.toc.image</refname> -<refpurpose>Inactive ToC image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="no.toc.image.frag"> -<xsl:param name="no.toc.image">inactive/nav-toc.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the inactive ToC navigation icon.</para> - -</refsection> -</refentry> - - -<refentry version="5.0" xml:id="plus.image"> -<refmeta> -<refentrytitle>plus.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>plus.image</refname> -<refpurpose>Plus image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="plus.image.frag"> -<xsl:param name="plus.image">toc/closed.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the <quote>plus</quote> image; the image used in a -<link linkend="dynamic.toc">dynamic ToC</link> to indicate that a section -can be expanded.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="minus.image"> -<refmeta> -<refentrytitle>minus.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>minus.image</refname> -<refpurpose>Minus image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="minus.image.frag"> -<xsl:param name="minus.image">toc/open.png</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the <quote>minus</quote> image; the image used in a -<link linkend="dynamic.toc">dynamic ToC</link> to indicate that a section -can be collapsed.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="hidetoc.image"> -<refmeta> -<refentrytitle>hidetoc.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>hidetoc.image</refname> -<refpurpose>Hide ToC image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="hidetoc.image.frag"> -<xsl:param name="hidetoc.image">hidetoc.gif</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the <quote>hide ToC</quote> image. This is used -when the <link linkend="toc.hide.show">ToC hide/show</link> parameter is -enabled.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="showtoc.image"> -<refmeta> -<refentrytitle>showtoc.image</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>showtoc.image</refname> -<refpurpose>Show ToC image</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="showtoc.image.frag"> -<xsl:param name="showtoc.image">showtoc.gif</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the <quote>show ToC</quote> image. This is used -when the <link linkend="toc.hide.show">ToC hide/show</link> parameter is -enabled.</para> - -</refsection> -</refentry> - -</reference> -<reference xml:id="javascript"> -<title>HTML: JavaScript Parameters</title> -<refentry version="5.0" xml:id="script.dir"> -<refmeta> -<refentrytitle>script.dir</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> -</refmeta> -<refnamediv> -<refname>script.dir</refname> -<refpurpose>Script directory</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="script.dir.frag"> -<xsl:param name="script.dir"></xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Identifies the JavaScript source directory for the slides. -This parameter can be set in the source -document with the <?dbhtml?> pseudo-attribute -<literal>script-dir</literal>.</para> - -<para>If non-empty, this value is prepended to each of the JavaScript files. -</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="ua.js"> -<refmeta> -<refentrytitle>ua.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>ua.js</refname> -<refpurpose>UA JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="ua.js.frag"> -<xsl:param name="ua.js">ua.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the UA JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="xbDOM.js"> -<refmeta> -<refentrytitle>xbDOM.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>xbDOM.js</refname> -<refpurpose>xbDOM JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="xbDOM.js.frag"> -<xsl:param name="xbDOM.js">xbDOM.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the xbDOM JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="xbStyle.js"> -<refmeta> -<refentrytitle>xbStyle.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>xbStyle.js</refname> -<refpurpose>xbStyle JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="xbStyle.js.frag"> -<xsl:param name="xbStyle.js">xbStyle.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the xbStyle JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="xbLibrary.js"> -<refmeta> -<refentrytitle>xbLibrary.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>xbLibrary.js</refname> -<refpurpose>xbLibrary JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="xbLibrary.js.frag"> -<xsl:param name="xbLibrary.js">xbLibrary.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the xbLibrary JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="xbCollapsibleLists.js"> -<refmeta> -<refentrytitle>xbCollapsibleLists.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>xbCollapsibleLists.js</refname> -<refpurpose>xbCollapsibleLists JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="xbCollapsibleLists.js.frag"> -<xsl:param name="xbCollapsibleLists.js">xbCollapsibleLists.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the xbCollapsibleLists JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="overlay.js"> -<refmeta> -<refentrytitle>overlay.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>overlay.js</refname> -<refpurpose>Overlay JavaScript file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="overlay.js.frag"> -<xsl:param name="overlay.js">overlay.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the overlay JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="slides.js"> -<refmeta> -<refentrytitle>slides.js</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> -</refmeta> -<refnamediv> -<refname>slides.js</refname> -<refpurpose>Slides overlay file</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="slides.js.frag"> -<xsl:param name="slides.js">slides.js</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>Specifies the filename of the slides JavaScript file. It's unlikely -that you will ever need to change this parameter.</para> - -</refsection> -</refentry> - -</reference> -<reference xml:id="l10n"> -<title>HTML: Localization Parameters</title> -<refentry version="5.0" xml:id="text.home"> -<refmeta> -<refentrytitle>text.home</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>text.home</refname> -<refpurpose>Home</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="text.home.frag"> -<xsl:param name="text.home">Home</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>FIXME:</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="text.toc"> -<refmeta> -<refentrytitle>text.toc</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>text.toc</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="text.toc.frag"> -<xsl:param name="text.toc">ToC</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>FIXME:</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="text.prev"> -<refmeta> -<refentrytitle>text.prev</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>text.prev</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="text.prev.frag"> -<xsl:param name="text.prev">Prev</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>FIXME:</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="text.up"> -<refmeta> -<refentrytitle>text.up</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>text.up</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="text.up.frag"> -<xsl:param name="text.up">Up</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>FIXME:</para> - -</refsection> -</refentry> - -<refentry version="5.0" xml:id="text.next"> -<refmeta> -<refentrytitle>text.next</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> -</refmeta> -<refnamediv> -<refname>text.next</refname> -<refpurpose>FIXME:</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<programlisting xml:id="text.next.frag"> -<xsl:param name="text.next">Next</xsl:param> -</programlisting> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>FIXME:</para> - -</refsection> -</refentry> - - - -</reference> -<appendix xml:id="styleheet"><title>The Stylesheet</title> - -<para>The <filename>param.xsl</filename> stylesheet is just a wrapper -around all these parameters.</para> - -<programlisting xml:id="top"> - -<!-- This file is generated from param.xweb --> - -<xsl:stylesheet exclude-result-prefixes="src" version="1.0"> - -<!-- ******************************************************************** - $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ - ******************************************************************** - - This file is part of the DocBook Slides Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<src:fragref linkend="active.toc.frag"></src:fragref> -<src:fragref linkend="body.bg.color.frag"></src:fragref> -<src:fragref linkend="bullet.image.frag"></src:fragref> -<src:fragref linkend="css.stylesheet.frag"></src:fragref> -<src:fragref linkend="css.stylesheet.dir.frag"></src:fragref> -<src:fragref linkend="dynamic.toc.frag"></src:fragref> -<src:fragref linkend="foilgroup.toc.frag"></src:fragref> -<src:fragref linkend="graphics.dir.frag"></src:fragref> -<src:fragref linkend="hidetoc.image.frag"></src:fragref> -<src:fragref linkend="home.image.frag"></src:fragref> -<src:fragref linkend="keyboard.nav.frag"></src:fragref> -<src:fragref linkend="minus.image.frag"></src:fragref> -<src:fragref linkend="multiframe.bottom.bgcolor.frag"></src:fragref> -<src:fragref linkend="multiframe.frag"></src:fragref> -<src:fragref linkend="multiframe.navigation.height.frag"></src:fragref> -<src:fragref linkend="multiframe.top.bgcolor.frag"></src:fragref> -<src:fragref linkend="nav.separator.frag"></src:fragref> -<src:fragref linkend="next.image.frag"></src:fragref> -<src:fragref linkend="no.home.image.frag"></src:fragref> -<src:fragref linkend="no.next.image.frag"></src:fragref> -<src:fragref linkend="no.prev.image.frag"></src:fragref> -<src:fragref linkend="no.toc.image.frag"></src:fragref> -<src:fragref linkend="no.up.image.frag"></src:fragref> -<src:fragref linkend="output.indent.frag"></src:fragref> -<src:fragref linkend="overlay.frag"></src:fragref> -<src:fragref linkend="overlay.js.frag"></src:fragref> -<src:fragref linkend="overlay.logo.frag"></src:fragref> -<src:fragref linkend="plus.image.frag"></src:fragref> -<src:fragref linkend="prev.image.frag"></src:fragref> -<src:fragref linkend="script.dir.frag"></src:fragref> -<src:fragref linkend="show.foil.number.frag"></src:fragref> -<src:fragref linkend="showtoc.image.frag"></src:fragref> -<src:fragref linkend="slides.js.frag"></src:fragref> -<src:fragref linkend="text.home.frag"></src:fragref> -<src:fragref linkend="text.next.frag"></src:fragref> -<src:fragref linkend="text.prev.frag"></src:fragref> -<src:fragref linkend="text.toc.frag"></src:fragref> -<src:fragref linkend="text.up.frag"></src:fragref> -<src:fragref linkend="titlefoil.html.frag"></src:fragref> -<src:fragref linkend="toc.bg.color.frag"></src:fragref> -<src:fragref linkend="toc.hide.show.frag"></src:fragref> -<src:fragref linkend="toc.html.frag"></src:fragref> -<src:fragref linkend="toc.image.frag"></src:fragref> -<src:fragref linkend="toc.row.height.frag"></src:fragref> -<src:fragref linkend="toc.width.frag"></src:fragref> -<src:fragref linkend="ua.js.frag"></src:fragref> -<src:fragref linkend="up.image.frag"></src:fragref> -<src:fragref linkend="xbCollapsibleLists.js.frag"></src:fragref> -<src:fragref linkend="xbDOM.js.frag"></src:fragref> -<src:fragref linkend="xbStyle.js.frag"></src:fragref> -<src:fragref linkend="xbLibrary.js.frag"></src:fragref> - -</xsl:stylesheet> -</programlisting> - -</appendix> -</book> diff --git a/slides/html/param.xsl b/slides/html/param.xsl deleted file mode 100644 index 2d69441..0000000 --- a/slides/html/param.xsl +++ /dev/null @@ -1,69 +0,0 @@ -<?xml version="1.0"?> -<!-- This file is generated from param.xweb --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<!-- ******************************************************************** - $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $ - ******************************************************************** - - This file is part of the DocBook Slides Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for - copyright and other information. - - ******************************************************************** --> - -<xsl:param name="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:stylesheet> - diff --git a/slides/html/plain.xsl b/slides/html/plain.xsl deleted file mode 100644 index 47224da..0000000 --- a/slides/html/plain.xsl +++ /dev/null @@ -1,472 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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> </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> </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> </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> </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> </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> </xsl:text> - </td> - </tr> - </table> - <hr class="top-nav-sep"/> - </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> </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> </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> </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> </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> </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> </xsl:text> - </td> - </tr> - </table> - <hr class="top-nav-sep"/> - </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> </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> </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> </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> </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> </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> </xsl:text> - </td> - </tr> - </table> - <hr class="top-nav-sep"/> - </div> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="bottom-nav"/> - -</xsl:stylesheet> diff --git a/slides/html/slides-common.xsl b/slides/html/slides-common.xsl deleted file mode 100644 index 9848586..0000000 --- a/slides/html/slides-common.xsl +++ /dev/null @@ -1,1541 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0"> - -<xsl:import href="../../html/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="html"/> - -<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> </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> </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> </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> </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> </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> </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> </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> </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> </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <b> - <xsl:call-template name="gentext"> - <xsl:with-param name="key">TableofContents</xsl:with-param> - </xsl:call-template> - </b> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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"> - <!-- - xblibrary = new xbLibrary('</xsl:text> - <xsl:call-template name="script-dir"/> - <xsl:text disable-output-escaping="yes">'); - // --> - </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> - <xsl:when test="contains($pidata,'/_font')"> - <xsl:text disable-output-escaping="yes"></span></xsl:text> - </xsl:when> - <xsl:when test="contains($pidata,'_font')"> - <xsl:text disable-output-escaping="yes"><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">></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="name"><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="name"><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::*)>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: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 match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'> - <xsl:element name="{local-name(.)}" namespace=""> - <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> -   - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/slides/html/tables.xsl b/slides/html/tables.xsl deleted file mode 100644 index 0462528..0000000 --- a/slides/html/tables.xsl +++ /dev/null @@ -1,336 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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> </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> </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> </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/html/vslides.xsl b/slides/html/vslides.xsl deleted file mode 100644 index f490099..0000000 --- a/slides/html/vslides.xsl +++ /dev/null @@ -1,667 +0,0 @@ -<?xml version="1.0"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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"> - <!-- - xblibrary = new xbLibrary('../browser'); - // --> - </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> </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> </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"> - <!-- - xblibrary = new xbLibrary('../browser'); - // --> - </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> </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> </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"> - <!-- - xblibrary = new xbLibrary('../browser'); - // --> - </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> </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> </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"> - <!-- - xblibrary = new xbLibrary('../browser'); - // --> - </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> </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> </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/html/w3c.xsl b/slides/html/w3c.xsl deleted file mode 100644 index 5a5b420..0000000 --- a/slides/html/w3c.xsl +++ /dev/null @@ -1,376 +0,0 @@ -<?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - 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() < 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 match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'> - <xsl:element name="{local-name(.)}" namespace=""> - <xsl:apply-templates select="@*" mode="copy"/> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> |