Remove debugging.
--- a/single-page.xsl Fri May 18 12:38:19 2012 +1000
+++ b/single-page.xsl Fri May 18 12:38:52 2012 +1000
@@ -121,15 +121,11 @@
<xsl:variable name='c' select='concat(substring-before($cs, " "), "-")'/>
<xsl:if test='$c != "" and $c != "-"'>
<xsl:variable name="mathjax" select='document(concat($publish, "/", substring($c, 1, string-length($c) - 1), ".html"))/h:html/h:head/h:script[contains(@src, "mathjax")]'/>
- <xsl:message>looking at chapter <xsl:value-of select="$c"/></xsl:message>
- <xsl:message>count($mathjax) = <xsl:value-of select="count($mathjax)"/></xsl:message>
<xsl:choose>
<xsl:when test="count($mathjax) != 0">
- <xsl:message>a</xsl:message>
<xsl:copy-of select="$mathjax[1]"/>
</xsl:when>
<xsl:otherwise>
- <xsl:message>b</xsl:message>
<xsl:call-template name='do-chapters-script'>
<xsl:with-param name='cs' select='substring-after($cs, " ")'/>
</xsl:call-template>