1 <?xml version="1.0" encoding="ASCII"?>
2 <!--This file was created automatically by html2xhtml-->
3 <!--from the HTML stylesheets.-->
4 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
6 <xsl:import href="slides-common.xsl"/>
8 <xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/>
10 <xsl:param name="css.stylesheet" select="'slides-frames.css'"/>
12 <!-- ====================================================================== -->
14 <xsl:template name="doctype-public">
15 <xsl:param name="frameset" select="0"/>
17 <xsl:when test="$stylesheet.result.type='html'">
19 <!-- Assume when chunker.output.doctype-public is set the user
20 wants to have doctypes written out. If frameset is set
21 then overide with a frameset public identifier. -->
22 <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0">
23 <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text>
26 <xsl:value-of select="$chunker.output.doctype-public"/>
30 <xsl:when test="$stylesheet.result.type='xhtml'">
32 <xsl:when test="$frameset != 0">
33 <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text>
36 <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text>
43 <xsl:template name="doctype-system">
44 <xsl:param name="frameset" select="0"/>
46 <xsl:when test="$stylesheet.result.type='html'">
48 <!-- Assume when chunker.output.doctype-system is set the user
49 wants to have doctypes written out. If frameset is set
50 then overide with a frameset system identifier. -->
51 <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0">
52 <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text>
55 <xsl:value-of select="$chunker.output.doctype-system"/>
59 <xsl:when test="$stylesheet.result.type='xhtml'">
61 <xsl:when test="$frameset != 0">
62 <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text>
65 <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text>
72 <!-- ====================================================================== -->
74 <xsl:template match="slides">
75 <xsl:variable name="title">
77 <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)">
78 <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/>
81 <xsl:value-of select="(slidesinfo/title|title)[1]"/>
85 <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/>
86 <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/>
88 <xsl:if test="$overlay != 0 and $multiframe != 0">
89 <xsl:message terminate="yes">
90 <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text>
94 <xsl:variable name="doctype-public">
95 <xsl:call-template name="doctype-public">
96 <xsl:with-param name="frameset" select="1"/>
99 <xsl:variable name="doctype-system">
100 <xsl:call-template name="doctype-system">
101 <xsl:with-param name="frameset" select="1"/>
105 <xsl:call-template name="write.chunk">
106 <xsl:with-param name="indent" select="$output.indent"/>
107 <xsl:with-param name="doctype-public" select="$doctype-public"/>
108 <xsl:with-param name="doctype-system" select="$doctype-system"/>
109 <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/>
110 <xsl:with-param name="content">
113 <title><xsl:value-of select="$title"/></title>
115 <frameset cols="{$toc.width},*" id="topframe">
116 <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/>
117 <frame src="{$titlefoil.html}" name="foil" id="foil"/>
119 <body class="frameset">
120 <xsl:call-template name="body.attributes"/>
121 <a href="{concat('titleframe', $html.ext)}">
122 <xsl:text>Your browser doesn't support frames.</xsl:text>
131 <xsl:call-template name="write.chunk">
132 <xsl:with-param name="indent" select="$output.indent"/>
133 <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/>
134 <xsl:with-param name="content">
137 <title>TOC - <xsl:value-of select="$title"/></title>
138 <xsl:call-template name="system.head.content"/>
139 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
140 <xsl:if test="$css.stylesheet != ''">
141 <link type="text/css" rel="stylesheet">
142 <xsl:attribute name="href">
143 <xsl:call-template name="css.stylesheet"/>
147 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
149 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0 or $overlay.logo != ''">
150 <script language="javascript" type="text/javascript">
151 <xsl:text> </xsl:text>
155 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
156 <xsl:call-template name="ua.js"/>
157 <xsl:call-template name="xbDOM.js">
158 <xsl:with-param name="language" select="'javascript'"/>
160 <xsl:call-template name="xbLibrary.js"/>
161 <script language="javascript" type="text/javascript">
162 <xsl:text disable-output-escaping="yes">
164 xblibrary = new xbLibrary('</xsl:text>
165 <xsl:call-template name="script-dir"/>
166 <xsl:text disable-output-escaping="yes">');
170 <xsl:call-template name="xbStyle.js"/>
171 <xsl:call-template name="xbCollapsibleLists.js"/>
172 <xsl:call-template name="slides.js">
173 <xsl:with-param name="language" select="'javascript'"/>
177 <xsl:if test="$overlay != '0' or $overlay.logo != ''">
178 <xsl:call-template name="overlay.js">
179 <xsl:with-param name="language" select="'javascript'"/>
183 <xsl:if test="$dynamic.toc != 0">
184 <script language="javascript" type="text/javascript">
185 <xsl:text disable-output-escaping="yes">
188 var width = </xsl:text>
189 <xsl:value-of select="$toc.width"/>
190 <xsl:text>, height = </xsl:text>
191 <xsl:value-of select="$toc.row.height"/>
193 myList = new List(true, width, height, "</xsl:text>
194 <xsl:value-of select="$toc.bg.color"/>
195 <xsl:text>","</xsl:text>
196 <xsl:call-template name="plus.image"/>
197 <xsl:text>","</xsl:text>
198 <xsl:call-template name="minus.image"/>
201 <xsl:apply-templates mode="ns-toc"/>
202 <xsl:text disable-output-escaping="yes">
208 <style type="text/css">
209 <xsl:text>#spacer { position: absolute; height: </xsl:text>
210 <xsl:value-of select="$toc.height"/>
216 <xsl:call-template name="user.head.content"/>
219 <xsl:call-template name="body.attributes"/>
221 <xsl:if test="$overlay.logo != ''">
222 <xsl:attribute name="onload">
223 <xsl:text>overlaySetup('ll');</xsl:text>
227 <xsl:if test="$dynamic.toc != 0">
228 <xsl:attribute name="onload">
229 <xsl:text>init(</xsl:text>
230 <xsl:value-of select="$overlay"/>
231 <xsl:text>);</xsl:text>
232 <xsl:if test="$overlay.logo != ''">
233 <xsl:text>overlaySetup('ll');</xsl:text>
239 <xsl:when test="$dynamic.toc = 0">
241 <xsl:apply-templates mode="toc"/>
249 <xsl:if test="$overlay.logo != ''">
250 <div style="position: absolute; visibility: visible;" id="overlayDiv">
251 <img src="{$overlay.logo}" alt="logo" vspace="20"/>
259 <xsl:apply-templates/>
262 <!-- ====================================================================== -->
264 <xsl:template match="slidesinfo">
265 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
267 <xsl:variable name="doctype-public">
268 <xsl:call-template name="doctype-public">
269 <xsl:with-param name="frameset" select="$multiframe"/>
273 <xsl:variable name="doctype-system">
274 <xsl:call-template name="doctype-system">
275 <xsl:with-param name="frameset" select="$multiframe"/>
279 <xsl:call-template name="write.chunk">
280 <xsl:with-param name="indent" select="$output.indent"/>
281 <xsl:with-param name="doctype-public" select="$doctype-public"/>
282 <xsl:with-param name="doctype-system" select="$doctype-system"/>
283 <xsl:with-param name="filename" select="concat($base.dir,$titlefoil.html)"/>
284 <xsl:with-param name="content">
287 <title><xsl:value-of select="title"/></title>
289 <xsl:call-template name="system.head.content">
290 <xsl:with-param name="node" select=".."/>
293 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
295 <xsl:if test="$css.stylesheet != ''">
296 <link type="text/css" rel="stylesheet">
297 <xsl:attribute name="href">
298 <xsl:call-template name="css.stylesheet"/>
302 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
304 <xsl:call-template name="links">
305 <xsl:with-param name="next" select="$next"/>
308 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
309 <script language="javascript" type="text/javascript">
310 <xsl:text> </xsl:text>
314 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
315 <xsl:call-template name="ua.js"/>
316 <xsl:call-template name="xbDOM.js">
317 <xsl:with-param name="language" select="'javascript'"/>
319 <xsl:call-template name="xbLibrary.js"/>
320 <script language="javascript" type="text/javascript">
321 <xsl:text disable-output-escaping="yes">
323 xblibrary = new xbLibrary('</xsl:text>
324 <xsl:call-template name="script-dir"/>
325 <xsl:text disable-output-escaping="yes">');
329 <xsl:call-template name="xbStyle.js"/>
330 <xsl:call-template name="xbCollapsibleLists.js"/>
331 <xsl:call-template name="slides.js">
332 <xsl:with-param name="language" select="'javascript'"/>
336 <xsl:if test="$overlay != '0'">
337 <xsl:call-template name="overlay.js">
338 <xsl:with-param name="language" select="'javascript'"/>
342 <xsl:call-template name="user.head.content">
343 <xsl:with-param name="node" select=".."/>
347 <xsl:when test="$multiframe != 0">
348 <xsl:apply-templates select="." mode="multiframe"/>
351 <xsl:apply-templates select="." mode="singleframe"/>
358 <xsl:if test="$multiframe != 0">
359 <xsl:apply-templates select="." mode="multiframe-top"/>
360 <xsl:apply-templates select="." mode="multiframe-body"/>
361 <xsl:apply-templates select="." mode="multiframe-bottom"/>
365 <xsl:template match="slidesinfo" mode="multiframe">
366 <xsl:variable name="thisfoil">
367 <xsl:value-of select="$titlefoil.html"/>
370 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
371 <xsl:attribute name="onload">
372 <xsl:text>javascript:body.focus()</xsl:text>
374 <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
376 <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
378 <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
381 <body class="frameset">
382 <xsl:call-template name="body.attributes"/>
384 <xsl:text>Your browser doesn't support frames.</xsl:text>
391 <xsl:template match="slidesinfo" mode="multiframe-top">
392 <xsl:variable name="thisfoil">
393 <xsl:value-of select="$titlefoil.html"/>
396 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
398 <xsl:call-template name="write.chunk">
399 <xsl:with-param name="indent" select="$output.indent"/>
400 <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
401 <xsl:with-param name="content">
404 <title>Navigation</title>
406 <xsl:call-template name="system.head.content">
407 <xsl:with-param name="node" select=".."/>
410 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
412 <xsl:if test="$css.stylesheet != ''">
413 <link type="text/css" rel="stylesheet">
414 <xsl:attribute name="href">
415 <xsl:call-template name="css.stylesheet"/>
419 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
421 <xsl:call-template name="links">
422 <xsl:with-param name="next" select="$next"/>
425 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
426 <script language="javascript" type="text/javascript">
427 <xsl:text> </xsl:text>
431 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
432 <xsl:call-template name="ua.js"/>
433 <xsl:call-template name="xbDOM.js">
434 <xsl:with-param name="language" select="'javascript'"/>
436 <xsl:call-template name="xbLibrary.js"/>
437 <script language="javascript" type="text/javascript">
438 <xsl:text disable-output-escaping="yes">
440 xblibrary = new xbLibrary('</xsl:text>
441 <xsl:call-template name="script-dir"/>
442 <xsl:text disable-output-escaping="yes">');
446 <xsl:call-template name="xbStyle.js"/>
447 <xsl:call-template name="xbCollapsibleLists.js"/>
448 <xsl:call-template name="slides.js">
449 <xsl:with-param name="language" select="'javascript'"/>
453 <xsl:if test="$overlay != '0' or $overlay.logo != ''">
454 <xsl:call-template name="overlay.js">
455 <xsl:with-param name="language" select="'javascript'"/>
459 <xsl:call-template name="user.head.content">
460 <xsl:with-param name="node" select=".."/>
463 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
464 <xsl:call-template name="foil-top-nav">
465 <xsl:with-param name="next" select="$next"/>
473 <xsl:template match="slidesinfo" mode="multiframe-body">
474 <xsl:variable name="thisfoil">
475 <xsl:value-of select="$titlefoil.html"/>
478 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
480 <xsl:call-template name="write.chunk">
481 <xsl:with-param name="indent" select="$output.indent"/>
482 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
483 <xsl:with-param name="content">
488 <xsl:call-template name="system.head.content">
489 <xsl:with-param name="node" select=".."/>
492 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
494 <xsl:if test="$css.stylesheet != ''">
495 <link type="text/css" rel="stylesheet">
496 <xsl:attribute name="href">
497 <xsl:call-template name="css.stylesheet"/>
501 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
503 <xsl:call-template name="links">
504 <xsl:with-param name="next" select="$next"/>
507 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
508 <script language="javascript" type="text/javascript">
509 <xsl:text> </xsl:text>
513 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
514 <xsl:call-template name="ua.js"/>
515 <xsl:call-template name="xbDOM.js">
516 <xsl:with-param name="language" select="'javascript'"/>
518 <xsl:call-template name="xbLibrary.js"/>
519 <script language="javascript" type="text/javascript">
520 <xsl:text disable-output-escaping="yes">
522 xblibrary = new xbLibrary('</xsl:text>
523 <xsl:call-template name="script-dir"/>
524 <xsl:text disable-output-escaping="yes">');
528 <xsl:call-template name="xbStyle.js"/>
529 <xsl:call-template name="xbCollapsibleLists.js"/>
530 <xsl:call-template name="slides.js">
531 <xsl:with-param name="language" select="'javascript'"/>
535 <xsl:call-template name="user.head.content">
536 <xsl:with-param name="node" select=".."/>
539 <xsl:apply-templates select="." mode="singleframe"/>
545 <xsl:template match="slidesinfo" mode="multiframe-bottom">
546 <xsl:variable name="thisfoil">
547 <xsl:value-of select="$titlefoil.html"/>
550 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
552 <xsl:call-template name="write.chunk">
553 <xsl:with-param name="indent" select="$output.indent"/>
554 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
555 <xsl:with-param name="content">
558 <title>Navigation</title>
560 <xsl:call-template name="system.head.content">
561 <xsl:with-param name="node" select=".."/>
564 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
566 <xsl:if test="$css.stylesheet != ''">
567 <link type="text/css" rel="stylesheet">
568 <xsl:attribute name="href">
569 <xsl:call-template name="css.stylesheet"/>
573 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
575 <xsl:call-template name="links">
576 <xsl:with-param name="next" select="$next"/>
579 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
580 <script language="javascript" type="text/javascript">
581 <xsl:text> </xsl:text>
585 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
586 <xsl:call-template name="ua.js"/>
587 <xsl:call-template name="xbDOM.js">
588 <xsl:with-param name="language" select="'javascript'"/>
590 <xsl:call-template name="xbLibrary.js"/>
591 <script language="javascript" type="text/javascript">
592 <xsl:text disable-output-escaping="yes">
594 xblibrary = new xbLibrary('</xsl:text>
595 <xsl:call-template name="script-dir"/>
596 <xsl:text disable-output-escaping="yes">');
600 <xsl:call-template name="xbStyle.js"/>
601 <xsl:call-template name="xbCollapsibleLists.js"/>
602 <xsl:call-template name="slides.js">
603 <xsl:with-param name="language" select="'javascript'"/>
607 <xsl:if test="$overlay != '0'">
608 <xsl:call-template name="overlay.js">
609 <xsl:with-param name="language" select="'javascript'"/>
613 <xsl:call-template name="user.head.content">
614 <xsl:with-param name="node" select=".."/>
617 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
618 <xsl:call-template name="foil-bottom-nav">
619 <xsl:with-param name="next" select="$next"/>
627 <xsl:template match="slidesinfo" mode="singleframe">
628 <xsl:param name="thisfoil">
629 <xsl:value-of select="$titlefoil.html"/>
632 <xsl:variable name="id">
633 <xsl:call-template name="object.id"/>
636 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
638 <body class="titlepage">
639 <xsl:call-template name="body.attributes"/>
641 <xsl:when test="$active.toc != 0">
642 <xsl:attribute name="onload">
643 <xsl:text>newPage('</xsl:text>
644 <xsl:value-of select="$titlefoil.html"/>
645 <xsl:text>',</xsl:text>
646 <xsl:value-of select="$overlay"/>
647 <xsl:text>);</xsl:text>
650 <xsl:when test="$overlay != 0">
651 <xsl:attribute name="onload">
652 <xsl:text>overlaySetup('lc');</xsl:text>
657 <xsl:if test="$keyboard.nav != 0">
658 <xsl:attribute name="onload">
659 <xsl:text>this.focus()</xsl:text>
661 <xsl:attribute name="onkeypress">
662 <xsl:text>navigate(event)</xsl:text>
666 <div class="{name(.)}">
667 <xsl:apply-templates mode="titlepage.mode"/>
670 <xsl:if test="$multiframe=0">
671 <div id="overlayDiv" class="navfoot">
673 <xsl:when test="$overlay != 0">
674 <xsl:attribute name="style">
675 <xsl:text>position:absolute;visibility:visible;</xsl:text>
679 <xsl:attribute name="style">
680 <xsl:text>padding-top: 2in;</xsl:text>
685 <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
687 <td align="left" width="80%" valign="top">
688 <span class="navfooter">
689 <!-- suppress copyright here; it's probably already on the titlepage
690 <xsl:apply-templates select="/slides/slidesinfo/copyright"
691 mode="slide.footer.mode"/>
693 <xsl:text> </xsl:text>
696 <td align="right" width="20%" valign="top">
698 <xsl:attribute name="href">
699 <xsl:apply-templates select="$next" mode="filename"/>
701 <img alt="{$text.next}" border="0">
702 <xsl:attribute name="src">
703 <xsl:call-template name="next.image"/>
715 <!-- ====================================================================== -->
717 <xsl:template name="top-nav">
718 <xsl:param name="home"/>
719 <xsl:param name="up"/>
720 <xsl:param name="next"/>
721 <xsl:param name="prev"/>
722 <xsl:param name="tocfile" select="$toc.html"/>
724 <div class="navhead">
725 <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
727 <td align="left" valign="bottom" width="10%">
729 <xsl:when test="$prev">
730 <span class="link-text">
732 <xsl:attribute name="href">
733 <xsl:apply-templates select="$prev" mode="filename"/>
735 <xsl:if test="$multiframe != 0">
736 <xsl:attribute name="target">foil</xsl:attribute>
738 <img alt="{$text.prev}" border="0">
739 <xsl:attribute name="src">
740 <xsl:call-template name="prev.image"/>
747 <span class="no-link-text"> </span>
750 <xsl:text> </xsl:text>
752 <td width="80%" align="center" valign="bottom">
753 <xsl:call-template name="foil.number"/>
755 <td align="right" valign="bottom" width="10%">
757 <xsl:when test="$next">
758 <span class="link-text">
760 <xsl:attribute name="href">
761 <xsl:apply-templates select="$next" mode="filename"/>
763 <xsl:if test="$multiframe != 0">
764 <xsl:attribute name="target">foil</xsl:attribute>
766 <img alt="{$text.next}" border="0">
767 <xsl:attribute name="src">
768 <xsl:call-template name="next.image"/>
775 <span class="no-link-text"> </span>
778 <xsl:text> </xsl:text>
782 <hr class="top-nav-sep"/>
786 <xsl:template name="bottom-nav">
787 <xsl:param name="home"/>
788 <xsl:param name="up"/>
789 <xsl:param name="next"/>
790 <xsl:param name="prev"/>
791 <xsl:param name="tocfile" select="$toc.html"/>
793 <div class="navfoot">
794 <hr class="bottom-nav-sep"/>
795 <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
797 <td align="left" valign="top">
798 <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
799 <xsl:text> </xsl:text>
802 <td align="right" valign="top">
804 <xsl:when test="$prev">
805 <span class="link-text">
807 <xsl:attribute name="href">
808 <xsl:apply-templates select="$prev" mode="filename"/>
810 <xsl:if test="$multiframe != 0">
811 <xsl:attribute name="target">foil</xsl:attribute>
813 <img alt="{$text.prev}" border="0">
814 <xsl:attribute name="src">
815 <xsl:call-template name="prev.image"/>
822 <span class="no-link-text"> </span>
825 <xsl:text> </xsl:text>
828 <xsl:when test="$next">
829 <span class="link-text">
831 <xsl:attribute name="href">
832 <xsl:apply-templates select="$next" mode="filename"/>
834 <xsl:if test="$multiframe != 0">
835 <xsl:attribute name="target">foil</xsl:attribute>
837 <img alt="{$text.next}" border="0">
838 <xsl:attribute name="src">
839 <xsl:call-template name="next.image"/>
846 <span class="no-link-text"> </span>
849 <xsl:text> </xsl:text>
856 <!-- ====================================================================== -->
858 <xsl:template match="foilgroup">
859 <xsl:param name="thisfoilgroup">
860 <xsl:apply-templates select="." mode="filename"/>
863 <xsl:variable name="doctype-public">
864 <xsl:call-template name="doctype-public">
865 <xsl:with-param name="frameset" select="$multiframe"/>
869 <xsl:variable name="doctype-system">
870 <xsl:call-template name="doctype-system">
871 <xsl:with-param name="frameset" select="$multiframe"/>
875 <xsl:variable name="home" select="/slides"/>
876 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
877 <xsl:variable name="next" select="foil[1]"/>
878 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
879 <xsl:call-template name="write.chunk">
880 <xsl:with-param name="indent" select="$output.indent"/>
881 <xsl:with-param name="doctype-public" select="$doctype-public"/>
882 <xsl:with-param name="doctype-system" select="$doctype-system"/>
883 <xsl:with-param name="filename" select="concat($base.dir,$thisfoilgroup)"/>
884 <xsl:with-param name="content">
887 <title><xsl:value-of select="title"/></title>
889 <xsl:call-template name="system.head.content"/>
891 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
893 <xsl:if test="$css.stylesheet != ''">
894 <link type="text/css" rel="stylesheet">
895 <xsl:attribute name="href">
896 <xsl:call-template name="css.stylesheet"/>
900 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
902 <xsl:call-template name="links">
903 <xsl:with-param name="home" select="$home"/>
904 <xsl:with-param name="up" select="$up"/>
905 <xsl:with-param name="next" select="$next"/>
906 <xsl:with-param name="prev" select="$prev"/>
909 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
910 <script language="javascript" type="text/javascript">
911 <xsl:text> </xsl:text>
915 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
916 <xsl:call-template name="ua.js"/>
917 <xsl:call-template name="xbDOM.js">
918 <xsl:with-param name="language" select="'javascript'"/>
920 <xsl:call-template name="xbLibrary.js"/>
921 <script language="javascript" type="text/javascript">
922 <xsl:text disable-output-escaping="yes">
924 xblibrary = new xbLibrary('</xsl:text>
925 <xsl:call-template name="script-dir"/>
926 <xsl:text disable-output-escaping="yes">');
930 <xsl:call-template name="xbStyle.js"/>
931 <xsl:call-template name="xbCollapsibleLists.js"/>
932 <xsl:call-template name="slides.js">
933 <xsl:with-param name="language" select="'javascript'"/>
937 <xsl:if test="$overlay != '0'">
938 <xsl:call-template name="overlay.js">
939 <xsl:with-param name="language" select="'javascript'"/>
943 <xsl:call-template name="user.head.content"/>
946 <xsl:when test="$multiframe != 0">
947 <xsl:apply-templates select="." mode="multiframe"/>
950 <xsl:apply-templates select="." mode="singleframe"/>
957 <xsl:if test="$multiframe != 0">
958 <xsl:apply-templates select="." mode="multiframe-top"/>
959 <xsl:apply-templates select="." mode="multiframe-body"/>
960 <xsl:apply-templates select="." mode="multiframe-bottom"/>
963 <xsl:apply-templates select="foil"/>
966 <xsl:template match="foilgroup" mode="multiframe">
967 <xsl:variable name="thisfoilgroup">
968 <xsl:text>foilgroup</xsl:text>
969 <xsl:number count="foilgroup" level="any" format="01"/>
970 <xsl:value-of select="$html.ext"/>
973 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
974 <xsl:attribute name="onload">
975 <xsl:text>javascript:body.focus()</xsl:text>
977 <frame src="top-{$thisfoilgroup}" name="top" id="top" marginheight="0" frameborder="0"/>
978 <frame src="body-{$thisfoilgroup}" name="body" id="body" marginheight="0" frameborder="0"/>
979 <frame src="bot-{$thisfoilgroup}" name="bottom" id="bottom" marginheight="0" frameborder="0"/>
981 <body class="frameset">
982 <xsl:call-template name="body.attributes"/>
984 <xsl:text>Your browser doesn't support frames.</xsl:text>
991 <xsl:template match="foilgroup" mode="multiframe-top">
992 <xsl:variable name="foilgroup">
993 <xsl:text>foilgroup</xsl:text>
994 <xsl:number count="foilgroup" level="any" format="01"/>
995 <xsl:value-of select="$html.ext"/>
998 <xsl:variable name="home" select="/slides"/>
999 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1000 <xsl:variable name="next" select="foil[1]"/>
1001 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1003 <xsl:call-template name="write.chunk">
1004 <xsl:with-param name="indent" select="$output.indent"/>
1005 <xsl:with-param name="filename" select="concat($base.dir,'top-',$foilgroup)"/>
1006 <xsl:with-param name="content">
1009 <title>Navigation</title>
1011 <xsl:call-template name="system.head.content"/>
1013 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1015 <xsl:if test="$css.stylesheet != ''">
1016 <link type="text/css" rel="stylesheet">
1017 <xsl:attribute name="href">
1018 <xsl:call-template name="css.stylesheet"/>
1022 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1024 <xsl:call-template name="links">
1025 <xsl:with-param name="home" select="$home"/>
1026 <xsl:with-param name="up" select="$up"/>
1027 <xsl:with-param name="next" select="$next"/>
1028 <xsl:with-param name="prev" select="$prev"/>
1029 </xsl:call-template>
1031 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1032 <script language="javascript" type="text/javascript">
1033 <xsl:text> </xsl:text>
1037 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1038 <xsl:call-template name="ua.js"/>
1039 <xsl:call-template name="xbDOM.js">
1040 <xsl:with-param name="language" select="'javascript'"/>
1041 </xsl:call-template>
1042 <xsl:call-template name="xbLibrary.js"/>
1043 <xsl:call-template name="xbStyle.js"/>
1044 <xsl:call-template name="xbCollapsibleLists.js"/>
1045 <xsl:call-template name="slides.js">
1046 <xsl:with-param name="language" select="'javascript'"/>
1047 </xsl:call-template>
1050 <xsl:if test="$overlay != '0'">
1051 <xsl:call-template name="overlay.js">
1052 <xsl:with-param name="language" select="'javascript'"/>
1053 </xsl:call-template>
1056 <xsl:call-template name="user.head.content"/>
1058 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
1059 <xsl:call-template name="foilgroup-top-nav">
1060 <xsl:with-param name="home" select="$home"/>
1061 <xsl:with-param name="up" select="$up"/>
1062 <xsl:with-param name="next" select="$next"/>
1063 <xsl:with-param name="prev" select="$prev"/>
1064 </xsl:call-template>
1068 </xsl:call-template>
1071 <xsl:template match="foilgroup" mode="multiframe-body">
1072 <xsl:variable name="id">
1073 <xsl:call-template name="object.id"/>
1076 <xsl:variable name="home" select="/slides"/>
1077 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1078 <xsl:variable name="next" select="foil[1]"/>
1079 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1081 <xsl:variable name="thisfoilgroup">
1082 <xsl:text>foilgroup</xsl:text>
1083 <xsl:number count="foilgroup" level="any" format="01"/>
1084 <xsl:value-of select="$html.ext"/>
1087 <xsl:call-template name="write.chunk">
1088 <xsl:with-param name="indent" select="$output.indent"/>
1089 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoilgroup)"/>
1090 <xsl:with-param name="content">
1095 <xsl:call-template name="system.head.content"/>
1097 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1099 <xsl:if test="$css.stylesheet != ''">
1100 <link type="text/css" rel="stylesheet">
1101 <xsl:attribute name="href">
1102 <xsl:call-template name="css.stylesheet"/>
1106 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1108 <xsl:call-template name="links">
1109 <xsl:with-param name="home" select="$home"/>
1110 <xsl:with-param name="up" select="$up"/>
1111 <xsl:with-param name="next" select="$next"/>
1112 <xsl:with-param name="prev" select="$prev"/>
1113 </xsl:call-template>
1115 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1116 <script language="javascript" type="text/javascript">
1117 <xsl:text> </xsl:text>
1121 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1122 <xsl:call-template name="ua.js"/>
1123 <xsl:call-template name="xbDOM.js">
1124 <xsl:with-param name="language" select="'javascript'"/>
1125 </xsl:call-template>
1126 <xsl:call-template name="xbLibrary.js"/>
1127 <script language="javascript" type="text/javascript">
1128 <xsl:text disable-output-escaping="yes">
1130 xblibrary = new xbLibrary('</xsl:text>
1131 <xsl:call-template name="script-dir"/>
1132 <xsl:text disable-output-escaping="yes">');
1136 <xsl:call-template name="xbStyle.js"/>
1137 <xsl:call-template name="xbCollapsibleLists.js"/>
1138 <xsl:call-template name="slides.js">
1139 <xsl:with-param name="language" select="'javascript'"/>
1140 </xsl:call-template>
1143 <xsl:if test="$overlay != '0'">
1144 <xsl:call-template name="overlay.js">
1145 <xsl:with-param name="language" select="'javascript'"/>
1146 </xsl:call-template>
1149 <xsl:call-template name="user.head.content"/>
1151 <xsl:apply-templates select="." mode="singleframe"/>
1154 </xsl:call-template>
1157 <xsl:template match="foilgroup" mode="multiframe-bottom">
1158 <xsl:variable name="thisfoilgroup">
1159 <xsl:text>foilgroup</xsl:text>
1160 <xsl:number count="foilgroup" level="any" format="01"/>
1161 <xsl:value-of select="$html.ext"/>
1164 <xsl:variable name="home" select="/slides"/>
1165 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1166 <xsl:variable name="next" select="foil[1]"/>
1167 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1169 <xsl:call-template name="write.chunk">
1170 <xsl:with-param name="indent" select="$output.indent"/>
1171 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoilgroup)"/>
1172 <xsl:with-param name="content">
1175 <title>Navigation</title>
1177 <xsl:call-template name="system.head.content"/>
1179 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1181 <xsl:if test="$css.stylesheet != ''">
1182 <link type="text/css" rel="stylesheet">
1183 <xsl:attribute name="href">
1184 <xsl:call-template name="css.stylesheet"/>
1188 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1190 <xsl:call-template name="links">
1191 <xsl:with-param name="home" select="$home"/>
1192 <xsl:with-param name="up" select="$up"/>
1193 <xsl:with-param name="next" select="$next"/>
1194 <xsl:with-param name="prev" select="$prev"/>
1195 </xsl:call-template>
1197 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1198 <script language="javascript" type="text/javascript">
1199 <xsl:text> </xsl:text>
1203 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1204 <xsl:call-template name="ua.js"/>
1205 <xsl:call-template name="xbDOM.js">
1206 <xsl:with-param name="language" select="'javascript'"/>
1207 </xsl:call-template>
1208 <xsl:call-template name="xbLibrary.js"/>
1209 <script language="javascript" type="text/javascript">
1210 <xsl:text disable-output-escaping="yes">
1212 xblibrary = new xbLibrary('</xsl:text>
1213 <xsl:call-template name="script-dir"/>
1214 <xsl:text disable-output-escaping="yes">');
1218 <xsl:call-template name="xbStyle.js"/>
1219 <xsl:call-template name="xbCollapsibleLists.js"/>
1220 <xsl:call-template name="slides.js">
1221 <xsl:with-param name="language" select="'javascript'"/>
1222 </xsl:call-template>
1225 <xsl:if test="$overlay != '0'">
1226 <xsl:call-template name="overlay.js">
1227 <xsl:with-param name="language" select="'javascript'"/>
1228 </xsl:call-template>
1231 <xsl:call-template name="user.head.content"/>
1233 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
1234 <xsl:call-template name="foilgroup-bottom-nav">
1235 <xsl:with-param name="home" select="$home"/>
1236 <xsl:with-param name="up" select="$up"/>
1237 <xsl:with-param name="next" select="$next"/>
1238 <xsl:with-param name="prev" select="$prev"/>
1239 </xsl:call-template>
1243 </xsl:call-template>
1246 <xsl:template match="foilgroup" mode="singleframe">
1247 <xsl:param name="thisfoilgroup">
1248 <xsl:apply-templates select="." mode="filename"/>
1251 <xsl:variable name="id">
1252 <xsl:call-template name="object.id"/>
1255 <xsl:variable name="home" select="/slides"/>
1256 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1257 <xsl:variable name="next" select="foil[1]"/>
1258 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1259 <body class="foilgroup">
1260 <xsl:call-template name="body.attributes"/>
1262 <xsl:when test="$active.toc != 0">
1263 <xsl:attribute name="onload">
1264 <xsl:text>newPage('</xsl:text>
1265 <xsl:value-of select="$thisfoilgroup"/>
1266 <xsl:text>',</xsl:text>
1267 <xsl:value-of select="$overlay"/>
1268 <xsl:text>);</xsl:text>
1271 <xsl:when test="$overlay != 0">
1272 <xsl:attribute name="onload">
1273 <xsl:text>overlaySetup('lc');</xsl:text>
1279 <xsl:if test="$keyboard.nav != 0">
1280 <xsl:attribute name="onkeypress">
1281 <xsl:text>navigate(event)</xsl:text>
1285 <div class="{name(.)}" id="{$id}">
1286 <xsl:if test="$multiframe=0">
1287 <xsl:call-template name="foilgroup-top-nav">
1288 <xsl:with-param name="home" select="$home"/>
1289 <xsl:with-param name="up" select="$up"/>
1290 <xsl:with-param name="next" select="$next"/>
1291 <xsl:with-param name="prev" select="$prev"/>
1292 </xsl:call-template>
1295 <div class="foilgroup-body" id="{$id}">
1296 <xsl:call-template name="foilgroup-body">
1297 <xsl:with-param name="home" select="$home"/>
1298 <xsl:with-param name="up" select="$up"/>
1299 <xsl:with-param name="next" select="$next"/>
1300 <xsl:with-param name="prev" select="$prev"/>
1301 </xsl:call-template>
1304 <xsl:if test="$multiframe=0">
1305 <div id="overlayDiv">
1306 <xsl:if test="$overlay != 0">
1307 <xsl:attribute name="style">
1308 <xsl:text>position:absolute;visibility:visible;</xsl:text>
1311 <xsl:call-template name="foilgroup-bottom-nav">
1312 <xsl:with-param name="home" select="$home"/>
1313 <xsl:with-param name="up" select="$up"/>
1314 <xsl:with-param name="next" select="$next"/>
1315 <xsl:with-param name="prev" select="$prev"/>
1316 </xsl:call-template>
1321 <xsl:call-template name="process.footnotes"/>
1325 <!-- ====================================================================== -->
1327 <xsl:template match="foil">
1328 <xsl:variable name="thisfoil">
1329 <xsl:apply-templates select="." mode="filename"/>
1332 <xsl:variable name="home" select="/slides"/>
1333 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1334 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
1335 <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
1337 <xsl:variable name="doctype-public">
1338 <xsl:call-template name="doctype-public">
1339 <xsl:with-param name="frameset" select="$multiframe"/>
1340 </xsl:call-template>
1343 <xsl:variable name="doctype-system">
1344 <xsl:call-template name="doctype-system">
1345 <xsl:with-param name="frameset" select="$multiframe"/>
1346 </xsl:call-template>
1349 <xsl:call-template name="write.chunk">
1350 <xsl:with-param name="indent" select="$output.indent"/>
1351 <xsl:with-param name="doctype-public" select="$doctype-public"/>
1352 <xsl:with-param name="doctype-system" select="$doctype-system"/>
1353 <xsl:with-param name="filename" select="concat($base.dir,$thisfoil)"/>
1354 <xsl:with-param name="content">
1357 <title><xsl:value-of select="title"/></title>
1359 <xsl:call-template name="system.head.content"/>
1361 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1363 <xsl:if test="$css.stylesheet != ''">
1364 <link type="text/css" rel="stylesheet">
1365 <xsl:attribute name="href">
1366 <xsl:call-template name="css.stylesheet"/>
1370 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1372 <xsl:call-template name="links">
1373 <xsl:with-param name="home" select="$home"/>
1374 <xsl:with-param name="up" select="$up"/>
1375 <xsl:with-param name="next" select="$next"/>
1376 <xsl:with-param name="prev" select="$prev"/>
1377 </xsl:call-template>
1379 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1380 <script language="javascript" type="text/javascript">
1381 <xsl:text> </xsl:text>
1385 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1386 <xsl:call-template name="ua.js"/>
1387 <xsl:call-template name="xbDOM.js">
1388 <xsl:with-param name="language" select="'javascript'"/>
1389 </xsl:call-template>
1390 <xsl:call-template name="xbLibrary.js"/>
1391 <script language="javascript" type="text/javascript">
1392 <xsl:text disable-output-escaping="yes">
1394 xblibrary = new xbLibrary('</xsl:text>
1395 <xsl:call-template name="script-dir"/>
1396 <xsl:text disable-output-escaping="yes">');
1400 <xsl:call-template name="xbStyle.js"/>
1401 <xsl:call-template name="xbCollapsibleLists.js"/>
1402 <xsl:call-template name="slides.js">
1403 <xsl:with-param name="language" select="'javascript'"/>
1404 </xsl:call-template>
1407 <xsl:if test="$overlay != '0'">
1408 <xsl:call-template name="overlay.js">
1409 <xsl:with-param name="language" select="'javascript'"/>
1410 </xsl:call-template>
1413 <xsl:call-template name="user.head.content"/>
1416 <xsl:when test="$multiframe != 0">
1417 <xsl:apply-templates select="." mode="multiframe"/>
1420 <xsl:apply-templates select="." mode="singleframe"/>
1425 </xsl:call-template>
1427 <xsl:if test="$multiframe != 0">
1428 <xsl:apply-templates select="." mode="multiframe-top"/>
1429 <xsl:apply-templates select="." mode="multiframe-body"/>
1430 <xsl:apply-templates select="." mode="multiframe-bottom"/>
1434 <xsl:template match="foil" mode="multiframe">
1435 <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
1437 <xsl:variable name="thisfoil">
1438 <xsl:apply-templates select="." mode="filename"/>
1441 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
1442 <xsl:attribute name="onload">
1443 <xsl:text>javascript:body.focus()</xsl:text>
1445 <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
1447 <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
1449 <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
1452 <body class="frameset">
1453 <xsl:call-template name="body.attributes"/>
1455 <xsl:text>Your browser doesn't support frames.</xsl:text>
1462 <xsl:template match="foil" mode="multiframe-top">
1463 <xsl:variable name="thisfoil">
1464 <xsl:apply-templates select="." mode="filename"/>
1467 <xsl:variable name="home" select="/slides"/>
1468 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1469 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
1470 <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
1472 <xsl:call-template name="write.chunk">
1473 <xsl:with-param name="indent" select="$output.indent"/>
1474 <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
1475 <xsl:with-param name="content">
1478 <title>Navigation</title>
1480 <xsl:call-template name="system.head.content"/>
1482 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1484 <xsl:if test="$css.stylesheet != ''">
1485 <link type="text/css" rel="stylesheet">
1486 <xsl:attribute name="href">
1487 <xsl:call-template name="css.stylesheet"/>
1491 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1493 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1494 <script language="javajcript" type="text/javascript">
1495 <xsl:text> </xsl:text>
1499 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1500 <xsl:call-template name="ua.js"/>
1501 <xsl:call-template name="xbDOM.js">
1502 <xsl:with-param name="language" select="'javascript'"/>
1503 </xsl:call-template>
1504 <xsl:call-template name="xbLibrary.js"/>
1505 <script language="javascript" type="text/javascript">
1506 <xsl:text disable-output-escaping="yes">
1508 xblibrary = new xbLibrary('</xsl:text>
1509 <xsl:call-template name="script-dir"/>
1510 <xsl:text disable-output-escaping="yes">');
1514 <xsl:call-template name="xbStyle.js"/>
1515 <xsl:call-template name="xbCollapsibleLists.js"/>
1516 <xsl:call-template name="slides.js">
1517 <xsl:with-param name="language" select="'javascript'"/>
1518 </xsl:call-template>
1521 <xsl:if test="$overlay != '0'">
1522 <xsl:call-template name="overlay.js">
1523 <xsl:with-param name="language" select="'javascript'"/>
1524 </xsl:call-template>
1527 <xsl:call-template name="user.head.content"/>
1529 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
1530 <xsl:call-template name="foil-top-nav">
1531 <xsl:with-param name="home" select="$home"/>
1532 <xsl:with-param name="up" select="$up"/>
1533 <xsl:with-param name="next" select="$next"/>
1534 <xsl:with-param name="prev" select="$prev"/>
1535 </xsl:call-template>
1539 </xsl:call-template>
1542 <xsl:template match="foil" mode="multiframe-body">
1543 <xsl:variable name="thisfoil">
1544 <xsl:apply-templates select="." mode="filename"/>
1547 <xsl:call-template name="write.chunk">
1548 <xsl:with-param name="indent" select="$output.indent"/>
1549 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
1550 <xsl:with-param name="content">
1555 <xsl:call-template name="system.head.content"/>
1557 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1559 <xsl:if test="$css.stylesheet != ''">
1560 <link type="text/css" rel="stylesheet">
1561 <xsl:attribute name="href">
1562 <xsl:call-template name="css.stylesheet"/>
1566 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1568 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1569 <script language="javascript" type="text/javascript">
1570 <xsl:text> </xsl:text>
1574 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1575 <xsl:variable name="home" select="/slides"/>
1576 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1577 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
1578 <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
1580 <xsl:call-template name="links">
1581 <xsl:with-param name="home" select="$home"/>
1582 <xsl:with-param name="up" select="$up"/>
1583 <xsl:with-param name="next" select="$next"/>
1584 <xsl:with-param name="prev" select="$prev"/>
1585 </xsl:call-template>
1587 <xsl:call-template name="ua.js"/>
1588 <xsl:call-template name="xbDOM.js">
1589 <xsl:with-param name="language" select="'javascript'"/>
1590 </xsl:call-template>
1591 <xsl:call-template name="xbLibrary.js"/>
1592 <script language="javascript" type="text/javascript">
1593 <xsl:text disable-output-escaping="yes">
1595 xblibrary = new xbLibrary('</xsl:text>
1596 <xsl:call-template name="script-dir"/>
1597 <xsl:text disable-output-escaping="yes">');
1601 <xsl:call-template name="xbStyle.js"/>
1602 <xsl:call-template name="xbCollapsibleLists.js"/>
1603 <xsl:call-template name="slides.js">
1604 <xsl:with-param name="language" select="'javascript'"/>
1605 </xsl:call-template>
1608 <xsl:if test="$overlay != '0'">
1609 <xsl:call-template name="overlay.js">
1610 <xsl:with-param name="language" select="'javascript'"/>
1611 </xsl:call-template>
1614 <xsl:call-template name="user.head.content"/>
1617 <xsl:apply-templates select="." mode="singleframe"/>
1620 </xsl:call-template>
1623 <xsl:template match="foil" mode="multiframe-bottom">
1624 <xsl:variable name="thisfoil">
1625 <xsl:apply-templates select="." mode="filename"/>
1628 <xsl:variable name="home" select="/slides"/>
1629 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1630 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
1631 <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
1633 <xsl:call-template name="write.chunk">
1634 <xsl:with-param name="indent" select="$output.indent"/>
1635 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
1636 <xsl:with-param name="content">
1639 <title>Navigation</title>
1641 <xsl:call-template name="system.head.content"/>
1643 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1645 <xsl:if test="$css.stylesheet != ''">
1646 <link type="text/css" rel="stylesheet">
1647 <xsl:attribute name="href">
1648 <xsl:call-template name="css.stylesheet"/>
1652 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1654 <xsl:if test="$overlay != 0 or $keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1655 <script language="javascript" type="text/javascript">
1656 <xsl:text> </xsl:text>
1660 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1661 <xsl:call-template name="ua.js"/>
1662 <xsl:call-template name="xbDOM.js">
1663 <xsl:with-param name="language" select="'javascript'"/>
1664 </xsl:call-template>
1665 <xsl:call-template name="xbLibrary.js"/>
1666 <script language="javascript" type="text/javascript">
1667 <xsl:text disable-output-escaping="yes">
1669 xblibrary = new xbLibrary('</xsl:text>
1670 <xsl:call-template name="script-dir"/>
1671 <xsl:text disable-output-escaping="yes">');
1675 <xsl:call-template name="xbStyle.js"/>
1676 <xsl:call-template name="xbCollapsibleLists.js"/>
1677 <xsl:call-template name="slides.js">
1678 <xsl:with-param name="language" select="'javascript'"/>
1679 </xsl:call-template>
1682 <xsl:if test="$overlay != '0'">
1683 <xsl:call-template name="overlay.js">
1684 <xsl:with-param name="language" select="'javascript'"/>
1685 </xsl:call-template>
1688 <xsl:call-template name="user.head.content"/>
1690 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
1691 <xsl:call-template name="foil-bottom-nav">
1692 <xsl:with-param name="home" select="$home"/>
1693 <xsl:with-param name="up" select="$up"/>
1694 <xsl:with-param name="next" select="$next"/>
1695 <xsl:with-param name="prev" select="$prev"/>
1696 </xsl:call-template>
1700 </xsl:call-template>
1703 <xsl:template match="foil" mode="singleframe">
1704 <xsl:param name="thisfoil">
1705 <xsl:apply-templates select="." mode="filename"/>
1708 <xsl:variable name="id">
1709 <xsl:call-template name="object.id"/>
1712 <xsl:variable name="home" select="/slides"/>
1713 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1714 <xsl:variable name="next" select="(following::foil |following::foilgroup)[1]"/>
1715 <xsl:variable name="prev" select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]"/>
1718 <xsl:call-template name="body.attributes"/>
1720 <xsl:when test="$active.toc != 0">
1721 <xsl:attribute name="onload">
1722 <xsl:text>newPage('</xsl:text>
1723 <xsl:value-of select="$thisfoil"/>
1724 <xsl:text>',</xsl:text>
1725 <xsl:value-of select="$overlay"/>
1726 <xsl:text>);</xsl:text>
1729 <xsl:when test="$overlay != 0">
1730 <xsl:attribute name="onload">
1731 <xsl:text>overlaySetup('lc');</xsl:text>
1736 <xsl:if test="$keyboard.nav != 0">
1737 <xsl:attribute name="onkeypress">
1738 <xsl:text>navigate(event)</xsl:text>
1742 <div class="{name(.)}" id="{$id}">
1743 <xsl:if test="$multiframe=0">
1744 <xsl:call-template name="foil-top-nav">
1745 <xsl:with-param name="home" select="$home"/>
1746 <xsl:with-param name="up" select="$up"/>
1747 <xsl:with-param name="next" select="$next"/>
1748 <xsl:with-param name="prev" select="$prev"/>
1749 </xsl:call-template>
1752 <div class="foil-body">
1753 <xsl:apply-templates/>
1756 <xsl:if test="$multiframe=0">
1757 <div id="overlayDiv">
1758 <xsl:if test="$overlay != 0">
1759 <xsl:attribute name="style">
1760 <xsl:text>position:absolute;visibility:visible;</xsl:text>
1763 <xsl:call-template name="foil-bottom-nav">
1764 <xsl:with-param name="home" select="$home"/>
1765 <xsl:with-param name="up" select="$up"/>
1766 <xsl:with-param name="next" select="$next"/>
1767 <xsl:with-param name="prev" select="$prev"/>
1768 </xsl:call-template>
1773 <xsl:call-template name="process.footnotes"/>
1777 <!-- ============================================================ -->
1779 <xsl:template match="slidesinfo" mode="toc">
1780 <xsl:variable name="id">
1781 <xsl:call-template name="object.id"/>
1783 <div id="{$id}" class="toc-slidesinfo">
1784 <a href="{$titlefoil.html}" target="foil">
1786 <xsl:when test="titleabbrev">
1787 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1790 <xsl:apply-templates select="title" mode="toc"/>
1798 <xsl:template match="foilgroup" mode="toc">
1799 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1801 <xsl:variable name="thisfoilgroup">
1802 <xsl:text>foilgroup</xsl:text>
1803 <xsl:number count="foilgroup" level="any" format="01"/>
1804 <xsl:value-of select="$html.ext"/>
1807 <div class="toc-foilgroup" id="{$id}">
1809 <xsl:attribute name="src">
1810 <xsl:call-template name="minus.image"/>
1813 <a href="{$thisfoilgroup}" target="foil">
1815 <xsl:when test="titleabbrev">
1816 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1819 <xsl:apply-templates select="title" mode="toc"/>
1823 <xsl:apply-templates select="foil" mode="toc"/>
1827 <xsl:template match="foil" mode="toc">
1828 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1829 <xsl:variable name="foil">
1830 <xsl:apply-templates select="." mode="filename"/>
1833 <div id="{$id}" class="toc-foil">
1835 <xsl:attribute name="src">
1836 <xsl:call-template name="bullet.image"/>
1839 <a href="{$foil}" target="foil">
1841 <xsl:when test="titleabbrev">
1842 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1845 <xsl:apply-templates select="title" mode="toc"/>
1852 <!-- ====================================================================== -->
1854 <xsl:template match="slidesinfo" mode="ns-toc">
1855 <xsl:variable name="id">
1856 <xsl:call-template name="object.id"/>
1859 <xsl:text>myList.addItem('</xsl:text>
1861 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1862 <xsl:value-of select="$id"/>
1863 <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"></xsl:text>
1865 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1866 <xsl:value-of select="$titlefoil.html"/>
1867 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1869 <xsl:call-template name="string.subst">
1870 <xsl:with-param name="string">
1872 <xsl:when test="titleabbrev">
1873 <xsl:value-of select="titleabbrev"/>
1876 <xsl:value-of select="title"/>
1880 <xsl:with-param name="target">'</xsl:with-param>
1881 <xsl:with-param name="replacement">\'</xsl:with-param>
1882 </xsl:call-template>
1884 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
1889 <xsl:template match="foilgroup" mode="ns-toc">
1890 <xsl:variable name="id">
1891 <xsl:call-template name="object.id"/>
1894 <xsl:text>subList = new List(false, width, height, "</xsl:text>
1895 <xsl:value-of select="$toc.bg.color"/>
1898 <xsl:text>subList.setIndent(12);
1900 <xsl:apply-templates select="foil" mode="ns-toc"/>
1902 <xsl:text>myList.addList(subList, '</xsl:text>
1904 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1905 <xsl:value-of select="$id"/>
1906 <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"></xsl:text>
1908 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1909 <xsl:apply-templates select="." mode="filename"/>
1910 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1912 <xsl:call-template name="string.subst">
1913 <xsl:with-param name="string">
1915 <xsl:when test="titleabbrev">
1916 <xsl:value-of select="titleabbrev"/>
1919 <xsl:value-of select="title"/>
1923 <xsl:with-param name="target">'</xsl:with-param>
1924 <xsl:with-param name="replacement">\'</xsl:with-param>
1925 </xsl:call-template>
1927 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
1932 <xsl:template match="foil" mode="ns-toc">
1933 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1936 <xsl:when test="ancestor::foilgroup">
1937 <xsl:text>subList.addItem('</xsl:text>
1940 <xsl:text>myList.addItem('</xsl:text>
1944 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1945 <xsl:value-of select="$id"/>
1946 <xsl:text disable-output-escaping="yes">" class="toc-foil"></xsl:text>
1948 <xsl:text disable-output-escaping="yes"><img alt="-" src="</xsl:text>
1949 <xsl:call-template name="bullet.image"/>
1950 <xsl:text disable-output-escaping="yes">"><\/img></xsl:text>
1952 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1953 <xsl:apply-templates select="." mode="filename"/>
1954 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1956 <xsl:call-template name="string.subst">
1957 <xsl:with-param name="string">
1959 <xsl:when test="titleabbrev">
1960 <xsl:value-of select="titleabbrev"/>
1963 <xsl:value-of select="title"/>
1967 <xsl:with-param name="target">'</xsl:with-param>
1968 <xsl:with-param name="replacement">\'</xsl:with-param>
1969 </xsl:call-template>
1971 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
1976 <xsl:template match="speakernotes" mode="ns-toc">
1980 <!-- ====================================================================== -->