diff options
Diffstat (limited to 'docbook-xsl-1.75.2/slides/xhtml')
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/css.xsl | 47 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/default.xsl | 246 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/flat.xsl | 71 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/frames.xsl | 1982 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/graphics.xsl | 152 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/jscript.xsl | 128 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/param.xsl | 70 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/plain.xsl | 470 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/slides-common.xsl | 1534 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/tables.xsl | 334 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/vslides.xsl | 652 | ||||
-rw-r--r-- | docbook-xsl-1.75.2/slides/xhtml/w3c.xsl | 358 |
12 files changed, 0 insertions, 6044 deletions
diff --git a/docbook-xsl-1.75.2/slides/xhtml/css.xsl b/docbook-xsl-1.75.2/slides/xhtml/css.xsl deleted file mode 100644 index d0b47c6..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/css.xsl +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<!-- ====================================================================== --> - -<xsl:template name="css-file"> - <xsl:param name="css" select="'slides.css'"/> - - <xsl:variable name="source.css.dir"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$source.css.dir != ''"> - <xsl:value-of select="$source.css.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:when test="$css.stylesheet.dir != ''"> - <xsl:value-of select="$css.stylesheet.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$css"/> -</xsl:template> - -<!-- ====================================================================== --> -<!-- active navigation images --> - -<xsl:template name="css.stylesheet"> - <xsl:param name="css" select="$css.stylesheet"/> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="css-file"> - <xsl:with-param name="css" select="$css"/> - </xsl:call-template> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/default.xsl b/docbook-xsl-1.75.2/slides/xhtml/default.xsl deleted file mode 100644 index 86f2cb3..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/default.xsl +++ /dev/null @@ -1,246 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> - -<xsl:param name="css.stylesheet" select="'slides-default.css'"/> - -<xsl:template name="top-nav"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <div class="navhead"> - <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation"> - <tr> - <xsl:call-template name="generate.toc.hide.show"/> - <td align="left" width="10%"> - <xsl:choose> - <xsl:when test="$prev"> - <a> - <xsl:attribute name="href"> - <xsl:apply-templates select="$prev" mode="filename"/> - </xsl:attribute> - - <img alt="Prev" border="0"> - <xsl:attribute name="src"> - <xsl:call-template name="prev.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> </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 xmlns:html="http://www.w3.org/1999/xhtml" match="html:*"> - <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="@*" mode="copy"/> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/flat.xsl b/docbook-xsl-1.75.2/slides/xhtml/flat.xsl deleted file mode 100644 index e0c57e9..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/flat.xsl +++ /dev/null @@ -1,71 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:template match="/"> - <html> - <head> - <title><xsl:value-of select="/slides/slidesinfo/title"/></title> - </head> - <body> - <xsl:apply-templates/> - </body> - </html> -</xsl:template> - -<xsl:template match="slidesinfo"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div id="{$id}" class="titlepage"> - <div class="titlepage-body"> - <xsl:call-template name="titlepage-body"/> - </div> - </div> -</xsl:template> - -<xsl:template match="slides" mode="toc"> - <!-- nop --> -</xsl:template> - -<xsl:template match="foil"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div class="{name(.)}" id="{$id}"> - <div class="foil-body"> - <xsl:call-template name="foil-body"/> - </div> - <xsl:call-template name="process.footnotes"/> - </div> -</xsl:template> - -<xsl:template match="foilgroup"> - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <div class="{name(.)}" id="{$id}"> - <div class="foilgroup-body"> - <xsl:call-template name="foilgroup-body"/> - </div> - <xsl:call-template name="process.footnotes"/> - </div> - - <xsl:apply-templates select="foil"/> -</xsl:template> - -<xsl:template match="author" mode="titlepage.mode"> - <div class="{name(.)}"> - <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2> - <xsl:apply-templates mode="titlepage.mode" select="./contrib"/> - <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/> - </div> -</xsl:template> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/frames.xsl b/docbook-xsl-1.75.2/slides/xhtml/frames.xsl deleted file mode 100644 index aea4172..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/frames.xsl +++ /dev/null @@ -1,1982 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/> - -<xsl:param name="css.stylesheet" select="'slides-frames.css'"/> - -<!-- ====================================================================== --> - -<xsl:template name="doctype-public"> - <xsl:param name="frameset" select="0"/> - <xsl:choose> - <xsl:when test="$stylesheet.result.type='html'"> - <xsl:choose> - <!-- Assume when chunker.output.doctype-public is set the user - wants to have doctypes written out. If frameset is set - then overide with a frameset public identifier. --> - <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0"> - <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$chunker.output.doctype-public"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$stylesheet.result.type='xhtml'"> - <xsl:choose> - <xsl:when test="$frameset != 0"> - <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<xsl:template name="doctype-system"> - <xsl:param name="frameset" select="0"/> - <xsl:choose> - <xsl:when test="$stylesheet.result.type='html'"> - <xsl:choose> - <!-- Assume when chunker.output.doctype-system is set the user - wants to have doctypes written out. If frameset is set - then overide with a frameset system identifier. --> - <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0"> - <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$chunker.output.doctype-system"/> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - <xsl:when test="$stylesheet.result.type='xhtml'"> - <xsl:choose> - <xsl:when test="$frameset != 0"> - <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text> - </xsl:otherwise> - </xsl:choose> - </xsl:when> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template match="slides"> - <xsl:variable name="title"> - <xsl:choose> - <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)"> - <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="(slidesinfo/title|title)[1]"/> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/> - <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/> - - <xsl:if test="$overlay != 0 and $multiframe != 0"> - <xsl:message terminate="yes"> - <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text> - </xsl:message> - </xsl:if> - - <xsl:variable name="doctype-public"> - <xsl:call-template name="doctype-public"> - <xsl:with-param name="frameset" select="1"/> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="doctype-system"> - <xsl:call-template name="doctype-system"> - <xsl:with-param name="frameset" select="1"/> - </xsl:call-template> - </xsl:variable> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="indent" select="$output.indent"/> - <xsl:with-param name="doctype-public" select="$doctype-public"/> - <xsl:with-param name="doctype-system" select="$doctype-system"/> - <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/> - <xsl:with-param name="content"> - <html> - <head> - <title><xsl:value-of select="$title"/></title> - </head> - <frameset cols="{$toc.width},*" id="topframe"> - <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/> - <frame src="{$titlefoil.html}" name="foil" id="foil"/> - <noframes> - <body class="frameset"> - <xsl:call-template name="body.attributes"/> - <a href="{concat('titleframe', $html.ext)}"> - <xsl:text>Your browser doesn't support frames.</xsl:text> - </a> - </body> - </noframes> - </frameset> - </html> - </xsl:with-param> - </xsl:call-template> - - <xsl:call-template name="write.chunk"> - <xsl:with-param name="indent" select="$output.indent"/> - <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/> - <xsl:with-param name="content"> - <html> - <head> - <title>TOC - <xsl:value-of select="$title"/></title> - <xsl:call-template name="system.head.content"/> - <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/> - <xsl:if test="$css.stylesheet != ''"> - <link type="text/css" rel="stylesheet"> - <xsl:attribute name="href"> - <xsl:call-template name="css.stylesheet"/> - </xsl:attribute> - </link> - </xsl:if> - <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/> - - <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0 or $overlay.logo != ''"> - <script language="javascript" type="text/javascript"> - <xsl:text> </xsl:text> - </script> - </xsl:if> - - <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0"> - <xsl:call-template name="ua.js"/> - <xsl:call-template name="xbDOM.js"> - <xsl:with-param name="language" select="'javascript'"/> - </xsl:call-template> - <xsl:call-template name="xbLibrary.js"/> - <script language="javascript" type="text/javascript"> - <xsl:text disable-output-escaping="yes"> - <!-- - 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/docbook-xsl-1.75.2/slides/xhtml/graphics.xsl b/docbook-xsl-1.75.2/slides/xhtml/graphics.xsl deleted file mode 100644 index 6317a4b..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/graphics.xsl +++ /dev/null @@ -1,152 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<!-- ====================================================================== --> - -<xsl:template name="graphics-file"> - <xsl:param name="image" select="'bullet.gif'"/> - - <xsl:variable name="source.graphics.dir"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'graphics-dir'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$source.graphics.dir != ''"> - <xsl:value-of select="$source.graphics.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:when test="$graphics.dir != ''"> - <xsl:value-of select="$graphics.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>http://docbook.sourceforge.net/release/slides/graphics/</xsl:text> - </xsl:otherwise> - </xsl:choose> - <xsl:value-of select="$image"/> -</xsl:template> - -<!-- ====================================================================== --> -<!-- active navigation images --> - -<xsl:template name="toc.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$toc.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="home.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$home.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="up.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$up.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="prev.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$prev.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="next.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$next.image"/> - </xsl:call-template> -</xsl:template> - -<!-- inactive navigation images --> - -<xsl:template name="no.toc.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$no.toc.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="no.home.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$no.home.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="no.up.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$no.up.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="no.prev.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$no.prev.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="no.next.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$no.next.image"/> - </xsl:call-template> -</xsl:template> - -<!-- ====================================================================== --> -<!-- icon images --> - -<xsl:template name="bullet.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$bullet.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="plus.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$plus.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="minus.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$minus.image"/> - </xsl:call-template> -</xsl:template> - -<!-- ====================================================================== --> -<!-- hide/show ToC images --> - -<xsl:template name="hidetoc.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$hidetoc.image"/> - </xsl:call-template> -</xsl:template> - -<xsl:template name="showtoc.image"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:call-template name="graphics-file"> - <xsl:with-param name="image" select="$showtoc.image"/> - </xsl:call-template> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/jscript.xsl b/docbook-xsl-1.75.2/slides/xhtml/jscript.xsl deleted file mode 100644 index b3047ee..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/jscript.xsl +++ /dev/null @@ -1,128 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> - -<xsl:template name="script-dir"> - <xsl:variable name="source.script.dir"> - <xsl:call-template name="dbhtml-attribute"> - <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/> - <xsl:with-param name="attribute" select="'script-dir'"/> - </xsl:call-template> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$source.script.dir != ''"> - <xsl:value-of select="$source.script.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:when test="$script.dir != ''"> - <xsl:value-of select="$script.dir"/> - <xsl:text>/</xsl:text> - </xsl:when> - <xsl:otherwise> - <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template name="script-file"> - <xsl:param name="js" select="'slides.js'"/> - <xsl:call-template name="script-dir"/> - <xsl:value-of select="$js"/> -</xsl:template> - -<xsl:template name="ua.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$ua.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="xbDOM.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$xbDOM.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="xbStyle.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$xbStyle.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="xbLibrary.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$xbLibrary.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="xbCollapsibleLists.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$xbCollapsibleLists.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="overlay.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$overlay.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -<xsl:template name="slides.js"> - <!-- Danger Will Robinson: template shadows parameter --> - <xsl:param name="language" select="'javascript'"/> - <script type="text/javascript" language="{$language}"> - <xsl:attribute name="src"> - <xsl:call-template name="script-file"> - <xsl:with-param name="js" select="$slides.js"/> - </xsl:call-template> - </xsl:attribute> - <xsl:text> </xsl:text> - </script> -</xsl:template> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/param.xsl b/docbook-xsl-1.75.2/slides/xhtml/param.xsl deleted file mode 100644 index c3ec806..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/param.xsl +++ /dev/null @@ -1,70 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<!-- This file is generated from param.xweb --> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<!-- ******************************************************************** - $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/docbook-xsl-1.75.2/slides/xhtml/plain.xsl b/docbook-xsl-1.75.2/slides/xhtml/plain.xsl deleted file mode 100644 index 29d43fc..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/plain.xsl +++ /dev/null @@ -1,470 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:param name="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/docbook-xsl-1.75.2/slides/xhtml/slides-common.xsl b/docbook-xsl-1.75.2/slides/xhtml/slides-common.xsl deleted file mode 100644 index b868058..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/slides-common.xsl +++ /dev/null @@ -1,1534 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="../../xhtml/chunk.xsl"/> -<xsl:include href="../../VERSION"/> - -<xsl:include href="param.xsl"/> -<xsl:include href="jscript.xsl"/> -<xsl:include href="graphics.xsl"/> -<xsl:include href="css.xsl"/> - -<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> - -<xsl:strip-space elements="slides foil foilgroup"/> - -<!-- Process the slides --> - -<xsl:template match="/"> - <xsl:apply-templates/> -</xsl:template> - -<xsl:template match="slides"> - <xsl:apply-templates select="." mode="toc"/> - <xsl:apply-templates/> -</xsl:template> - -<!-- ====================================================================== --> -<!-- Every slide has top and bottom navigation --> - -<xsl:template name="top-nav"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <div class="navhead"> - <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table"> - <tr> - <td align="left" valign="bottom"> - <xsl:if test="$home"> - <span class="slidestitle"> - <a> - <xsl:attribute name="href"> - <xsl:apply-templates select="$home" mode="filename"/> - </xsl:attribute> - <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/> - </a> - </span> - </xsl:if> - <xsl:text> </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 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="id"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute> - <xsl:if test="$ulink.target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$ulink.target"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="@url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - <xsl:if test="@role='show'"> - <xsl:text> (</xsl:text> - <xsl:value-of select="@url"/> - <xsl:text>)</xsl:text> - </xsl:if> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="title/ulink"> - <a> - <xsl:if test="@id"> - <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> - </xsl:if> - <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute> - <xsl:if test="$ulink.target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$ulink.target"/> - </xsl:attribute> - </xsl:if> - <xsl:choose> - <xsl:when test="count(child::node())=0"> - <xsl:value-of select="@url"/> - </xsl:when> - <xsl:otherwise> - <xsl:apply-templates/> - </xsl:otherwise> - </xsl:choose> - </a> -</xsl:template> - -<xsl:template match="subtitle"> - <h2 class="subtitle"> - <xsl:apply-templates/> - </h2> -</xsl:template> - -<xsl:template match="graphic"> - <center> - <!-- can't this be done a better way? --> - <xsl:apply-imports/> - </center> -</xsl:template> - -<xsl:template match="titleabbrev"> - <!-- nop --> -</xsl:template> - -<xsl:template match="speakernotes"> - <!-- nop --> -</xsl:template> - -<!-- ====================================================================== --> -<!-- Chunking for slides --> - -<xsl:template name="chunk"> - <xsl:param name="node" select="."/> - <xsl:choose> - <xsl:when test="name($node)='slides'">1</xsl:when> - <xsl:when test="name($node)='foilgroup'">1</xsl:when> - <xsl:when test="name($node)='foil'">1</xsl:when> - <xsl:otherwise>0</xsl:otherwise> - </xsl:choose> -</xsl:template> - -<xsl:template match="*" mode="chunk-filename"> - <xsl:param name="recursive">0</xsl:param> - <!-- returns the filename of a chunk --> - <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable> - <xsl:variable name="filename"> - <xsl:call-template name="pi.dbhtml_filename"/> - </xsl:variable> - <xsl:variable name="dir"> - <xsl:call-template name="dbhtml-dir"/> - </xsl:variable> - - <xsl:choose> - <xsl:when test="$ischunk='0'"> - <!-- if called on something that isn't a chunk, walk up... --> - <xsl:choose> - <xsl:when test="count(./parent::*)>0"> - <xsl:apply-templates mode="chunk-filename" select="./parent::*"> - <xsl:with-param name="recursive" select="$recursive"/> - </xsl:apply-templates> - </xsl:when> - <!-- unless there is no up, in which case return "" --> - <xsl:otherwise/> - </xsl:choose> - </xsl:when> - - <xsl:when test="not($recursive) and $filename != ''"> - <!-- if this chunk has an explicit name, use it --> - <xsl:if test="$dir != ''"> - <xsl:value-of select="$dir"/> - <xsl:text>/</xsl:text> - </xsl:if> - <xsl:value-of select="$filename"/> - </xsl:when> - - <xsl:when test="name(.)='foil'"> - <xsl:variable name="foilnumber"> - <xsl:number count="foil" level="any"/> - </xsl:variable> - - <xsl:value-of select="$dir"/> - <xsl:text>foil</xsl:text> - <xsl:number value="$foilnumber" format="01"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - - <xsl:when test="name(.)='foilgroup'"> - <xsl:variable name="foilgroupnumber"> - <xsl:number count="foilgroup" level="any" format="01"/> - </xsl:variable> - - <xsl:value-of select="$dir"/> - <xsl:text>foilgroup</xsl:text> - <xsl:number value="$foilgroupnumber" format="01"/> - <xsl:value-of select="$html.ext"/> - </xsl:when> - - <xsl:otherwise> - <xsl:text>chunk-filename-error-</xsl:text> - <xsl:value-of select="name(.)"/> - <xsl:number level="any" format="01" from="set"/> - <xsl:if test="not($recursive)"> - <xsl:value-of select="$html.ext"/> - </xsl:if> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -<!-- ====================================================================== --> -<!-- Handling of xrefs --> - -<xsl:template match="foil|foilgroup" mode="xref-to"> - <xsl:param name="referrer"/> - <xsl:param name="xrefstyle"/> - - <xsl:apply-templates select="." mode="object.xref.markup"> - <xsl:with-param name="purpose" select="'xref'"/> - <xsl:with-param name="xrefstyle" select="$xrefstyle"/> - <xsl:with-param name="referrer" select="$referrer"/> - </xsl:apply-templates> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template match="@*" mode="copy"> - <xsl:attribute name="{local-name(.)}"> - <xsl:value-of select="."/> - </xsl:attribute> -</xsl:template> - -<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*"> - <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="@*" mode="copy"/> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="foil.number"> - <xsl:choose> - <xsl:when test="$show.foil.number != 0 and self::foil"> - <xsl:number count="foil" level="any"/> - / - <xsl:value-of select="count(//foil)"/> - </xsl:when> - <xsl:otherwise> -   - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/docbook-xsl-1.75.2/slides/xhtml/tables.xsl b/docbook-xsl-1.75.2/slides/xhtml/tables.xsl deleted file mode 100644 index 7d5ec6b..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/tables.xsl +++ /dev/null @@ -1,334 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:param name="blank.image" select="'blank.png'"/> -<xsl:param name="arrow.image" select="'pointer.png'"/> - -<xsl:param name="toc.bg.color">#6A719C</xsl:param> -<xsl:param name="toc.width">220</xsl:param> - -<xsl:param name="css.stylesheet" select="'slides-table.css'"/> - -<!-- ============================================================ --> - -<xsl:template name="foilgroup-body"> - <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0"> - <tr> - <td width="{$toc.width}" valign="top" align="left"> - <xsl:if test="$toc.bg.color != ''"> - <xsl:attribute name="bgcolor"> - <xsl:value-of select="$toc.bg.color"/> - </xsl:attribute> - </xsl:if> - <div class="ttoc"> - <xsl:apply-templates select="." mode="t-toc"/> - </div> - </td> - <td> </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/docbook-xsl-1.75.2/slides/xhtml/vslides.xsl b/docbook-xsl-1.75.2/slides/xhtml/vslides.xsl deleted file mode 100644 index 26e9961..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/vslides.xsl +++ /dev/null @@ -1,652 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:param name="but-fforward.png" select="'active/but-fforward.png'"/> -<xsl:param name="but-info.png" select="'active/but-info.png'"/> -<xsl:param name="but-next.png" select="'active/but-next.png'"/> -<xsl:param name="but-prev.png" select="'active/but-prev.png'"/> -<xsl:param name="but-rewind.png" select="'active/but-rewind.png'"/> - -<xsl:param name="but-xfforward.png" select="'inactive/but-fforward.png'"/> -<xsl:param name="but-xinfo.png" select="'inactive/but-info.png'"/> -<xsl:param name="but-xnext.png" select="'inactive/but-next.png'"/> -<xsl:param name="but-xprev.png" select="'inactive/but-prev.png'"/> -<xsl:param name="but-xrewind.png" select="'inactive/but-rewind.png'"/> - -<!-- overrides for this stylesheet --> -<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/> -<xsl:param name="toc.width" select="40"/> - -<!-- ============================================================ --> - -<xsl:template match="slides"> - <xsl:call-template name="write.chunk"> - <xsl:with-param name="indent" select="$output.indent"/> - <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/> - <xsl:with-param name="content"> - <html> - <head> - <title><xsl:value-of select="slidesinfo/title"/></title> - <xsl:if test="$css.stylesheet != ''"> - <link type="text/css" rel="stylesheet"> - <xsl:attribute name="href"> - <xsl:call-template name="css.stylesheet"/> - </xsl:attribute> - </link> - </xsl:if> - <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/> - - <xsl:call-template name="links"> - <xsl:with-param name="next" select="/slides"/> - <xsl:with-param name="tocfile" select="$toc.html"/> - </xsl:call-template> - - <xsl:if test="$keyboard.nav != 0"> - <script language="javascript" type="text/javascript"> - <xsl:text> </xsl:text> - </script> - </xsl:if> - - <xsl:if test="$keyboard.nav != 0"> - <xsl:call-template name="ua.js"/> - <xsl:call-template name="xbDOM.js"> - <xsl:with-param name="language" select="'javascript'"/> - </xsl:call-template> - <xsl:call-template name="xbLibrary.js"/> - <script language="javascript" type="text/javascript"> - <xsl:text disable-output-escaping="yes"> - <!-- - 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/docbook-xsl-1.75.2/slides/xhtml/w3c.xsl b/docbook-xsl-1.75.2/slides/xhtml/w3c.xsl deleted file mode 100644 index d361a33..0000000 --- a/docbook-xsl-1.75.2/slides/xhtml/w3c.xsl +++ /dev/null @@ -1,358 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<!--This file was created automatically by html2xhtml--> -<!--from the HTML stylesheets.--> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> - -<xsl:import href="slides-common.xsl"/> - -<xsl:param name="logo.image.uri" select="''"/> -<xsl:param name="logo.uri" select="''"/> -<xsl:param name="logo.title" select="''"/> - -<xsl:param name="next.image" select="'active/w3c-next.png'"/> -<xsl:param name="no.next.image" select="'inactive/w3c-next.png'"/> - -<xsl:param name="prev.image" select="'active/w3c-prev.png'"/> -<xsl:param name="no.prev.image" select="'inactive/w3c-prev.png'"/> - -<xsl:param name="toc.image" select="'active/w3c-toc.png'"/> -<xsl:param name="no.toc.image" select="'inactive/w3c-toc.png'"/> - -<xsl:param name="css.stylesheet" select="'slides-w3c.css'"/> - -<xsl:template name="logo"> - <xsl:if test="$logo.uri != ''"> - <a href="{$logo.uri}" title="{$logo.title}"> - <xsl:choose> - <xsl:when test="$logo.image.uri=''"> - <xsl:value-of select="$logo.title"/> - </xsl:when> - <xsl:otherwise> - <img src="{$logo.image.uri}" alt="{$logo.title}" border="0"/> - </xsl:otherwise> - </xsl:choose> - </a> - </xsl:if> -</xsl:template> - -<xsl:template name="overlayDiv.attributes"> - <xsl:if test="$overlay != 0"> - <xsl:attribute name="style"> - <xsl:text>position: absolute; visibility: visible;</xsl:text> - </xsl:attribute> - </xsl:if> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="top-nav"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <div class="navhead"> - <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons"> - <tr> - <td align="left" valign="top"> - <xsl:call-template name="logo"/> - </td> - <td valign="top" nowrap="nowrap" width="150"> - <div align="right"> - <xsl:choose> - <xsl:when test="$prev"> - <a rel="previous" accesskey="P"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$prev" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="prev.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Previous" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.prev.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="$tocfile != ''"> - <a rel="contents" href="{$tocfile}" accesskey="C"> - <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents"> - <xsl:attribute name="src"> - <xsl:call-template name="toc.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents"> - <xsl:attribute name="src"> - <xsl:call-template name="no.toc.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="$next"> - <a rel="next" accesskey="N"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$next" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Next" title="{$next/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="next.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Next" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.next.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - </div> - </td> - </tr> - </table> - - <xsl:apply-templates select="title"/> - <hr class="top-nav-sep"/> - </div> -</xsl:template> - -<xsl:template name="bottom-nav"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <div class="navfoot"> - <hr class="bottom-nav-sep"/> - <table class="footer" cellspacing="0" cellpadding="0" border="0" width="97%" summary="footer"> - <tr> - <td align="left" valign="top"> - <xsl:variable name="author" select="(/slides/slidesinfo//author |/slides/slidesinfo//editor)"/> - <xsl:for-each select="$author"> - <xsl:choose> - <xsl:when test=".//email"> - <a href="mailto:{.//email[1]}"> - <xsl:call-template name="person.name"/> - </a> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="person.name"/> - </xsl:otherwise> - </xsl:choose> - - <xsl:if test="position() < last()">, </xsl:if> - </xsl:for-each> - </td> - <td align="right" valign="top"> - <span class="index"> - <xsl:value-of select="count(preceding::foil) + count(preceding::foilgroup) + count(ancestor::foilgroup) + 1"/> - <xsl:text> of </xsl:text> - <xsl:value-of select="count(//foil|//foilgroup)"/> - </span> - </td> - - <td valign="top" nowrap="nowrap" width="150"> - <div align="right"> - <xsl:choose> - <xsl:when test="$prev"> - <a rel="previous" accesskey="P"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$prev" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="prev.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Prev" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.prev.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="$next"> - <a rel="next" accesskey="N"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$next" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Next" title="{$next/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="next.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Next" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.next.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - </div> - </td> - </tr> - </table> - </div> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="titlepage-top-nav"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <div class="navhead"> - <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons"> - <tr> - <td align="left" valign="top"> - <xsl:call-template name="logo"/> - </td> - <td valign="top" nowrap="nowrap" width="150"> - <div align="right"> - <xsl:choose> - <xsl:when test="$prev"> - <a rel="previous" accesskey="P"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$prev" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="prev.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Previous" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.prev.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="$tocfile != ''"> - <a rel="contents" href="{$tocfile}" accesskey="C"> - <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents"> - <xsl:attribute name="src"> - <xsl:call-template name="toc.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents"> - <xsl:attribute name="src"> - <xsl:call-template name="no.toc.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - - <xsl:choose> - <xsl:when test="$next"> - <a rel="next" accesskey="N"> - <xsl:attribute name="href"> - <xsl:apply-templates select="$next" mode="filename"/> - </xsl:attribute> - <img border="0" width="32" height="32" alt=" Next" title="{$next/title}"> - <xsl:attribute name="src"> - <xsl:call-template name="next.image"/> - </xsl:attribute> - </img> - </a> - </xsl:when> - <xsl:otherwise> - <img border="0" width="32" height="32" alt=" Next" title=""> - <xsl:attribute name="src"> - <xsl:call-template name="no.next.image"/> - </xsl:attribute> - </img> - </xsl:otherwise> - </xsl:choose> - </div> - </td> - </tr> - </table> - - <hr class="top-nav-sep"/> - </div> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template name="foil-body"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <!-- skip the title --> - <xsl:apply-templates select="*[name(.) != 'title']"/> -</xsl:template> - -<xsl:template name="foilgroup-body"> - <xsl:param name="home"/> - <xsl:param name="up"/> - <xsl:param name="next"/> - <xsl:param name="prev"/> - <xsl:param name="tocfile" select="$toc.html"/> - - <!-- skip the title --> - <xsl:apply-templates select="*[name(.) != 'title' and name(.) != 'foil' and name(.) != 'foilgroup']"/> - - <xsl:if test="$foilgroup.toc != 0"> - <dl class="toc"> - <xsl:apply-templates select="foil" mode="toc"/> - </dl> - </xsl:if> -</xsl:template> - -<!-- ====================================================================== --> - -<xsl:template match="@*" mode="copy"> - <xsl:attribute name="{local-name(.)}"> - <xsl:value-of select="."/> - </xsl:attribute> -</xsl:template> - -<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*"> - <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml"> - <xsl:apply-templates select="@*" mode="copy"/> - <xsl:apply-templates/> - </xsl:element> -</xsl:template> - -<!-- ====================================================================== --> - -</xsl:stylesheet> |