This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]