TOC in Word solution

Subject: TOC in Word solution
From: "Stewart, Brenda" <BStewart -at- outreachtech -dot- com>
To: "'TECHWR-L -at- LISTS -dot- RAYCOMM -dot- COM'" <TECHWR-L -at- LISTS -dot- RAYCOMM -dot- COM>
Date: Fri, 22 Oct 1999 10:47:27 -0400

Yesterday I asked:
I'm using Word 2000, and I would like the TOC to be formatted as follows:

Chapter #
Chapter Title.......................page #
Heading 1.....................page #
Heading 2...............page #

I can't seem to get the TOC1 style to totally eliminate the ...... or the
page # after the Chapter #. I've cleared all tabs in the TOC1 style. And,
when I apply the style, there's still a tab after the chapter #, which is
followed by the page number. It looks like this:

Chapter 1 >(tab) 1

However, when I update the TOC by highlighting the TOC contents and pressing
F9, the style goes back to this:

Chapter 1.............>(tab)..............1

How come the style formats I specified keep getting overwritten? After this
happens, the only way I have been able to clear the ......... is to reapply
the style, and the weird thing is, the style does not have a tab, so why is
it formatted with the tab? And, even if I reapoly the style, there's still
a tab after the chapter #, which is followed by the page number and it looks
like this (as shown above):

Chapter 1 >(tab) 1

So, I have only eliminated the ..... between the Chapter # and page number.

Here's the solution. As you can see, you can't solve it by using the
options in the TOC dialog box alone. That only allows you to turn it off
for all levels of the TOC, which I did not want. To turn it off for one
level or specific levels, you must use the field option \n.

From David Chinell:

First of all, remember to clear the 'Automatically
update' check box from all styles when you're
finished working on the templates. This is a
potentially dangerous setting to leave turned on.

I added an RJ tab with dot leader to TOC1 through
TOC4 because I want the styles to put that tab and
leader in place, not the TOC field.

Here's how I proceeded next. I toggled fields to
show the field codes, looked at your TOC field,
and deleted all the options I didn't want. To
suppress the TOC 1 page number, I added the \n 1-1
option. For future reference, the TOC field
options are all discussed in the online Help and
in the insert field dialog boxes as well.

I saved all these changes in the TOC.dot document.

Brenda Stewart <mailto:bstewart -at- outreachtech -dot- com>
Senior Technical Writer
OutReach Technologies
9101 Guilford Road, Columbia, MD 21046
410-724-3760
http://www.outreachtech.com





Previous by Author: TOC in Word
Next by Author: Translation of manuals
Previous by Thread: evaluating Web sites
Next by Thread: Presentation to engineers, take II


What this post helpful? Share it with friends and colleagues:


Sponsored Ads