Linking Table of Contents to show text from a header

S

Stacks324

I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o. I am
having difficulty when the client has the title of the section in the header
rather than as a heading as the method I mentiond before doesn't work. I
can't add a heading in as the report has to match the client exactly, does
anyone know how to get around this?
 
J

Jay Freedman

Stacks324 said:
I am currently putting togather the annual reports for a client and am
linking the section titles to my table of contents using alt+shift+o.
I am having difficulty when the client has the title of the section
in the header rather than as a heading as the method I mentiond
before doesn't work. I can't add a heading in as the report has to
match the client exactly, does anyone know how to get around this?

The TOC generator can't "see" the header, footer, text box, and other
stories other than the main text. (The article
http://word.mvps.org/faqs/customization/ReplaceAnywhere.htm explains about
stories in Word documents.)

Instead, you can place a hidden, nonprinting field in the main text at the
proper location and tell the TOC to include it.

At each point where you would normally mark a section title heading (but
there isn't one now), click Insert > Field and choose to insert a TC field.
Enter the text you want to appear in the table of contents. Check the box
for "outline level" and tell it what level to use.

TC fields are automatically marked as Hidden text. Unlike most fields whose
codes are displayed by Shift+F9 or Alt+F9, these fields appear only when you
display Hidden text (for example, by clicking the ¶ button).

In the Table of Contents dialog, click the Options button and check the box
for the Table Entry Fields option. You should leave the Styles option
checked as well, so the TOC will include both kinds of entries. Then update
the TOC.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
S

Suzanne S. Barnhill

If Stacks324 is creating the TOC using Alt+Shift+O, then he/she is already
using TC fields.
 
J

Jay Freedman

Yes, I realized that -- of course, after I hit Send.

Still, the TC fields must be in the main text, not in the header pane or any
other story. Since the text to be displayed in the TOC isn't present in the
main text, the choice is either to construct the TC field in the header and
then cut/paste it to the main text (displaying Hidden text in order to be
able to see it), or to construct the field directly in the main text.
 
S

Suzanne S. Barnhill

Right. I wasn't faulting your advice, just pointing out that the instruction
on what a TC field is and how to insert one was probably unneeded!
 
D

designermom

When I insert field>TC and hit OK, i don't get any box to check to tell it
what level to place the text in the TOC...What am I doing wrong...This is Mac
2008
 

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