Building an index not referring to page numbers
Hi all
I'm need to create an name index that refers to a specific heading and not to the page number. Our document is basically a collection of historical texts. In each text there are a few names that need to be indexed at the end.
So far I have used this field code:
{XE ”Name” \t “No. 001”} for each name. "No. 001" being the text number.
This works ok, but when a name occurs in two texts, the index doesn't sort properly.
E.g. the name occurs in text 2 and 3 the index will be:
"Name.....................No. 003, No. 002"
obviously I want this to be
"Name.....................No. 002, No. 003"
Any ideas on how to fix this?
|