]> granicus.if.org Git - docbook-dsssl/commitdiff
fix bug #1360 indexterm in varlistentry/term generates an error when xref to that...
authorBob Stayton <bobs@sagehill.net>
Wed, 3 Jun 2015 21:19:01 +0000 (21:19 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 3 Jun 2015 21:19:01 +0000 (21:19 +0000)
xsl/fo/xref.xsl

index defe710a649e399d61acdfc2e0663632faaa27a9..ca33a55545e90cc32c57f8b4cf93a0a9e81a4413 100644 (file)
 
 <xsl:template match="varlistentry/term" mode="xref-to">
   <xsl:param name="verbose" select="1"/>
-  <!-- to avoid the comma that will be generated if there are several terms -->
-  <xsl:apply-templates/>
+  <!-- avoids the comma that will be generated if there are several terms -->
+  <!-- Use no.anchor.mode to turn off nested xrefs and indexterms
+       in link text -->
+  <xsl:apply-templates mode="no.anchor.mode"/>
 </xsl:template>
 
 <xsl:template match="co" mode="xref-to">