TOC \b - Can I use only Heading 1 as source?

  • Thread starter pilates_jocelyn
  • Start date
P

pilates_jocelyn

I have a long manual that has a main TOC and separate TOC's for each section
using Word 2003. Last time I was editing it, I was able to insert the
sectionTOC's and used only Heading 1 as the source from each bookmarked
section. Now, I'm trying to update one of the section TOC's and I can't get
it to use only Heading 1; it includes Headings 2 and 3 as well. If it do
Insert -> Field -> and chose the TOC field, I can either add the switch -
which I need - or format the field to only pull from Heading 1, but not both.
I know it can be done, because I have it set this way in three other places
in the document, but I can't seem to make it work today. Help, anyone?

Thanks in advance!
 
J

Jay Freedman

I have a long manual that has a main TOC and separate TOC's for each section
using Word 2003. Last time I was editing it, I was able to insert the
sectionTOC's and used only Heading 1 as the source from each bookmarked
section. Now, I'm trying to update one of the section TOC's and I can't get
it to use only Heading 1; it includes Headings 2 and 3 as well. If it do
Insert -> Field -> and chose the TOC field, I can either add the switch -
which I need - or format the field to only pull from Heading 1, but not both.
I know it can be done, because I have it set this way in three other places
in the document, but I can't seem to make it work today. Help, anyone?

Thanks in advance!

These things are controlled by separate switches within the TOC field code. The
\b switch restricts the table to the area covered by a bookmark, and the \o
switch determines what levels to use.

Look at the samples in the "Partial table of contents" section of
http://www.word.mvps.org/FAQs/Formatting/TOCSwitches.htm. You want something
like

{TOC \b Chapter1 \o "1"}
 
P

pilates_jocelyn

Hi Jay-

Thanks for the info. I finally reverted to an earlier version of the
document and used the Format Painter to copy the right formatting from
another section TOC format to the messed up one. I will mess around with that
switch and see if it works. This is what the field looks in the sections that
are working:

{ TOC \b MyBookmark \* MERGEFORMAT }

Thanks!

Jocelyn
 

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