I have a document with several "chapter"s. Each “chapter” uses its own Page Style, with it’s own footer, and restarts page numbering at 1 on the first page (specified in the manual Break which switches to the next chapter’s Page Style).
How can I put the total number of pages in the current chapter in the footer (e.g.“Page 1 of 17” where there are 17 pages in the current chapter)?
Note that Insert->Field->Page Count (or Insert->Field->Statistics… Pages/AsPageStyle) inserts the total number of pages in the whole document, not the number of pages which use the current Page Style.