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
in message
news:
[email protected]...