This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Index and Glossary references
- From: Stephan Wiesner <stephan at stephan-wiesner dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 06 Nov 2002 08:34:24 +0100
- Subject: DOCBOOK-APPS: Index and Glossary references
Hi list,
When I create an index (using XML and Saxon) and I want to take a
glossary term referenced in the text into it I encounter the following
problem.
This is my glossary term:
<glossentry id="glossDocBook">
<glossterm>DocBook</glossterm>
<acronym id="glossDocBookA">DocBook</acronym>
<glossdef>
<para>
DocBook is a very popular set of tags for describing books,
articles,
...
</glossdef>
</glossentry>
And here is the reference:
<para><indexterm><primary><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
</primary></indexterm><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
is cool.
</para>
The displayed text is correct: DocBook (which is a link to the glossary
)
The generated index, however, contains just the pagenumber, but the Term
is left empty.
It works fine, when I don't use the reference link for it:
<para><indexterm><primary>MyDocBook
</primary></indexterm><xref linkend="glossDocBook"
endterm="glossDocBookA"/>
is cool.
</para>
Now the text contains "DocBook" and the index contains "MyDocBook",
which I consider correct.
Stephan