Use a document’s own bookmarks as the cut lines, so a book becomes one file per chapter without working out page numbers.