To number pages by chapter, you can use a Chapter Number (or Volume Number) variable or a running header/footer variable for the chapter numbers. You can also use Section Number or Sub Section Number variables. The numbers are updated automatically whenever you update the book.
Display the master page that contains the header or footer.
Place the insertion point in the header or footer where you want to add numbering and double-click the variable you want to add from the Variables panel.
Insert the appropriate punctuation, such as a hyphen or period.
To add page numbering, choose
.The header or footer should look like this on a body page:
A. Chapter number variable (<$chapnum>) B. Current Page # variable