OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: multiple indexes each contains all index terms


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">


        <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>


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

    xsltproc --output book.fo \
             --stringparam use.extensions 0 \
             /usr/local/docbook-xsl-1.79.1/fo/docbook.xsl \

    /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?



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]