Some of the books that I make using the Master Document mechanism are composed of chapters whose page numbers restart at 1 within each chapter. The page number in the headers has two parts, for example, “2-13” is page 13 within chapter 2. The trouble is, when I generate an index for the book, the page numbers in the index don’t indicate the chapter number, but only the page number within the chapter. So I would like to know whether there is any way to get the indexing mechanism to use these compound chapter-page numbers.
Barring that, I would like to be able to reference (and print) the consecutive page number within the book. Right now, I just use a pdf editor to add consecutive page numbers to the footer region after LibreOffice exports the pdf. But this is cumbersome, and of course these numbers are not referenced in the generated index. Ideally, a Master Document should be able to keep track of both consecutive page numbers and relative page numbers within each chapter.