Special Page Numbering for TOC

G

Guest

Hi all,

I'm working on a document with appendices in separate files. I'm using
styles to create a TOC, and I've figured out how to import the TOCs of all
the documents into a separate TOC file using the RD field.

However, I have a work requirement to update the page numbers of the TOC to
reflect the letter used for the appendix, like this:
1.1 Text text text..........................C-1
1.2 Text text text..........................C-4
I've been manually typing in the C- before the page number, but of course it
disappears everytime I refresh the TOC.

Is there some way I can automate this process? The document I'm working on
has 20+ pages in the TOC, over 600 pages of text altogether, and the
appendices are massive.

I've tried:

* /p switch in the TOC field
* Chapter numbering from the page numbering format button (each appendix
document needs to be the same chapter, but I'm using the actual chapters in
the document already, as in 1. Chapter 1, 1.1 Subchapter .1 of Chapter 1,
etc. I don't want 1.1-1, but C-1, if that makes any sense.)
* updating the {PAGE} field as follows {PAGE \# "C-#"} (please note - is not
a minus sign but an n-dash) (This updates the page number nicely, but does
not update the TOC.)

Any other suggestions?

Thanks,
DeAnna Knippling
 
S

Suzanne S. Barnhill

Nothing can be included in the TOC unless it is generated by Word. That is,
if you use the "Include chapter number" option in Format Page Number, Word
will pick that up and include it in the TOC, but this requires that you (a)
be using one of Word's built-in heading styles for the the appendix number
paragraphs and (b) that you be using auto numbering for those styles; see
these articles:

http://word.mvps.org/FAQs/Numbering/ChapterNumber.htm
http://www.ShaunaKelly.com/word/numbering/NumberingAppendixes.html

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Stefan Blom

In this case, it seems convenient to use a SEQ field for the C
"number." Here are the steps:

1. Make sure that the appendix is in a separate section.

2. In that section, make sure to include the following field:

{ SEQ h1 \* ALPHABETIC }

3. Since the field shouldn't appear in the text, format it as hidden
(via Format | Font).

4. Add the \s "h1" switch to the TOC field:

{ TOC \o "1-3" \r 3 \h \s "h1" }

5. Update the TOC.

If you want to include the letter with the page number in the document
header (or footer), make sure to unlink the header (footer) and then
insert the { SEQ h1 \c \* ALPHABETIC } field before the page number.
Alternatively, you can type the number in.

As usual, if/when page numbering should restart, you need to specify
this in the Page Number Format dialog box for the relevant section.

For another example, see my response in the "Table of Contents special
page numbering" thread (archived in the .longdocuments newsgroup) at
http://groups.google.com/group/micr...read/thread/a3a7be4bb7950223/00929e7cafc33cce

Note on the use of fields: To insert field delimiters, press Ctrl+F9.
To toggle the display of field codes, use Alt+F9.
Note that fields do not update automatically in Word, but many fields
do when you print or Print Preview (more do if you select the "Update
fields" option in Tools | Options, Print tab). You can select the
entire document and press F9; this forces an update.

--
Stefan Blom
Microsoft Word MVP


in message
 
S

Suzanne S. Barnhill

I'm not sure how that works exactly, but I'll take your word for it!

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Stefan Blom

The principle is that the TOC field extracts the current sequence
number in a specified sequence. Obviously, the advantage is that you
can set a starting number more easily than for outline numbering.

--
Stefan Blom
Microsoft Word MVP


in message
 

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