2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 <xsl:import href="slides-common.xsl"/>
7 <xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/>
9 <xsl:param name="css.stylesheet" select="'slides-frames.css'"/>
11 <!-- ====================================================================== -->
13 <xsl:template name="doctype-public">
14 <xsl:param name="frameset" select="0"/>
16 <xsl:when test="$stylesheet.result.type='html'">
18 <!-- Assume when chunker.output.doctype-public is set the user
19 wants to have doctypes written out. If frameset is set
20 then overide with a frameset public identifier. -->
21 <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0">
22 <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text>
25 <xsl:value-of select="$chunker.output.doctype-public"/>
29 <xsl:when test="$stylesheet.result.type='xhtml'">
31 <xsl:when test="$frameset != 0">
32 <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text>
35 <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text>
42 <xsl:template name="doctype-system">
43 <xsl:param name="frameset" select="0"/>
45 <xsl:when test="$stylesheet.result.type='html'">
47 <!-- Assume when chunker.output.doctype-system is set the user
48 wants to have doctypes written out. If frameset is set
49 then overide with a frameset system identifier. -->
50 <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0">
51 <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text>
54 <xsl:value-of select="$chunker.output.doctype-system"/>
58 <xsl:when test="$stylesheet.result.type='xhtml'">
60 <xsl:when test="$frameset != 0">
61 <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text>
64 <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text>
71 <!-- ====================================================================== -->
73 <xsl:template match="slides">
74 <xsl:variable name="title">
76 <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)">
77 <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/>
80 <xsl:value-of select="(slidesinfo/title|title)[1]"/>
84 <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/>
85 <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/>
87 <xsl:if test="$overlay != 0 and $multiframe != 0">
88 <xsl:message terminate='yes'>
89 <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text>
93 <xsl:variable name="doctype-public">
94 <xsl:call-template name="doctype-public">
95 <xsl:with-param name="frameset" select="1"/>
98 <xsl:variable name="doctype-system">
99 <xsl:call-template name="doctype-system">
100 <xsl:with-param name="frameset" select="1"/>
104 <xsl:call-template name="write.chunk">
105 <xsl:with-param name="indent" select="$output.indent"/>
106 <xsl:with-param name="doctype-public" select="$doctype-public"/>
107 <xsl:with-param name="doctype-system" select="$doctype-system"/>
108 <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/>
109 <xsl:with-param name="content">
112 <title><xsl:value-of select="$title"/></title>
114 <frameset cols="{$toc.width},*" id="topframe">
115 <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/>
116 <frame src="{$titlefoil.html}" name="foil" id="foil"/>
118 <body class="frameset">
119 <xsl:call-template name="body.attributes"/>
120 <a href="{concat('titleframe', $html.ext)}">
121 <xsl:text>Your browser doesn't support frames.</xsl:text>
130 <xsl:call-template name="write.chunk">
131 <xsl:with-param name="indent" select="$output.indent"/>
132 <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/>
133 <xsl:with-param name="content">
136 <title>TOC - <xsl:value-of select="$title"/></title>
137 <xsl:call-template name="system.head.content"/>
138 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
139 <xsl:if test="$css.stylesheet != ''">
140 <link type="text/css" rel="stylesheet">
141 <xsl:attribute name="href">
142 <xsl:call-template name="css.stylesheet"/>
146 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
148 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
149 or $dynamic.toc != 0 or $active.toc != 0
150 or $overlay.logo != ''">
151 <script language="javascript" type="text/javascript">
152 <xsl:text> </xsl:text>
156 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
157 <xsl:call-template name="ua.js"/>
158 <xsl:call-template name="xbDOM.js">
159 <xsl:with-param name="language" select="'javascript'"/>
161 <xsl:call-template name="xbLibrary.js"/>
162 <script language="javascript" type="text/javascript">
163 <xsl:text disable-output-escaping="yes">
165 xblibrary = new xbLibrary('</xsl:text>
166 <xsl:call-template name="script-dir"/>
167 <xsl:text disable-output-escaping="yes">');
171 <xsl:call-template name="xbStyle.js"/>
172 <xsl:call-template name="xbCollapsibleLists.js"/>
173 <xsl:call-template name="slides.js">
174 <xsl:with-param name="language" select="'javascript'"/>
178 <xsl:if test="$overlay != '0' or $overlay.logo != ''">
179 <xsl:call-template name="overlay.js">
180 <xsl:with-param name="language" select="'javascript'"/>
184 <xsl:if test="$dynamic.toc != 0">
185 <script language="javascript" type="text/javascript">
186 <xsl:text disable-output-escaping="yes">
189 var width = </xsl:text>
190 <xsl:value-of select="$toc.width"/>
191 <xsl:text>, height = </xsl:text>
192 <xsl:value-of select="$toc.row.height"/>
194 myList = new List(true, width, height, "</xsl:text>
195 <xsl:value-of select="$toc.bg.color"/>
196 <xsl:text>","</xsl:text>
197 <xsl:call-template name="plus.image"/>
198 <xsl:text>","</xsl:text>
199 <xsl:call-template name="minus.image"/>
202 <xsl:apply-templates mode="ns-toc"/>
203 <xsl:text disable-output-escaping="yes">
209 <style type="text/css">
210 <xsl:text>#spacer { position: absolute; height: </xsl:text>
211 <xsl:value-of select="$toc.height"/>
217 <xsl:call-template name="user.head.content"/>
220 <xsl:call-template name="body.attributes"/>
222 <xsl:if test="$overlay.logo != ''">
223 <xsl:attribute name="onload">
224 <xsl:text>overlaySetup('ll');</xsl:text>
228 <xsl:if test="$dynamic.toc != 0">
229 <xsl:attribute name="onload">
230 <xsl:text>init(</xsl:text>
231 <xsl:value-of select="$overlay"/>
232 <xsl:text>);</xsl:text>
233 <xsl:if test="$overlay.logo != ''">
234 <xsl:text>overlaySetup('ll');</xsl:text>
240 <xsl:when test="$dynamic.toc = 0">
242 <xsl:apply-templates mode="toc"/>
250 <xsl:if test="$overlay.logo != ''">
251 <div style="position: absolute; visibility: visible;" id="overlayDiv">
252 <img src="{$overlay.logo}" alt="logo" vspace="20"/>
260 <xsl:apply-templates/>
263 <!-- ====================================================================== -->
265 <xsl:template match="slidesinfo">
266 <xsl:variable name="next" select="(following::foil
267 |following::foilgroup)[1]"/>
269 <xsl:variable name="doctype-public">
270 <xsl:call-template name="doctype-public">
271 <xsl:with-param name="frameset" select="$multiframe"/>
275 <xsl:variable name="doctype-system">
276 <xsl:call-template name="doctype-system">
277 <xsl:with-param name="frameset" select="$multiframe"/>
281 <xsl:call-template name="write.chunk">
282 <xsl:with-param name="indent" select="$output.indent"/>
283 <xsl:with-param name="doctype-public" select="$doctype-public"/>
284 <xsl:with-param name="doctype-system" select="$doctype-system"/>
285 <xsl:with-param name="filename"
286 select="concat($base.dir,$titlefoil.html)"/>
287 <xsl:with-param name="content">
290 <title><xsl:value-of select="title"/></title>
292 <xsl:call-template name="system.head.content">
293 <xsl:with-param name="node" select=".."/>
296 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
298 <xsl:if test="$css.stylesheet != ''">
299 <link type="text/css" rel="stylesheet">
300 <xsl:attribute name="href">
301 <xsl:call-template name="css.stylesheet"/>
305 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
307 <xsl:call-template name="links">
308 <xsl:with-param name="next" select="$next"/>
311 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
312 or $dynamic.toc != 0 or $active.toc != 0">
313 <script language="javascript" type="text/javascript">
314 <xsl:text> </xsl:text>
318 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
319 <xsl:call-template name="ua.js"/>
320 <xsl:call-template name="xbDOM.js">
321 <xsl:with-param name="language" select="'javascript'"/>
323 <xsl:call-template name="xbLibrary.js"/>
324 <script language="javascript" type="text/javascript">
325 <xsl:text disable-output-escaping="yes">
327 xblibrary = new xbLibrary('</xsl:text>
328 <xsl:call-template name="script-dir"/>
329 <xsl:text disable-output-escaping="yes">');
333 <xsl:call-template name="xbStyle.js"/>
334 <xsl:call-template name="xbCollapsibleLists.js"/>
335 <xsl:call-template name="slides.js">
336 <xsl:with-param name="language" select="'javascript'"/>
340 <xsl:if test="$overlay != '0'">
341 <xsl:call-template name="overlay.js">
342 <xsl:with-param name="language" select="'javascript'"/>
346 <xsl:call-template name="user.head.content">
347 <xsl:with-param name="node" select=".."/>
351 <xsl:when test="$multiframe != 0">
352 <xsl:apply-templates select="." mode="multiframe"/>
355 <xsl:apply-templates select="." mode="singleframe"/>
362 <xsl:if test="$multiframe != 0">
363 <xsl:apply-templates select="." mode="multiframe-top"/>
364 <xsl:apply-templates select="." mode="multiframe-body"/>
365 <xsl:apply-templates select="." mode="multiframe-bottom"/>
369 <xsl:template match="slidesinfo" mode="multiframe">
370 <xsl:variable name="thisfoil">
371 <xsl:value-of select="$titlefoil.html"/>
374 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
375 <xsl:attribute name="onload">
376 <xsl:text>javascript:body.focus()</xsl:text>
378 <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
380 <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
382 <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
385 <body class="frameset">
386 <xsl:call-template name="body.attributes"/>
388 <xsl:text>Your browser doesn't support frames.</xsl:text>
395 <xsl:template match="slidesinfo" mode="multiframe-top">
396 <xsl:variable name="thisfoil">
397 <xsl:value-of select="$titlefoil.html"/>
400 <xsl:variable name="next" select="(following::foil
401 |following::foilgroup)[1]"/>
403 <xsl:call-template name="write.chunk">
404 <xsl:with-param name="indent" select="$output.indent"/>
405 <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
406 <xsl:with-param name="content">
409 <title>Navigation</title>
411 <xsl:call-template name="system.head.content">
412 <xsl:with-param name="node" select=".."/>
415 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
417 <xsl:if test="$css.stylesheet != ''">
418 <link type="text/css" rel="stylesheet">
419 <xsl:attribute name="href">
420 <xsl:call-template name="css.stylesheet"/>
424 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
426 <xsl:call-template name="links">
427 <xsl:with-param name="next" select="$next"/>
430 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
431 or $dynamic.toc != 0 or $active.toc != 0">
432 <script language="javascript" type="text/javascript">
433 <xsl:text> </xsl:text>
437 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
438 <xsl:call-template name="ua.js"/>
439 <xsl:call-template name="xbDOM.js">
440 <xsl:with-param name="language" select="'javascript'"/>
442 <xsl:call-template name="xbLibrary.js"/>
443 <script language="javascript" type="text/javascript">
444 <xsl:text disable-output-escaping="yes">
446 xblibrary = new xbLibrary('</xsl:text>
447 <xsl:call-template name="script-dir"/>
448 <xsl:text disable-output-escaping="yes">');
452 <xsl:call-template name="xbStyle.js"/>
453 <xsl:call-template name="xbCollapsibleLists.js"/>
454 <xsl:call-template name="slides.js">
455 <xsl:with-param name="language" select="'javascript'"/>
459 <xsl:if test="$overlay != '0' or $overlay.logo != ''">
460 <xsl:call-template name="overlay.js">
461 <xsl:with-param name="language" select="'javascript'"/>
465 <xsl:call-template name="user.head.content">
466 <xsl:with-param name="node" select=".."/>
469 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
470 <xsl:call-template name="foil-top-nav">
471 <xsl:with-param name="next" select="$next"/>
479 <xsl:template match="slidesinfo" mode="multiframe-body">
480 <xsl:variable name="thisfoil">
481 <xsl:value-of select="$titlefoil.html"/>
484 <xsl:variable name="next" select="(following::foil
485 |following::foilgroup)[1]"/>
487 <xsl:call-template name="write.chunk">
488 <xsl:with-param name="indent" select="$output.indent"/>
489 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
490 <xsl:with-param name="content">
495 <xsl:call-template name="system.head.content">
496 <xsl:with-param name="node" select=".."/>
499 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
501 <xsl:if test="$css.stylesheet != ''">
502 <link type="text/css" rel="stylesheet">
503 <xsl:attribute name="href">
504 <xsl:call-template name="css.stylesheet"/>
508 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
510 <xsl:call-template name="links">
511 <xsl:with-param name="next" select="$next"/>
514 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
515 or $dynamic.toc != 0 or $active.toc != 0">
516 <script language="javascript" type="text/javascript">
517 <xsl:text> </xsl:text>
521 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
522 <xsl:call-template name="ua.js"/>
523 <xsl:call-template name="xbDOM.js">
524 <xsl:with-param name="language" select="'javascript'"/>
526 <xsl:call-template name="xbLibrary.js"/>
527 <script language="javascript" type="text/javascript">
528 <xsl:text disable-output-escaping="yes">
530 xblibrary = new xbLibrary('</xsl:text>
531 <xsl:call-template name="script-dir"/>
532 <xsl:text disable-output-escaping="yes">');
536 <xsl:call-template name="xbStyle.js"/>
537 <xsl:call-template name="xbCollapsibleLists.js"/>
538 <xsl:call-template name="slides.js">
539 <xsl:with-param name="language" select="'javascript'"/>
543 <xsl:call-template name="user.head.content">
544 <xsl:with-param name="node" select=".."/>
547 <xsl:apply-templates select="." mode="singleframe"/>
553 <xsl:template match="slidesinfo" mode="multiframe-bottom">
554 <xsl:variable name="thisfoil">
555 <xsl:value-of select="$titlefoil.html"/>
558 <xsl:variable name="next" select="(following::foil
559 |following::foilgroup)[1]"/>
561 <xsl:call-template name="write.chunk">
562 <xsl:with-param name="indent" select="$output.indent"/>
563 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
564 <xsl:with-param name="content">
567 <title>Navigation</title>
569 <xsl:call-template name="system.head.content">
570 <xsl:with-param name="node" select=".."/>
573 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
575 <xsl:if test="$css.stylesheet != ''">
576 <link type="text/css" rel="stylesheet">
577 <xsl:attribute name="href">
578 <xsl:call-template name="css.stylesheet"/>
582 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
584 <xsl:call-template name="links">
585 <xsl:with-param name="next" select="$next"/>
588 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
589 or $dynamic.toc != 0 or $active.toc != 0">
590 <script language="javascript" type="text/javascript">
591 <xsl:text> </xsl:text>
595 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
596 <xsl:call-template name="ua.js"/>
597 <xsl:call-template name="xbDOM.js">
598 <xsl:with-param name="language" select="'javascript'"/>
600 <xsl:call-template name="xbLibrary.js"/>
601 <script language="javascript" type="text/javascript">
602 <xsl:text disable-output-escaping="yes">
604 xblibrary = new xbLibrary('</xsl:text>
605 <xsl:call-template name="script-dir"/>
606 <xsl:text disable-output-escaping="yes">');
610 <xsl:call-template name="xbStyle.js"/>
611 <xsl:call-template name="xbCollapsibleLists.js"/>
612 <xsl:call-template name="slides.js">
613 <xsl:with-param name="language" select="'javascript'"/>
617 <xsl:if test="$overlay != '0'">
618 <xsl:call-template name="overlay.js">
619 <xsl:with-param name="language" select="'javascript'"/>
623 <xsl:call-template name="user.head.content">
624 <xsl:with-param name="node" select=".."/>
627 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
628 <xsl:call-template name="foil-bottom-nav">
629 <xsl:with-param name="next" select="$next"/>
637 <xsl:template match="slidesinfo" mode="singleframe">
638 <xsl:param name="thisfoil">
639 <xsl:value-of select="$titlefoil.html"/>
642 <xsl:variable name="id">
643 <xsl:call-template name="object.id"/>
646 <xsl:variable name="next" select="(following::foil
647 |following::foilgroup)[1]"/>
649 <body class="titlepage">
650 <xsl:call-template name="body.attributes"/>
652 <xsl:when test="$active.toc != 0">
653 <xsl:attribute name="onload">
654 <xsl:text>newPage('</xsl:text>
655 <xsl:value-of select="$titlefoil.html"/>
656 <xsl:text>',</xsl:text>
657 <xsl:value-of select="$overlay"/>
658 <xsl:text>);</xsl:text>
661 <xsl:when test="$overlay != 0">
662 <xsl:attribute name="onload">
663 <xsl:text>overlaySetup('lc');</xsl:text>
668 <xsl:if test="$keyboard.nav != 0">
669 <xsl:attribute name="onload">
670 <xsl:text>this.focus()</xsl:text>
672 <xsl:attribute name="onkeypress">
673 <xsl:text>navigate(event)</xsl:text>
677 <div class="{name(.)}">
678 <xsl:apply-templates mode="titlepage.mode"/>
681 <xsl:if test="$multiframe=0">
682 <div id="overlayDiv" class="navfoot">
684 <xsl:when test="$overlay != 0">
685 <xsl:attribute name="style">
686 <xsl:text>position:absolute;visibility:visible;</xsl:text>
690 <xsl:attribute name="style">
691 <xsl:text>padding-top: 2in;</xsl:text>
696 <table width="100%" border="0"
697 cellspacing="0" cellpadding="0"
698 summary="Navigation">
700 <td align="left" width="80%" valign="top">
701 <span class="navfooter">
702 <!-- suppress copyright here; it's probably already on the titlepage
703 <xsl:apply-templates select="/slides/slidesinfo/copyright"
704 mode="slide.footer.mode"/>
706 <xsl:text> </xsl:text>
709 <td align="right" width="20%" valign="top">
711 <xsl:attribute name="href">
712 <xsl:apply-templates select="$next" mode="filename"/>
714 <img alt="{$text.next}" border="0">
715 <xsl:attribute name="src">
716 <xsl:call-template name="next.image"/>
728 <!-- ====================================================================== -->
730 <xsl:template name="top-nav">
731 <xsl:param name="home"/>
732 <xsl:param name="up"/>
733 <xsl:param name="next"/>
734 <xsl:param name="prev"/>
735 <xsl:param name="tocfile" select="$toc.html"/>
737 <div class="navhead">
738 <table border="0" width="100%" cellspacing="0" cellpadding="0"
739 summary="Navigation table">
741 <td align="left" valign="bottom" width="10%">
743 <xsl:when test="$prev">
744 <span class="link-text">
746 <xsl:attribute name="href">
747 <xsl:apply-templates select="$prev" mode="filename"/>
749 <xsl:if test="$multiframe != 0">
750 <xsl:attribute name="target">foil</xsl:attribute>
752 <img alt="{$text.prev}" border="0">
753 <xsl:attribute name="src">
754 <xsl:call-template name="prev.image"/>
761 <span class="no-link-text"> </span>
764 <xsl:text> </xsl:text>
766 <td width="80%" align="center" valign="bottom">
767 <xsl:call-template name="foil.number"/>
769 <td align="right" valign="bottom" width="10%">
771 <xsl:when test="$next">
772 <span class="link-text">
774 <xsl:attribute name="href">
775 <xsl:apply-templates select="$next" mode="filename"/>
777 <xsl:if test="$multiframe != 0">
778 <xsl:attribute name="target">foil</xsl:attribute>
780 <img alt="{$text.next}" border="0">
781 <xsl:attribute name="src">
782 <xsl:call-template name="next.image"/>
789 <span class="no-link-text"> </span>
792 <xsl:text> </xsl:text>
796 <hr class="top-nav-sep"/>
800 <xsl:template name="bottom-nav">
801 <xsl:param name="home"/>
802 <xsl:param name="up"/>
803 <xsl:param name="next"/>
804 <xsl:param name="prev"/>
805 <xsl:param name="tocfile" select="$toc.html"/>
807 <div class="navfoot">
808 <hr class="bottom-nav-sep"/>
809 <table border="0" width="100%" cellspacing="0" cellpadding="0"
810 summary="Navigation table">
812 <td align="left" valign="top">
813 <xsl:apply-templates select="/slides/slidesinfo/copyright"
814 mode="slide.footer.mode"/>
815 <xsl:text> </xsl:text>
818 <td align="right" valign="top">
820 <xsl:when test="$prev">
821 <span class="link-text">
823 <xsl:attribute name="href">
824 <xsl:apply-templates select="$prev" mode="filename"/>
826 <xsl:if test="$multiframe != 0">
827 <xsl:attribute name="target">foil</xsl:attribute>
829 <img alt="{$text.prev}" border="0">
830 <xsl:attribute name="src">
831 <xsl:call-template name="prev.image"/>
838 <span class="no-link-text"> </span>
841 <xsl:text> </xsl:text>
844 <xsl:when test="$next">
845 <span class="link-text">
847 <xsl:attribute name="href">
848 <xsl:apply-templates select="$next" mode="filename"/>
850 <xsl:if test="$multiframe != 0">
851 <xsl:attribute name="target">foil</xsl:attribute>
853 <img alt="{$text.next}" border="0">
854 <xsl:attribute name="src">
855 <xsl:call-template name="next.image"/>
862 <span class="no-link-text"> </span>
865 <xsl:text> </xsl:text>
872 <!-- ====================================================================== -->
874 <xsl:template match="foilgroup">
875 <xsl:param name="thisfoilgroup">
876 <xsl:apply-templates select="." mode="filename"/>
879 <xsl:variable name="doctype-public">
880 <xsl:call-template name="doctype-public">
881 <xsl:with-param name="frameset" select="$multiframe"/>
885 <xsl:variable name="doctype-system">
886 <xsl:call-template name="doctype-system">
887 <xsl:with-param name="frameset" select="$multiframe"/>
891 <xsl:variable name="home" select="/slides"/>
892 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
893 <xsl:variable name="next" select="foil[1]"/>
894 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
895 <xsl:call-template name="write.chunk">
896 <xsl:with-param name="indent" select="$output.indent"/>
897 <xsl:with-param name="doctype-public" select="$doctype-public"/>
898 <xsl:with-param name="doctype-system" select="$doctype-system"/>
899 <xsl:with-param name="filename" select="concat($base.dir,$thisfoilgroup)"/>
900 <xsl:with-param name="content">
903 <title><xsl:value-of select="title"/></title>
905 <xsl:call-template name="system.head.content"/>
907 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
909 <xsl:if test="$css.stylesheet != ''">
910 <link type="text/css" rel="stylesheet">
911 <xsl:attribute name="href">
912 <xsl:call-template name="css.stylesheet"/>
916 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
918 <xsl:call-template name="links">
919 <xsl:with-param name="home" select="$home"/>
920 <xsl:with-param name="up" select="$up"/>
921 <xsl:with-param name="next" select="$next"/>
922 <xsl:with-param name="prev" select="$prev"/>
925 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
926 or $dynamic.toc != 0 or $active.toc != 0">
927 <script language="javascript" type="text/javascript">
928 <xsl:text> </xsl:text>
932 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
933 <xsl:call-template name="ua.js"/>
934 <xsl:call-template name="xbDOM.js">
935 <xsl:with-param name="language" select="'javascript'"/>
937 <xsl:call-template name="xbLibrary.js"/>
938 <script language="javascript" type="text/javascript">
939 <xsl:text disable-output-escaping="yes">
941 xblibrary = new xbLibrary('</xsl:text>
942 <xsl:call-template name="script-dir"/>
943 <xsl:text disable-output-escaping="yes">');
947 <xsl:call-template name="xbStyle.js"/>
948 <xsl:call-template name="xbCollapsibleLists.js"/>
949 <xsl:call-template name="slides.js">
950 <xsl:with-param name="language" select="'javascript'"/>
954 <xsl:if test="$overlay != '0'">
955 <xsl:call-template name="overlay.js">
956 <xsl:with-param name="language" select="'javascript'"/>
960 <xsl:call-template name="user.head.content"/>
963 <xsl:when test="$multiframe != 0">
964 <xsl:apply-templates select="." mode="multiframe"/>
967 <xsl:apply-templates select="." mode="singleframe"/>
974 <xsl:if test="$multiframe != 0">
975 <xsl:apply-templates select="." mode="multiframe-top"/>
976 <xsl:apply-templates select="." mode="multiframe-body"/>
977 <xsl:apply-templates select="." mode="multiframe-bottom"/>
980 <xsl:apply-templates select="foil"/>
983 <xsl:template match="foilgroup" mode="multiframe">
984 <xsl:variable name="thisfoilgroup">
985 <xsl:text>foilgroup</xsl:text>
986 <xsl:number count="foilgroup" level="any" format="01"/>
987 <xsl:value-of select="$html.ext"/>
990 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
991 <xsl:attribute name="onload">
992 <xsl:text>javascript:body.focus()</xsl:text>
994 <frame src="top-{$thisfoilgroup}" name="top" id="top" marginheight="0" frameborder="0"/>
995 <frame src="body-{$thisfoilgroup}" name="body" id="body" marginheight="0" frameborder="0"/>
996 <frame src="bot-{$thisfoilgroup}" name="bottom" id="bottom" marginheight="0" frameborder="0"/>
998 <body class="frameset">
999 <xsl:call-template name="body.attributes"/>
1001 <xsl:text>Your browser doesn't support frames.</xsl:text>
1008 <xsl:template match="foilgroup" mode="multiframe-top">
1009 <xsl:variable name="foilgroup">
1010 <xsl:text>foilgroup</xsl:text>
1011 <xsl:number count="foilgroup" level="any" format="01"/>
1012 <xsl:value-of select="$html.ext"/>
1015 <xsl:variable name="home" select="/slides"/>
1016 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1017 <xsl:variable name="next" select="foil[1]"/>
1018 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1020 <xsl:call-template name="write.chunk">
1021 <xsl:with-param name="indent" select="$output.indent"/>
1022 <xsl:with-param name="filename" select="concat($base.dir,'top-',$foilgroup)"/>
1023 <xsl:with-param name="content">
1026 <title>Navigation</title>
1028 <xsl:call-template name="system.head.content"/>
1030 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1032 <xsl:if test="$css.stylesheet != ''">
1033 <link type="text/css" rel="stylesheet">
1034 <xsl:attribute name="href">
1035 <xsl:call-template name="css.stylesheet"/>
1039 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1041 <xsl:call-template name="links">
1042 <xsl:with-param name="home" select="$home"/>
1043 <xsl:with-param name="up" select="$up"/>
1044 <xsl:with-param name="next" select="$next"/>
1045 <xsl:with-param name="prev" select="$prev"/>
1046 </xsl:call-template>
1048 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1049 or $dynamic.toc != 0 or $active.toc != 0">
1050 <script language="javascript" type="text/javascript">
1051 <xsl:text> </xsl:text>
1055 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1056 <xsl:call-template name="ua.js"/>
1057 <xsl:call-template name="xbDOM.js">
1058 <xsl:with-param name="language" select="'javascript'"/>
1059 </xsl:call-template>
1060 <xsl:call-template name="xbLibrary.js"/>
1061 <xsl:call-template name="xbStyle.js"/>
1062 <xsl:call-template name="xbCollapsibleLists.js"/>
1063 <xsl:call-template name="slides.js">
1064 <xsl:with-param name="language" select="'javascript'"/>
1065 </xsl:call-template>
1068 <xsl:if test="$overlay != '0'">
1069 <xsl:call-template name="overlay.js">
1070 <xsl:with-param name="language" select="'javascript'"/>
1071 </xsl:call-template>
1074 <xsl:call-template name="user.head.content"/>
1076 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
1077 <xsl:call-template name="foilgroup-top-nav">
1078 <xsl:with-param name="home" select="$home"/>
1079 <xsl:with-param name="up" select="$up"/>
1080 <xsl:with-param name="next" select="$next"/>
1081 <xsl:with-param name="prev" select="$prev"/>
1082 </xsl:call-template>
1086 </xsl:call-template>
1089 <xsl:template match="foilgroup" mode="multiframe-body">
1090 <xsl:variable name="id">
1091 <xsl:call-template name="object.id"/>
1094 <xsl:variable name="home" select="/slides"/>
1095 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1096 <xsl:variable name="next" select="foil[1]"/>
1097 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1099 <xsl:variable name="thisfoilgroup">
1100 <xsl:text>foilgroup</xsl:text>
1101 <xsl:number count="foilgroup" level="any" format="01"/>
1102 <xsl:value-of select="$html.ext"/>
1105 <xsl:call-template name="write.chunk">
1106 <xsl:with-param name="indent" select="$output.indent"/>
1107 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoilgroup)"/>
1108 <xsl:with-param name="content">
1113 <xsl:call-template name="system.head.content"/>
1115 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1117 <xsl:if test="$css.stylesheet != ''">
1118 <link type="text/css" rel="stylesheet">
1119 <xsl:attribute name="href">
1120 <xsl:call-template name="css.stylesheet"/>
1124 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1126 <xsl:call-template name="links">
1127 <xsl:with-param name="home" select="$home"/>
1128 <xsl:with-param name="up" select="$up"/>
1129 <xsl:with-param name="next" select="$next"/>
1130 <xsl:with-param name="prev" select="$prev"/>
1131 </xsl:call-template>
1133 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1134 or $dynamic.toc != 0 or $active.toc != 0">
1135 <script language="javascript" type="text/javascript">
1136 <xsl:text> </xsl:text>
1140 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1141 <xsl:call-template name="ua.js"/>
1142 <xsl:call-template name="xbDOM.js">
1143 <xsl:with-param name="language" select="'javascript'"/>
1144 </xsl:call-template>
1145 <xsl:call-template name="xbLibrary.js"/>
1146 <script language="javascript" type="text/javascript">
1147 <xsl:text disable-output-escaping="yes">
1149 xblibrary = new xbLibrary('</xsl:text>
1150 <xsl:call-template name="script-dir"/>
1151 <xsl:text disable-output-escaping="yes">');
1155 <xsl:call-template name="xbStyle.js"/>
1156 <xsl:call-template name="xbCollapsibleLists.js"/>
1157 <xsl:call-template name="slides.js">
1158 <xsl:with-param name="language" select="'javascript'"/>
1159 </xsl:call-template>
1162 <xsl:if test="$overlay != '0'">
1163 <xsl:call-template name="overlay.js">
1164 <xsl:with-param name="language" select="'javascript'"/>
1165 </xsl:call-template>
1168 <xsl:call-template name="user.head.content"/>
1170 <xsl:apply-templates select="." mode="singleframe"/>
1173 </xsl:call-template>
1176 <xsl:template match="foilgroup" mode="multiframe-bottom">
1177 <xsl:variable name="thisfoilgroup">
1178 <xsl:text>foilgroup</xsl:text>
1179 <xsl:number count="foilgroup" level="any" format="01"/>
1180 <xsl:value-of select="$html.ext"/>
1183 <xsl:variable name="home" select="/slides"/>
1184 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1185 <xsl:variable name="next" select="foil[1]"/>
1186 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1188 <xsl:call-template name="write.chunk">
1189 <xsl:with-param name="indent" select="$output.indent"/>
1190 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoilgroup)"/>
1191 <xsl:with-param name="content">
1194 <title>Navigation</title>
1196 <xsl:call-template name="system.head.content"/>
1198 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1200 <xsl:if test="$css.stylesheet != ''">
1201 <link type="text/css" rel="stylesheet">
1202 <xsl:attribute name="href">
1203 <xsl:call-template name="css.stylesheet"/>
1207 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1209 <xsl:call-template name="links">
1210 <xsl:with-param name="home" select="$home"/>
1211 <xsl:with-param name="up" select="$up"/>
1212 <xsl:with-param name="next" select="$next"/>
1213 <xsl:with-param name="prev" select="$prev"/>
1214 </xsl:call-template>
1216 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1217 or $dynamic.toc != 0 or $active.toc != 0">
1218 <script language="javascript" type="text/javascript">
1219 <xsl:text> </xsl:text>
1223 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1224 <xsl:call-template name="ua.js"/>
1225 <xsl:call-template name="xbDOM.js">
1226 <xsl:with-param name="language" select="'javascript'"/>
1227 </xsl:call-template>
1228 <xsl:call-template name="xbLibrary.js"/>
1229 <script language="javascript" type="text/javascript">
1230 <xsl:text disable-output-escaping="yes">
1232 xblibrary = new xbLibrary('</xsl:text>
1233 <xsl:call-template name="script-dir"/>
1234 <xsl:text disable-output-escaping="yes">');
1238 <xsl:call-template name="xbStyle.js"/>
1239 <xsl:call-template name="xbCollapsibleLists.js"/>
1240 <xsl:call-template name="slides.js">
1241 <xsl:with-param name="language" select="'javascript'"/>
1242 </xsl:call-template>
1245 <xsl:if test="$overlay != '0'">
1246 <xsl:call-template name="overlay.js">
1247 <xsl:with-param name="language" select="'javascript'"/>
1248 </xsl:call-template>
1251 <xsl:call-template name="user.head.content"/>
1253 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
1254 <xsl:call-template name="foilgroup-bottom-nav">
1255 <xsl:with-param name="home" select="$home"/>
1256 <xsl:with-param name="up" select="$up"/>
1257 <xsl:with-param name="next" select="$next"/>
1258 <xsl:with-param name="prev" select="$prev"/>
1259 </xsl:call-template>
1263 </xsl:call-template>
1266 <xsl:template match="foilgroup" mode="singleframe">
1267 <xsl:param name="thisfoilgroup">
1268 <xsl:apply-templates select="." mode="filename"/>
1271 <xsl:variable name="id">
1272 <xsl:call-template name="object.id"/>
1275 <xsl:variable name="home" select="/slides"/>
1276 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1277 <xsl:variable name="next" select="foil[1]"/>
1278 <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
1279 <body class="foilgroup">
1280 <xsl:call-template name="body.attributes"/>
1282 <xsl:when test="$active.toc != 0">
1283 <xsl:attribute name="onload">
1284 <xsl:text>newPage('</xsl:text>
1285 <xsl:value-of select="$thisfoilgroup"/>
1286 <xsl:text>',</xsl:text>
1287 <xsl:value-of select="$overlay"/>
1288 <xsl:text>);</xsl:text>
1291 <xsl:when test="$overlay != 0">
1292 <xsl:attribute name="onload">
1293 <xsl:text>overlaySetup('lc');</xsl:text>
1299 <xsl:if test="$keyboard.nav != 0">
1300 <xsl:attribute name="onkeypress">
1301 <xsl:text>navigate(event)</xsl:text>
1305 <div class="{name(.)}" id="{$id}">
1306 <xsl:if test="$multiframe=0">
1307 <xsl:call-template name="foilgroup-top-nav">
1308 <xsl:with-param name="home" select="$home"/>
1309 <xsl:with-param name="up" select="$up"/>
1310 <xsl:with-param name="next" select="$next"/>
1311 <xsl:with-param name="prev" select="$prev"/>
1312 </xsl:call-template>
1315 <div class="foilgroup-body" id="{$id}">
1316 <xsl:call-template name="foilgroup-body">
1317 <xsl:with-param name="home" select="$home"/>
1318 <xsl:with-param name="up" select="$up"/>
1319 <xsl:with-param name="next" select="$next"/>
1320 <xsl:with-param name="prev" select="$prev"/>
1321 </xsl:call-template>
1324 <xsl:if test="$multiframe=0">
1325 <div id="overlayDiv">
1326 <xsl:if test="$overlay != 0">
1327 <xsl:attribute name="style">
1328 <xsl:text>position:absolute;visibility:visible;</xsl:text>
1331 <xsl:call-template name="foilgroup-bottom-nav">
1332 <xsl:with-param name="home" select="$home"/>
1333 <xsl:with-param name="up" select="$up"/>
1334 <xsl:with-param name="next" select="$next"/>
1335 <xsl:with-param name="prev" select="$prev"/>
1336 </xsl:call-template>
1341 <xsl:call-template name="process.footnotes"/>
1345 <!-- ====================================================================== -->
1347 <xsl:template match="foil">
1348 <xsl:variable name="thisfoil">
1349 <xsl:apply-templates select="." mode="filename"/>
1352 <xsl:variable name="home" select="/slides"/>
1353 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1354 <xsl:variable name="next" select="(following::foil
1355 |following::foilgroup)[1]"/>
1356 <xsl:variable name="prev" select="(preceding-sibling::foil[1]
1357 |parent::foilgroup[1]
1358 |/slides)[last()]"/>
1360 <xsl:variable name="doctype-public">
1361 <xsl:call-template name="doctype-public">
1362 <xsl:with-param name="frameset" select="$multiframe"/>
1363 </xsl:call-template>
1366 <xsl:variable name="doctype-system">
1367 <xsl:call-template name="doctype-system">
1368 <xsl:with-param name="frameset" select="$multiframe"/>
1369 </xsl:call-template>
1372 <xsl:call-template name="write.chunk">
1373 <xsl:with-param name="indent" select="$output.indent"/>
1374 <xsl:with-param name="doctype-public" select="$doctype-public"/>
1375 <xsl:with-param name="doctype-system" select="$doctype-system"/>
1376 <xsl:with-param name="filename" select="concat($base.dir,$thisfoil)"/>
1377 <xsl:with-param name="content">
1380 <title><xsl:value-of select="title"/></title>
1382 <xsl:call-template name="system.head.content"/>
1384 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1386 <xsl:if test="$css.stylesheet != ''">
1387 <link type="text/css" rel="stylesheet">
1388 <xsl:attribute name="href">
1389 <xsl:call-template name="css.stylesheet"/>
1393 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1395 <xsl:call-template name="links">
1396 <xsl:with-param name="home" select="$home"/>
1397 <xsl:with-param name="up" select="$up"/>
1398 <xsl:with-param name="next" select="$next"/>
1399 <xsl:with-param name="prev" select="$prev"/>
1400 </xsl:call-template>
1402 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1403 or $dynamic.toc != 0 or $active.toc != 0">
1404 <script language="javascript" type="text/javascript">
1405 <xsl:text> </xsl:text>
1409 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1410 <xsl:call-template name="ua.js"/>
1411 <xsl:call-template name="xbDOM.js">
1412 <xsl:with-param name="language" select="'javascript'"/>
1413 </xsl:call-template>
1414 <xsl:call-template name="xbLibrary.js"/>
1415 <script language="javascript" type="text/javascript">
1416 <xsl:text disable-output-escaping="yes">
1418 xblibrary = new xbLibrary('</xsl:text>
1419 <xsl:call-template name="script-dir"/>
1420 <xsl:text disable-output-escaping="yes">');
1424 <xsl:call-template name="xbStyle.js"/>
1425 <xsl:call-template name="xbCollapsibleLists.js"/>
1426 <xsl:call-template name="slides.js">
1427 <xsl:with-param name="language" select="'javascript'"/>
1428 </xsl:call-template>
1431 <xsl:if test="$overlay != '0'">
1432 <xsl:call-template name="overlay.js">
1433 <xsl:with-param name="language" select="'javascript'"/>
1434 </xsl:call-template>
1437 <xsl:call-template name="user.head.content"/>
1440 <xsl:when test="$multiframe != 0">
1441 <xsl:apply-templates select="." mode="multiframe"/>
1444 <xsl:apply-templates select="." mode="singleframe"/>
1449 </xsl:call-template>
1451 <xsl:if test="$multiframe != 0">
1452 <xsl:apply-templates select="." mode="multiframe-top"/>
1453 <xsl:apply-templates select="." mode="multiframe-body"/>
1454 <xsl:apply-templates select="." mode="multiframe-bottom"/>
1458 <xsl:template match="foil" mode="multiframe">
1459 <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
1461 <xsl:variable name="thisfoil">
1462 <xsl:apply-templates select="." mode="filename"/>
1465 <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
1466 <xsl:attribute name="onload">
1467 <xsl:text>javascript:body.focus()</xsl:text>
1469 <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
1471 <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
1473 <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
1476 <body class="frameset">
1477 <xsl:call-template name="body.attributes"/>
1479 <xsl:text>Your browser doesn't support frames.</xsl:text>
1486 <xsl:template match="foil" mode="multiframe-top">
1487 <xsl:variable name="thisfoil">
1488 <xsl:apply-templates select="." mode="filename"/>
1491 <xsl:variable name="home" select="/slides"/>
1492 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1493 <xsl:variable name="next" select="(following::foil
1494 |following::foilgroup)[1]"/>
1495 <xsl:variable name="prev" select="(preceding-sibling::foil[1]
1496 |parent::foilgroup[1]
1497 |/slides)[last()]"/>
1499 <xsl:call-template name="write.chunk">
1500 <xsl:with-param name="indent" select="$output.indent"/>
1501 <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
1502 <xsl:with-param name="content">
1505 <title>Navigation</title>
1507 <xsl:call-template name="system.head.content"/>
1509 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1511 <xsl:if test="$css.stylesheet != ''">
1512 <link type="text/css" rel="stylesheet">
1513 <xsl:attribute name="href">
1514 <xsl:call-template name="css.stylesheet"/>
1518 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1520 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1521 or $dynamic.toc != 0 or $active.toc != 0">
1522 <script language="javajcript" type="text/javascript">
1523 <xsl:text> </xsl:text>
1527 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1528 <xsl:call-template name="ua.js"/>
1529 <xsl:call-template name="xbDOM.js">
1530 <xsl:with-param name="language" select="'javascript'"/>
1531 </xsl:call-template>
1532 <xsl:call-template name="xbLibrary.js"/>
1533 <script language="javascript" type="text/javascript">
1534 <xsl:text disable-output-escaping="yes">
1536 xblibrary = new xbLibrary('</xsl:text>
1537 <xsl:call-template name="script-dir"/>
1538 <xsl:text disable-output-escaping="yes">');
1542 <xsl:call-template name="xbStyle.js"/>
1543 <xsl:call-template name="xbCollapsibleLists.js"/>
1544 <xsl:call-template name="slides.js">
1545 <xsl:with-param name="language" select="'javascript'"/>
1546 </xsl:call-template>
1549 <xsl:if test="$overlay != '0'">
1550 <xsl:call-template name="overlay.js">
1551 <xsl:with-param name="language" select="'javascript'"/>
1552 </xsl:call-template>
1555 <xsl:call-template name="user.head.content"/>
1557 <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
1558 <xsl:call-template name="foil-top-nav">
1559 <xsl:with-param name="home" select="$home"/>
1560 <xsl:with-param name="up" select="$up"/>
1561 <xsl:with-param name="next" select="$next"/>
1562 <xsl:with-param name="prev" select="$prev"/>
1563 </xsl:call-template>
1567 </xsl:call-template>
1570 <xsl:template match="foil" mode="multiframe-body">
1571 <xsl:variable name="thisfoil">
1572 <xsl:apply-templates select="." mode="filename"/>
1575 <xsl:call-template name="write.chunk">
1576 <xsl:with-param name="indent" select="$output.indent"/>
1577 <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
1578 <xsl:with-param name="content">
1583 <xsl:call-template name="system.head.content"/>
1585 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1587 <xsl:if test="$css.stylesheet != ''">
1588 <link type="text/css" rel="stylesheet">
1589 <xsl:attribute name="href">
1590 <xsl:call-template name="css.stylesheet"/>
1594 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1596 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1597 or $dynamic.toc != 0 or $active.toc != 0">
1598 <script language="javascript" type="text/javascript">
1599 <xsl:text> </xsl:text>
1603 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1604 <xsl:variable name="home" select="/slides"/>
1605 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1606 <xsl:variable name="next" select="(following::foil
1607 |following::foilgroup)[1]"/>
1608 <xsl:variable name="prev" select="(preceding-sibling::foil[1]
1609 |parent::foilgroup[1]
1610 |/slides)[last()]"/>
1612 <xsl:call-template name="links">
1613 <xsl:with-param name="home" select="$home"/>
1614 <xsl:with-param name="up" select="$up"/>
1615 <xsl:with-param name="next" select="$next"/>
1616 <xsl:with-param name="prev" select="$prev"/>
1617 </xsl:call-template>
1619 <xsl:call-template name="ua.js"/>
1620 <xsl:call-template name="xbDOM.js">
1621 <xsl:with-param name="language" select="'javascript'"/>
1622 </xsl:call-template>
1623 <xsl:call-template name="xbLibrary.js"/>
1624 <script language="javascript" type="text/javascript">
1625 <xsl:text disable-output-escaping="yes">
1627 xblibrary = new xbLibrary('</xsl:text>
1628 <xsl:call-template name="script-dir"/>
1629 <xsl:text disable-output-escaping="yes">');
1633 <xsl:call-template name="xbStyle.js"/>
1634 <xsl:call-template name="xbCollapsibleLists.js"/>
1635 <xsl:call-template name="slides.js">
1636 <xsl:with-param name="language" select="'javascript'"/>
1637 </xsl:call-template>
1640 <xsl:if test="$overlay != '0'">
1641 <xsl:call-template name="overlay.js">
1642 <xsl:with-param name="language" select="'javascript'"/>
1643 </xsl:call-template>
1646 <xsl:call-template name="user.head.content"/>
1649 <xsl:apply-templates select="." mode="singleframe"/>
1652 </xsl:call-template>
1655 <xsl:template match="foil" mode="multiframe-bottom">
1656 <xsl:variable name="thisfoil">
1657 <xsl:apply-templates select="." mode="filename"/>
1660 <xsl:variable name="home" select="/slides"/>
1661 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1662 <xsl:variable name="next" select="(following::foil
1663 |following::foilgroup)[1]"/>
1664 <xsl:variable name="prev" select="(preceding-sibling::foil[1]
1665 |parent::foilgroup[1]
1666 |/slides)[last()]"/>
1668 <xsl:call-template name="write.chunk">
1669 <xsl:with-param name="indent" select="$output.indent"/>
1670 <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
1671 <xsl:with-param name="content">
1674 <title>Navigation</title>
1676 <xsl:call-template name="system.head.content"/>
1678 <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
1680 <xsl:if test="$css.stylesheet != ''">
1681 <link type="text/css" rel="stylesheet">
1682 <xsl:attribute name="href">
1683 <xsl:call-template name="css.stylesheet"/>
1687 <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
1689 <xsl:if test="$overlay != 0 or $keyboard.nav != 0
1690 or $dynamic.toc != 0 or $active.toc != 0">
1691 <script language="javascript" type="text/javascript">
1692 <xsl:text> </xsl:text>
1696 <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
1697 <xsl:call-template name="ua.js"/>
1698 <xsl:call-template name="xbDOM.js">
1699 <xsl:with-param name="language" select="'javascript'"/>
1700 </xsl:call-template>
1701 <xsl:call-template name="xbLibrary.js"/>
1702 <script language="javascript" type="text/javascript">
1703 <xsl:text disable-output-escaping="yes">
1705 xblibrary = new xbLibrary('</xsl:text>
1706 <xsl:call-template name="script-dir"/>
1707 <xsl:text disable-output-escaping="yes">');
1711 <xsl:call-template name="xbStyle.js"/>
1712 <xsl:call-template name="xbCollapsibleLists.js"/>
1713 <xsl:call-template name="slides.js">
1714 <xsl:with-param name="language" select="'javascript'"/>
1715 </xsl:call-template>
1718 <xsl:if test="$overlay != '0'">
1719 <xsl:call-template name="overlay.js">
1720 <xsl:with-param name="language" select="'javascript'"/>
1721 </xsl:call-template>
1724 <xsl:call-template name="user.head.content"/>
1726 <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
1727 <xsl:call-template name="foil-bottom-nav">
1728 <xsl:with-param name="home" select="$home"/>
1729 <xsl:with-param name="up" select="$up"/>
1730 <xsl:with-param name="next" select="$next"/>
1731 <xsl:with-param name="prev" select="$prev"/>
1732 </xsl:call-template>
1736 </xsl:call-template>
1739 <xsl:template match="foil" mode="singleframe">
1740 <xsl:param name="thisfoil">
1741 <xsl:apply-templates select="." mode="filename"/>
1744 <xsl:variable name="id">
1745 <xsl:call-template name="object.id"/>
1748 <xsl:variable name="home" select="/slides"/>
1749 <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
1750 <xsl:variable name="next" select="(following::foil
1751 |following::foilgroup)[1]"/>
1752 <xsl:variable name="prev" select="(preceding-sibling::foil[1]
1753 |parent::foilgroup[1]
1754 |/slides)[last()]"/>
1757 <xsl:call-template name="body.attributes"/>
1759 <xsl:when test="$active.toc != 0">
1760 <xsl:attribute name="onload">
1761 <xsl:text>newPage('</xsl:text>
1762 <xsl:value-of select="$thisfoil"/>
1763 <xsl:text>',</xsl:text>
1764 <xsl:value-of select="$overlay"/>
1765 <xsl:text>);</xsl:text>
1768 <xsl:when test="$overlay != 0">
1769 <xsl:attribute name="onload">
1770 <xsl:text>overlaySetup('lc');</xsl:text>
1775 <xsl:if test="$keyboard.nav != 0">
1776 <xsl:attribute name="onkeypress">
1777 <xsl:text>navigate(event)</xsl:text>
1781 <div class="{name(.)}" id="{$id}">
1782 <xsl:if test="$multiframe=0">
1783 <xsl:call-template name="foil-top-nav">
1784 <xsl:with-param name="home" select="$home"/>
1785 <xsl:with-param name="up" select="$up"/>
1786 <xsl:with-param name="next" select="$next"/>
1787 <xsl:with-param name="prev" select="$prev"/>
1788 </xsl:call-template>
1791 <div class="foil-body">
1792 <xsl:apply-templates/>
1795 <xsl:if test="$multiframe=0">
1796 <div id="overlayDiv">
1797 <xsl:if test="$overlay != 0">
1798 <xsl:attribute name="style">
1799 <xsl:text>position:absolute;visibility:visible;</xsl:text>
1802 <xsl:call-template name="foil-bottom-nav">
1803 <xsl:with-param name="home" select="$home"/>
1804 <xsl:with-param name="up" select="$up"/>
1805 <xsl:with-param name="next" select="$next"/>
1806 <xsl:with-param name="prev" select="$prev"/>
1807 </xsl:call-template>
1812 <xsl:call-template name="process.footnotes"/>
1816 <!-- ============================================================ -->
1818 <xsl:template match="slidesinfo" mode="toc">
1819 <xsl:variable name="id">
1820 <xsl:call-template name="object.id"/>
1822 <div id="{$id}" class="toc-slidesinfo">
1823 <a href="{$titlefoil.html}" target="foil">
1825 <xsl:when test="titleabbrev">
1826 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1829 <xsl:apply-templates select="title" mode="toc"/>
1837 <xsl:template match="foilgroup" mode="toc">
1838 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1840 <xsl:variable name="thisfoilgroup">
1841 <xsl:text>foilgroup</xsl:text>
1842 <xsl:number count="foilgroup" level="any" format="01"/>
1843 <xsl:value-of select="$html.ext"/>
1846 <div class="toc-foilgroup" id="{$id}">
1848 <xsl:attribute name="src">
1849 <xsl:call-template name="minus.image"/>
1852 <a href="{$thisfoilgroup}" target="foil">
1854 <xsl:when test="titleabbrev">
1855 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1858 <xsl:apply-templates select="title" mode="toc"/>
1862 <xsl:apply-templates select="foil" mode="toc"/>
1866 <xsl:template match="foil" mode="toc">
1867 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1868 <xsl:variable name="foil">
1869 <xsl:apply-templates select="." mode="filename"/>
1872 <div id="{$id}" class="toc-foil">
1874 <xsl:attribute name="src">
1875 <xsl:call-template name="bullet.image"/>
1878 <a href="{$foil}" target="foil">
1880 <xsl:when test="titleabbrev">
1881 <xsl:apply-templates select="titleabbrev" mode="toc"/>
1884 <xsl:apply-templates select="title" mode="toc"/>
1891 <!-- ====================================================================== -->
1893 <xsl:template match="slidesinfo" mode="ns-toc">
1894 <xsl:variable name="id">
1895 <xsl:call-template name="object.id"/>
1898 <xsl:text>myList.addItem('</xsl:text>
1900 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1901 <xsl:value-of select="$id"/>
1902 <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"></xsl:text>
1904 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1905 <xsl:value-of select="$titlefoil.html"/>
1906 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1908 <xsl:call-template name="string.subst">
1909 <xsl:with-param name="string">
1911 <xsl:when test="titleabbrev">
1912 <xsl:value-of select="titleabbrev"/>
1915 <xsl:value-of select="title"/>
1919 <xsl:with-param name="target">'</xsl:with-param>
1920 <xsl:with-param name="replacement">\'</xsl:with-param>
1921 </xsl:call-template>
1923 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
1924 <xsl:text>'); </xsl:text>
1927 <xsl:template match="foilgroup" mode="ns-toc">
1928 <xsl:variable name="id">
1929 <xsl:call-template name="object.id"/>
1932 <xsl:text>subList = new List(false, width, height, "</xsl:text>
1933 <xsl:value-of select="$toc.bg.color"/>
1934 <xsl:text>"); </xsl:text>
1935 <xsl:text>subList.setIndent(12); </xsl:text>
1936 <xsl:apply-templates select="foil" mode="ns-toc"/>
1938 <xsl:text>myList.addList(subList, '</xsl:text>
1940 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1941 <xsl:value-of select="$id"/>
1942 <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"></xsl:text>
1944 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1945 <xsl:apply-templates select="." mode="filename"/>
1946 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1948 <xsl:call-template name="string.subst">
1949 <xsl:with-param name="string">
1951 <xsl:when test="titleabbrev">
1952 <xsl:value-of select="titleabbrev"/>
1955 <xsl:value-of select="title"/>
1959 <xsl:with-param name="target">'</xsl:with-param>
1960 <xsl:with-param name="replacement">\'</xsl:with-param>
1961 </xsl:call-template>
1963 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
1964 <xsl:text>'); </xsl:text>
1967 <xsl:template match="foil" mode="ns-toc">
1968 <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
1971 <xsl:when test="ancestor::foilgroup">
1972 <xsl:text>subList.addItem('</xsl:text>
1975 <xsl:text>myList.addItem('</xsl:text>
1979 <xsl:text disable-output-escaping="yes"><div id="</xsl:text>
1980 <xsl:value-of select="$id"/>
1981 <xsl:text disable-output-escaping="yes">" class="toc-foil"></xsl:text>
1983 <xsl:text disable-output-escaping="yes"><img alt="-" src="</xsl:text>
1984 <xsl:call-template name="bullet.image"/>
1985 <xsl:text disable-output-escaping="yes">"><\/img></xsl:text>
1987 <xsl:text disable-output-escaping="yes"><a href="</xsl:text>
1988 <xsl:apply-templates select="." mode="filename"/>
1989 <xsl:text disable-output-escaping="yes">" target="foil"></xsl:text>
1991 <xsl:call-template name="string.subst">
1992 <xsl:with-param name="string">
1994 <xsl:when test="titleabbrev">
1995 <xsl:value-of select="titleabbrev"/>
1998 <xsl:value-of select="title"/>
2002 <xsl:with-param name="target">'</xsl:with-param>
2003 <xsl:with-param name="replacement">\'</xsl:with-param>
2004 </xsl:call-template>
2006 <xsl:text disable-output-escaping="yes"><\/a><\/div></xsl:text>
2007 <xsl:text>'); </xsl:text>
2010 <xsl:template match="speakernotes" mode="ns-toc">
2014 <!-- ====================================================================== -->