blank page and chapter page counter
I have a doc made up of chapters that require individual LOEPs and Total Page count on the first page of each chapter. For some reason, these are only working correctly when the chapter has only recto and verso pages. If a chapter has any blank page in it, the total page count does not increment correctly and the blank pages don't show up in the leop. EXCEPT for the last chapter in the doc which works correctly. That's got to be a clue to what I'm doing wrong!but I just can't find the error.
I've got two page total counters:
<counter initial="0" enumid="totalpagect">
<counter initial="0" enumid="chpagect">
The totalpagect for the doc is always correct and the frontmatter leop is working fine. I have these page counters incrementing in all the pages in the body pageset including the blank page.
I am using a TIV in each page to capture the loep information for each chapter:
<savetext textid="chlep.tiv" conrule="<newline">,folio[BO],dotfill,1pi,</newline>" placemnt="after" append="1">
The TIV is defined with a chapter scope: <stringdecl textid="chlep.tiv" status="1" scope="chapter">
If I change the scope for the chpagect string to doc instead of chapter, I can pull everything into a full document loep just fine including all the blanks.
The body pageset uses a recto, verso, rectobb, and blank. The page numbering on all pages is working fine. If we had to, we could manually tag the loep stuff for each chapter, but I really need to get the chapter page count working!
Thanks in advance for any help!
KM

