View Single Post
  #6   Report Post  
Posted to microsoft.public.word.formatting.longdocs
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Table of Contents special page numbering

That's a keeper, Stefan. I need to play with this.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Stefan Blom" wrote in message
...
What you are trying to do can be accomplished with SEQ fields. Below,
I've typed the field codes of the fields used, together with their
field delimiters, { }. Note that in order to actually create a
field in Word, you would press Ctrl+F9 to insert the field delimiters
and then type the field codes as shown. To update an inserted field,
press F9. To toggle between showing field code and field results,
press Alt+F9.

The following example uses a SEQ field to add S, G "numbers," as well
as Arabic numbers for "ordinary" headings. Add the numbers to your
usual heading paragraphs; then the TOC will pick them up. To get the
chapter/page numbering in the page numbers of the TOC, add the \s
switch to the TOC field code.

For the glossary, use { SEQ test \r 7 \* ALPHABETIC }, and for the
summary, use { SEQ test \r 19 \* ALPHABETIC }. This creates G and S,
respectively.

If the rest of the document should be numbered, you can use SEQ fields
there too: For the first chapter, { SEQ test \r 1 } would produce
Arabic numbers starting at 1. For subsequent chapters, { SEQ test }
would continue that numbering sequence.

In order to create the chapter/page numbering in headers (footers),
insert a section break after the glossary and summary sections and
unlink headers (footers). Insert
{ SEQ test \c \* ALPHABETIC }-{ PAGE }
into the header (footer) of the section where the glossary and
summary chapters are located, and insert { SEQ test \c }-{ PAGE } for
the rest of headers (footers).

Display the field code for the TOC, and add \s "test" to it. In other
words, you'd have something like this: { TOC \o "1-3" \h \s "test" }.
Press F9 to update. If prompted, choose to update the entire table.

To restart the page numbering, use the Page Number Format dialog box
as usual.

Note that if you don't want the chapter/page numbering for the
"ordinary" chapters, that is, chapters other than the summary and
glossary ones, you would have to create a separate TOC (without the \s
switch) for them.

--
Stefan Blom
Microsoft Word MVP


"Ricki Miles" wrote in message
...
I am working in Word XP, creating a manual with several sections.

One
section is a summary section, another is a glossary section, etc.

The
summary section needs page numbering of S1, S2, etc. while the

glossary
section needs page numbering of G1, G2, etc. I am trying to

generate a
table of contents with page numbering that matches ie. S1, S2, etc.,

but
can't seem to format the T of C page number to include the letter.

Any
suggestions would be appreciated - TIA,

Ricki