In output of <xref endterm="foo"/> to top-level sections, titles
are not rendered in all caps.
Cause::
<xref endterm="foo"/> is handled in the HTML stylesheets by a
different mode than that used for normal Xref output.
Fix::
Added mode template for processing output of first-level section
titles when the are referred to via Endterm.
Closes #
1215547. Thanks to Jens Granseuer for reporting the
problem.
</xsl:call-template>
</xsl:template>
+ <!-- * Output of Titles from Xref with Endterm needs to be handled -->
+ <!-- * separately from output for Endterm-less Xref -->
+ <xsl:template match="refsect1/title
+ |refentry/refsection/title
+ |refsynopsisdiv/title"
+ mode="endterm">
+ <xsl:call-template name="string.upper">
+ <xsl:with-param name="string">
+ <xsl:apply-templates/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:template>
+
<!-- * Use uppercase to render titles of all instances of Refsynopsisdiv, -->
<!-- * including in cross-references -->
<xsl:template match="refsynopsisdiv" mode="title.markup">