]> granicus.if.org Git - docbook-dsssl/commitdiff
Related to bug #583282: don't duplicate footnotes in indexes either
authorNorman Walsh <ndw@nwalsh.com>
Fri, 27 Sep 2002 12:50:59 +0000 (12:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 27 Sep 2002 12:50:59 +0000 (12:50 +0000)
xsl/html/index.xsl

index 879aab8484fe06b8a04585d66e2e54e30e2dd5bd..6f8264ce275824d2a07974d68711d2442af99ef0 100644 (file)
@@ -29,7 +29,6 @@
         </xsl:attribute>
       </xsl:if>
 
-      <xsl:call-template name="anchor"/>
       <xsl:call-template name="index.titlepage"/>
       <xsl:apply-templates/>
 
@@ -37,7 +36,9 @@
         <xsl:call-template name="generate-index"/>
       </xsl:if>
 
-      <xsl:call-template name="process.footnotes"/>
+      <xsl:if test="not(parent::article)">
+        <xsl:call-template name="process.footnotes"/>
+      </xsl:if>
     </div>
   </xsl:if>
 </xsl:template>