From: <bob...@us...> - 2015-06-03 21:19:04
|
Revision: 9964 http://sourceforge.net/p/docbook/code/9964 Author: bobstayton Date: 2015-06-03 21:19:01 +0000 (Wed, 03 Jun 2015) Log Message: ----------- fix bug #1360 indexterm in varlistentry/term generates an error when xref to that term. Modified Paths: -------------- trunk/xsl/fo/xref.xsl Modified: trunk/xsl/fo/xref.xsl =================================================================== --- trunk/xsl/fo/xref.xsl 2015-05-20 18:37:42 UTC (rev 9963) +++ trunk/xsl/fo/xref.xsl 2015-06-03 21:19:01 UTC (rev 9964) @@ -757,8 +757,10 @@ <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"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |