I have a test document where I want a specialized index. The document contains
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE book SYSTEM "/usr/local/docbook-5.0/dtd/docbook.dtd">
<book>
...
<indexterm><primary>start tags</primary><secondary>case sensitivity</secondary></indexterm>
<indexterm type="species"><primary>Espostoa lanata</primary></indexterm>
<indexterm><primary>soil pH</primary></indexterm>
...
<index type="species">
<title>Species Index</title>
</index>
<index/>
</book>
When I run `xsltproc`, the resulting .fo file has all index terms in both indexes. Since all entries are in both index sections of the .fo file, the ids are repeated which causes errors when running `fop` to create a pdf file.
I'm using the following two commands
--stringparam use.extensions 0 \
/usr/local/docbook-xsl-1.79.1/fo/docbook.xsl \
book.xml
/usr/local/fop-2.2/fop/fop -fo
guide.fo -pdf guide.pdf
I expected (and wanted) that the first index, Species Index, should have only one entry and the second index only two entries.
What am I missing to make resulting indexes as I expected?
Thanks.
Peter