Custom page numbers not showing up in TOC

H

helen

I have a 100 page document; I have created custom page numbers using the
following code but the entire string does not show up in the TOC, only the
page numbers (not the section numbers). I have tried to look at the code for
the TOC but don't know enough to decipher the string. HELP!

page number code: {section} - {page}

TOC code: {TOC \o "1-4" \h \z \u}
 
H

helen

[I forgot to note earlier: Word 2003 - Windows XP]

I have experimented a great deal since making this original post but still
cannot get the section numbers to appear in the TOC. I have modified the TOC
code to read: {TOC \s section \o "1-4" \h \u} but this inserts all zeros in
front of the page numbers - not the actual section number. Isn't there a
way I can refer to the section-page number I have in the footer and have THAT
appear in the TOC?
 
B

Bob Buckland ?:-\)

Hi Helen,

You may want to also post this in the Word numbering
newsgroup (link below).

Both the /c and /s switches tie to the use of matching
{SEQ} fields in locations in your document. For example,
from Word 2003 help for "TOC field"

========

\s Identifier
Includes a number such as a chapter number before the page number. The chapter or other item must be numbered with a SEQ field.
Identifier must match the identifier in the SEQ field. For example, if you insert { SEQ chapter } before each chapter heading, { TOC
\o "1-3" \s chapter } displays page numbers as 2-14, where "2" is the chapter number

=============
[I forgot to note earlier: Word 2003 - Windows XP]

I have experimented a great deal since making this original post but still
cannot get the section numbers to appear in the TOC. I have modified the TOC
code to read: {TOC \s section \o "1-4" \h \u} but this inserts all zeros in
front of the page numbers - not the actual section number. Isn't there a
way I can refer to the section-page number I have in the footer and have THAT
appear in the TOC? >>
--
LLet us know if this has helped you,

Bob Buckland ?:)
MS Office System Products MVP
*courtesy is not expensive and can pay big dividends8

A. Specific newsgroup/discussion group mentioned in this message:
news://msnews.microsoft.com/microsoft.public.word.numbering
or via browser:
http://microsoft.com/communities/newsgroups/en-us/?dg=microsoft.public.word.numbering

B. MS Office Community discussion/newsgroups via Web Browser
http://microsoft.com/office/community/en-us/default.mspx
or
Microsoft hosted newsgroups via Outlook Express/newsreader
news://msnews.microsoft.com
 
H

helen

Thanks Bob! I was headed down that road but your reply helped me to figure
out the solution! For folks reading this and looking for the solution here
goes:

I left my footnote page numbers as I had them originally. Then I marked
just after each section break with the {SEQ section} code - this
automatically numbered them for me and I added a label to 'pretty up' the
number. Then I inserted the following TOC code: {TOC \o "1-4" \s section \h
\u}. I also added the '\s section' switch to the Index code string.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top