Include chapter number in index
I'd like to include the chapter number as prefix for the page numbers in the index.
Background:
I have a book with 60 documents. Each document has another chapter number and page numbering restarts in every document at 1. The chapter number is separately styled, so that it is an eyecatcher.
The index for the whole book is placed in document 1. For a useful index I need the chapter numbers!
My current workaround is:
Before I update the index I enable the option "Include section prefix in page numbering" in EVERY document. Then I update my index and then I have to disable mentioned option again. Otherwise the page numbering would be printed as e.g.: 13.13.01 (ChapterNumber.SectionPrefix.PageNumber)
-
Ruth Ivimey-Cook commented
I am trying to create an index of a set of 16 magazines I create. Each issue has an Issue Number text variable and page numbers starting at 1, and I had assumed it would be possible to include this variable within the reference that indexing used, independent of any use on the printed page.
[E.g. a config item in indexing that could include "^{Issue Number}-^#", to result in a 'page number' of something like 190-22.]
However, this seems not to be possible.
It seems possible that I could use the section number option, setting that on each document as well as the existing Issue Number, but this then means every page number in each magazine is updated, which is definitely not what I want.
While my current need would be addressed by a fix to the indexing system alone, it does seem to me that making page numbering in general more flexible would be a good option as well.