</xsl:template>
<xsl:template match="address" mode="titlepage.mode">
- <xsl:apply-templates select="."/>
+ <xsl:param name="suppress-numbers" select="'0'"/>
+
+ <xsl:variable name="rtf">
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="$suppress-numbers = '0'
+ and @linenumbering = 'numbered'
+ and $use.extensions != '0'
+ and $linenumbering.extension != '0'">
+ <div class="{name(.)}">
+ <p>
+ <xsl:call-template name="number.rtf.lines">
+ <xsl:with-param name="rtf" select="$rtf"/>
+ </xsl:call-template>
+ </p>
+ </div>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <div class="{name(.)}">
+ <p>
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </p>
+ </div>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="affiliation" mode="titlepage.mode">