<xsl:template name="inline.sansseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
<xsl:otherwise>rtl</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:when>
<xsl:otherwise>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</xsl:otherwise>
</xsl:choose>
</fo:inline>
<xsl:template name="inline.charseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
<xsl:otherwise>rtl</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:when>
<xsl:otherwise>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="inline.monoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<fo:inline xsl:use-attribute-sets="monospace.properties">
<xsl:call-template name="anchor"/>
<xsl:if test="@dir">
</xsl:choose>
</xsl:attribute>
</xsl:if>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.boldseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
</xsl:choose>
</xsl:attribute>
</xsl:if>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.italicseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
</xsl:choose>
</xsl:attribute>
</xsl:if>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.boldmonoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
</xsl:choose>
</xsl:attribute>
</xsl:if>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.italicmonoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
</xsl:choose>
</xsl:attribute>
</xsl:if>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.superscriptseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
<xsl:attribute name="baseline-shift">super</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.subscriptseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
<xsl:attribute name="baseline-shift">sub</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</fo:inline>
</xsl:template>
<xsl:template name="inline.charseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<!-- * if you want output from the inline.charseq template wrapped in -->
<!-- * something other than a Span, call the template with some value -->
<!-- * for the 'wrapper-name' param -->
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
<xsl:call-template name="generate.html.title"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</xsl:element>
</xsl:template>
<xsl:template name="inline.monoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<code>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</code>
</xsl:template>
<xsl:template name="inline.boldseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
and (local-name(../..) = 'figure'
or local-name(../..) = 'example'
or local-name(../..) = 'table')">
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</xsl:when>
<xsl:otherwise>
<strong>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</strong>
</xsl:otherwise>
</xsl:choose>
<xsl:template name="inline.italicseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<em>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</em>
</xsl:template>
<xsl:template name="inline.boldmonoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<!-- don't put <strong> inside figure, example, or table titles -->
<!-- or other titles that may already be represented with <strong>'s. -->
<xsl:choose>
<code>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</code>
</xsl:when>
<code>
<xsl:call-template name="generate.html.title"/>
<xsl:call-template name="dir"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</code>
<xsl:call-template name="apply-annotations"/>
</strong>
<xsl:template name="inline.italicmonoseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<em>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
<code>
<xsl:call-template name="generate.html.title"/>
<xsl:call-template name="dir"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</code>
</em>
<xsl:template name="inline.superscriptseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<sup>
<xsl:call-template name="generate.html.title"/>
<xsl:call-template name="id.attribute"/>
<xsl:call-template name="dir"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</sup>
</xsl:template>
<xsl:template name="inline.subscriptseq">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
</xsl:param>
+
<sub>
<xsl:call-template name="generate.html.title"/>
<xsl:call-template name="id.attribute"/>
<xsl:call-template name="dir"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
<xsl:call-template name="apply-annotations"/>
</sub>
</xsl:template>
<xsl:template match="author">
<xsl:param name="content">
+ <xsl:call-template name="person.name"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="editor">
<xsl:param name="content">
+ <xsl:call-template name="person.name"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="othercredit">
<xsl:param name="content">
+ <xsl:call-template name="person.name"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="person">
<xsl:param name="content">
+ <xsl:apply-templates select="personname"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates select="personname"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="personname">
<xsl:param name="content">
+ <xsl:call-template name="person.name"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="org">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="orgname">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="orgdiv">
<xsl:param name="content">
+ <xsl:apply-templates/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:apply-templates/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>
<xsl:template match="affiliation">
<xsl:param name="content">
+ <xsl:call-template name="person.name"/>
+ </xsl:param>
+
+ <xsl:param name="contentwithlink">
<xsl:call-template name="anchor"/>
<xsl:call-template name="simple.xlink">
- <xsl:with-param name="content">
- <xsl:call-template name="person.name"/>
- </xsl:with-param>
+ <xsl:with-param name="content" select="$content"/>
</xsl:call-template>
<xsl:call-template name="apply-annotations"/>
</xsl:param>
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
- <xsl:copy-of select="$content"/>
+ <xsl:copy-of select="$contentwithlink"/>
</span>
</xsl:template>