diff --git a/ws/Docbook/CustomLayer/slide/slideHdm.xsl b/ws/Docbook/CustomLayer/slide/slideHdm.xsl index 71c43dee291eb8f1afc184dfabae1838d6360aa0..72b9d6ad018a2e30006d63c375953a6eaddbfa00 100644 --- a/ws/Docbook/CustomLayer/slide/slideHdm.xsl +++ b/ws/Docbook/CustomLayer/slide/slideHdm.xsl @@ -53,7 +53,6 @@ <body> <!-- Wrap the entire slide show in a div using the "reveal" class. --> - <p> Back to <a href="{$rootId}.html">lecture notes</a></p> <div class="reveal"> <!-- Wrap all slides in a single "slides" class --> <div class="slides"> @@ -110,7 +109,14 @@ <xsl:otherwise><xsl:value-of select="generate-id(.)"/></xsl:otherwise> </xsl:choose> </xsl:attribute> + <xsl:apply-templates select="."/> + <a style="font-size: 50%"> + <xsl:attribute name="href"> + <xsl:call-template name="href.target.uri"/> + </xsl:attribute> + <xsl:text>Back</xsl:text> + </a> </section> </xsl:template> @@ -137,55 +143,6 @@ </xsl:attribute> </img> - </xsl:template> - <!-- <xsl:template match="d:section"> - <xsl:param name="titleset"/> - <xsl:variable name="extendedTitleset" select="$titleset|d:title"/> - <section id="{@xml:id}"> - <xsl:call-template name="titleNavigation"> - <xsl:with-param name="titleset" select="$extendedTitleset"/> - </xsl:call-template> - <xsl:apply-templates select="*[not(self::d:section | self::d:title)]"/> - </section> - <xsl:apply-templates select="d:section"> - <xsl:with-param name="titleset" select="$extendedTitleset"/> - </xsl:apply-templates> - </xsl:template> - - <xsl:template name="titleNavigation"> - <xsl:param name="titleset"/> - <h4> - <xsl:for-each select="$titleset[1]"> - <a href="#{parent::*/@xml:id}"> - <!-\- <xsl:value-of select="."/> -\-> - <xsl:text>Top</xsl:text><!-\- Overall title is likely too long -\-> - </a> - </xsl:for-each> - - <xsl:for-each select="$titleset[1 < position() and position() < last()]"> - <xsl:text> > </xsl:text> - <a href="#{parent::*/@xml:id}"> - <xsl:value-of select="."/> - </a> - </xsl:for-each> - - <xsl:for-each select="$titleset[1 < position() and position() = last()]"> - <xsl:text> > </xsl:text> - <xsl:value-of select="."/> - </xsl:for-each> - </h4> - </xsl:template> - - <xsl:template match="d:title"> - <h4> - <xsl:value-of select="."/> - </h4> - </xsl:template> - --> - - - - </xsl:stylesheet>