the section level (sect1 = 1, etc.), and adjusted templates
that use section.level accordingly to produce same output
as before.
</xsl:variable>
<xsl:call-template name="section.heading">
- <xsl:with-param name="level" select="$sectlvl"/>
+ <xsl:with-param name="level" select="$sectlvl + 1"/>
<xsl:with-param name="title">
<xsl:apply-templates/>
</xsl:with-param>
<xsl:call-template name="section.heading">
<xsl:with-param name="level"
- select="$sectlvl + count(ancestor::qandadiv)"/>
+ select="$sectlvl + 1 + count(ancestor::qandadiv)"/>
<xsl:with-param name="title">
<xsl:apply-templates/>
</xsl:with-param>
<xsl:if test="$passivetex.extensions != 0">
<fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
- fotex-bookmark-level="{$level + 1}"
+ fotex-bookmark-level="{$level + 2}"
fotex-bookmark-label="{$id}">
<xsl:value-of select="$title"/>
</fotex:bookmark>
<xsl:if test="$passivetex.extensions != 0">
<fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
- fotex-bookmark-level="{$level + 1}"
+ fotex-bookmark-level="{$level + 2}"
fotex-bookmark-label="{$id}">
<xsl:value-of select="$title"/>
</fotex:bookmark>