View Single Post
  #1   Report Post  
zebazga zebazga is offline
Junior Member
 
Posts: 0
Default Numbering in headers: sections and full doc

Hi,

I'm formatting a document and can't figure out a way to get all the numbering I need.

- There are roughly 35 sections in my document. The header in each section needs to say "Page x of y" only for that section. Easy to do if you reset page numbering after each section, and use the SECTIONPAGES field.

The table of contents, however, needs needs to list page numbers for the entire document. With the above, you instead get a table of contents that goes: 1, 2, 1, 2, 1, 1, 1, 1, 2, 3, 4, 1, 1, 1, 2, etc.

I tried using SEQ, but evidently you can only use the \c switch so I'd have to first define the sequence in each section, and even then, it wouldn't be accurate for any section with more than 2 pages.

Any suggestions?

Thanks.