index, page range

R

raj

Is there any way to replace the continues page entries with
a ndash eg. replace 11,12,13 with 11-13

I tried with the index fiel

{INDEX \g "-" \c "2"

but this is still producing 11,12,1

please help m
 
S

Suzanne S. Barnhill

The only way to get continuous page numbers in the index is to bookmark a
range and refer to the bookmark in the index entry. The \g switch just
specifies the separator (which is an en dash by default, so you don't really
need this switch). IOW, Word doesn't have any way to look at individual XE
fields on pages 11, 12, and 13 and convert them to a single 11-13 entry; you
have to do this yourself. Properly done, index making is still a highly
manual exercise; see http://word.mvps.org/FAQs/Numbering/CreateIndex.htm
 
Top