Consider this text:
<indexterm id="my-foo" significance="preferred">
this generates an index entry for foo,
but the reference from the index
entry goes NOT to the anchor
__<a id="my-foo" class="indexterm"></a>__
created next to "foo", but to the enclosing section.
in fact, there are no pointers to the id "my-foo".
(note that when I omit id="my-foo" from <indexterm>,
a generated anchor is created:
___<a id="id12345" class="indexterm"></a>"___
and still there are no references to this anchor)
I think this is a bug.
The correct behavior would be to refer
to the supplied (or generated) id of indexterm,
OR __NOT__ to generate the ID which is never used.
(However, I like that the name of the enclosing
section is used as the label).
Log in to post a comment.