Adding Section Heads to TOC

F

flowergardener

I am creating a document based on the MANUAL.DOT template which indicates a
slightly different approach for inserting a TOC. Each chapter is indicated
in the TOC by inserting a Section Heading style with the words "Chapter 1",
etc. for each chapter in the document. The reason is that there is no
specific heading style for chapters.

This only works for the first section heading above the TOC. If I try to
insert a section heading in the middle of the TOC it becomes part of the TOC
and appears to be a Web link. Updating the TOC wipes out these additional
headings and I have to insert them again.
 
F

flowergardener

I am getting all of my information from the text inside the MANUAL.DOT
template. In the paragraph, "How to Generate a Table of Contents", it
describes a procedure to highlight the Table of Contents area at the
beginning of the document to create the TOC then one must manually add the
title, "Chapter 1", using the Section Heading style. The text explicitly
says that this is the only way to get these titles into the TOC.

Due to the way that MANUAL.DOT is constructed, the heading styles, HEADING1,
HEADING2, and HEADING3, etc. define TOC1, TOC2, TOC3, etc. I don't see how I
can add another title above this outline just to get a chapter title.

Here is a sample from the document based on MANUAL.DOT of what I want to do:
Introduction i

Chapter 1
(This is the Section Heading title)

How To Customize This Manual 1
(TOC1)

About the “Picture” Icons 1
(TOC2)

Section Breaks are Key 2
(TOC1)

About Pictures and Captions 2
(etc)

How To Generate a Table of Contents 3

How To Create an Index 3

How To Change Headers and Footers 3

How To Save Time in the Future 4

How To Create a Document 4

More Template Tips 4

Chapter 2
(The next Section Heading)

How To Customize This Manual 1


I am trying to understand what this means. The thought occurs to me that
there may be some way to do a TOC individually for each chapter.
 
F

flowergardener

I checked out the ShaunaKelly link. This is exactly how I was creating my
TOC. See my other note about what I am trying to accomplish.
 
S

Suzanne S. Barnhill

You don't add a title above the TOC; you add new chapters to the manual
itself, using the headings as appropriate. When you regenerate the TOC (by
pressing F9), every new heading you have added to the document will be added
(in order) to the TOC. I think that your confusion arises from the fact the
TOC in Manual.dot is *not* a TOC field; consequently, it will *not* update
automatically and you *will* have to add your headings manually, using the
TOC styles. If you select it and replace it with a TOC field (following the
instructions in the template), then that TOC will pick up any headings you
have added to the document. You must replace the content of Manual.dot with
your own content, using your own headings.

I would suggest that the most effective way to use this template is to print
it out so that you will have the instructions, then delete the existing
content and use the built-in styles to create your manual from scratch.
FWIW, it's easier to generate a TOC if you use Heading 1 for the top-level
style you want included in the TOC (the chapter title, which you'll notice
isn't included in the TOC in the template).

To reiterate, the TOC in the Manual.dot template has been constructed by
hand, not as a TOC field. There is no Section Heading style in an
automatically generated TOC--only TOC 1, TOC2, etc. Moreover, you will not
be able to pick up the chapter numbers in a TOC field because the word
"Chapter" is in the Part Title style, and the number is in the Part Label
style, so they would end up on two lines in the TOC. If you want to use
Manual.dot, you're letting yourself in for a lot of handwork. For a saner
approach, you might want to see
http://word.mvps.org/FAQs/Customization/CreateATemplatePart2.htm
 
F

flowergardener

OK. I now understand the MANUAL.DOT template. I did not realize originally
that the Table of Contents shown was typed manually and was not a real TOC.

I also knew that I had to delete the contents of the document based on the
template before entering my own stuff. That was never the problem.

Here is my solution to what I want to do. I right-clicked on my real TOC and
changed the meaning of TOC1 to "Section Heading", TOC2 to "HEADING 1", TOC3
to "HEADING 3", etc and changed the corresponding fonts so they all matched.

Then the first element in each chapter I added a SECTION HEADING as "Chapter
1", etc.
This prints as an extra line of text in each chapter but that is not too
bad. But it would be nice if I could make it invisible at print time.
 
S

Suzanne S. Barnhill

You can format the Chapter 1 heading as either Hidden (which would serve
your purpose best, I think) or Font Color: White. In either case, make this
formatting part of the style you're using for the heading; otherwise the TOC
will pick it up, and the entry will be invisible.

I want to thank you, though, for focusing attention on the Manual.dot
template, which has been around--with very little improvement,
apparently--since at least Word for Windows 95. The Word MVPs have been
discussing its deficiencies, and perhaps some improvement will result.
 
F

flowergardener

I looked at most of the templates that came with Word and thought that
MANUAL.DOT was the closes thing to what I needed.

I just had another thought. Is there any way to combine two styles in one
TOC? For example, the large symbol at the beginning of each chapter consists
of a Part Title style (the text, "Chapter") and a Part Label style (the
number of the chapter). Rather than use the Section Heading I mentioned in
my last note I could use the combined Part Title and Part Label into one
TOC.

This would avoid the extra text of the Section Heading.

Better yet. Can I put straight text, "Chapter" into a TOC and append the
chapter number from the Part Label style.
 
F

flowergardener

I tried setting the style of Section Heading to Hidden. It didn't work. The
TOC picked up this attribute whether I changed the entire style or each
heading separately. The text in the chapter did not hide in the Print Layout
view.
 
S

Suzanne S. Barnhill

You'll still see Hidden text as long as you have nonprinting characters
displayed.



flowergardener said:
I tried setting the style of Section Heading to Hidden. It didn't work. The
TOC picked up this attribute whether I changed the entire style or each
heading separately. The text in the chapter did not hide in the Print Layout
view.
 
S

Suzanne S. Barnhill

No, I don't think there's any way to combine two styles in one TOC entry.
Your best bet might be to use a TC field.
 
Top