I need help generating a PDF output where the page numbering restarts at 1 with every new chapter in a document. So the output would look something like 1-1, 1-2, 1-3,..., 2-1, 2-2, 2-3,...
I'm able to capture the chapter number and generate the "1-"; however, all my attempts generate consecutive page numbering (1-1, 1-2, 1-3, 2-4, 2-5, ...).
I suspect I'm not doing something correctly in setting up either the fo:page-sequence-master or the fo:page-sequence.
Could someone please enlighten me with some general guidance?
Thanks.
Craig