From: bobstayton Date: Thu, 19 Jul 2018 21:59:29 +0000 (-0700) Subject: fix issue #99 multiple indexes with autolink.index.see fails with FOP X-Git-Tag: snapshot/2018-09-28-172~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=452e030915519b25391957572e8882711fd8e415;p=docbook-dsssl fix issue #99 multiple indexes with autolink.index.see fails with FOP --- diff --git a/xsl/fo/autoidx.xsl b/xsl/fo/autoidx.xsl index aff7c9139..b92e81b2d 100644 --- a/xsl/fo/autoidx.xsl +++ b/xsl/fo/autoidx.xsl @@ -322,10 +322,18 @@ - - ientry- - - + + + + + + + ientry- + + + + true @@ -843,6 +851,9 @@ + + + @@ -908,6 +919,9 @@ + + + diff --git a/xsl/params/autolink.index.see.xml b/xsl/params/autolink.index.see.xml index ace26d03b..72171f493 100755 --- a/xsl/params/autolink.index.see.xml +++ b/xsl/params/autolink.index.see.xml @@ -53,5 +53,12 @@ no automatic links from see and seealso are formed within the index. Any manual links are still processed, however. +If a document contains more than one index, then any indexterms used +in more than one index will generate duplicate id attributes, which will +cause the FOP processor to fail. Therefore the stylesheet turns this feature off +if it detects more than one index and setindex, and the fop1.extensions parameter +is nonzero. + +