How do I create an index that includes chapter numbers?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a master document and subdocuments for a fairly large
document. The pages are numbered using the chapter number-page number format
(e.g. Chapter 6 page 7 is numbered 6-7). I am trying to create an index that
includes the chapter number in the format. The only number that is coming up
is the page number, not the chapter number portion. This is of course
confusing to readers.

Is there a way to create an index with this format of page number
automatically? If so, how?
 
Hi Justin,

As far as I know this only works if the chapters are numbered using SEQ fields ({ SEQ chapter }).
Then you can use the switch "\s chapter" in your index.
The default for the separator is the hyphen -- just as you want anyway.
For another separator, you could use the -d switch.

The help on the INDEX field has another example.

For the more commonly used outline numbering in the heading styles, or for LISTNUM fields, there doesn't seem to be a solution.

Regards,
Klaus
 
Back
Top