View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
John McGhie [MVP - Word and Word Macintosh]
 
Posts: n/a
Default Multiple Tables of Contents problem

Cheryl:

Ooops: Sorry. I hadn't read your post properly, so I was a bit too
cryptic.

In addition, I should have said:

In the second part of the document, you need to use Styles 3 and 4. Do not
put these in your TOC.

Now, surround the text you DO want to appear in the TOC with TC fields.
Look up TC fields in the Help to see how to use them.

This will work a lot better if you use the built-in headings Heading 1
through Heading 5 for the front of the book, and Headings 6 through Heading
9 for the back part of the book.

Do not include Headings 6 through 9 in the TOC. But set their formatting to
be the same as Heading 1, 2 and 3.

Hope this helps


On 10/2/06 6:04 AM, in article
, "Cheryl Cavanaugh"
wrote:

I have two tables of contents for the same document and want it to look like
one Table of Contents. Reason? For most of the document - the headings work
out great (Style 1 and Style 2, for example) but the last few paragraphs,
although they use the same styles - style 2 has no real formal heading, just
need the paragraph numbers that go along with Style 2.

Example first part of the document

Style 1 (numbered) - Heading 1
Style 2 (numbered) - Heading 2
Style 3 (non-numbered) - Paragraph (text)

Example second part of the document

Style 1 (numbered) - Heading 1
Style 2 (numbered) - immediately leading into text, no heading.

So, I've bookmarked the first part of the document and get my table of
contents by using {TOC \ B BOOKMARK1 \ T "Style 1, 1, Style 2, 2"}

Then I've bookmarked the last part of the document and get my table of
contents by using {TOC \B BOOKMARK2 \T "Style 1, 1"}

When the fields show, I've got them together {TOC \ B BOOKMARK1 \ T "Style
1, 1, Style 2, 2"}{TOC \B BOOKMARK2 \T "Style 1, 1"} (no hard space in
between).

This works great. I don't want the table of contents to pick up the
numbered paragraphs in the last part of the document and it doesn't.
Problem? For some reason, when I update the TOC and extra hardspace is
placed in between the two TOC's screwing up the look of it.

Heading 1................................................. Page 2
Heading 2................................................. Page 3
Heading 1................................................. Page 4
Heading 2................................................. Page 5

Heading 1................................................. Page 6
Heading 1................................................. Page 7
Heading 1................................................. Page 8

See what I mean? Can anyone tell me how to make it so that it looks like
below without the extra hardspace being inserted?

Heading 1................................................. Page 2
Heading 2................................................. Page 3
Heading 1................................................. Page 4
Heading 2................................................. Page 5
Heading 1................................................. Page 6
Heading 1................................................. Page 7
Heading 1................................................. Page 8


--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410