How do I create an index that includes chapter numbers?

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?
 
K

Klaus Linke

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top