TOC Problems

J

Jim Reid

I seem to be digging myself a hole with the TOC. Let me explain what
I'm trying to do and then the results.

I have a document that has 6 sub-documents that are linked in to the
main document. All the documents user Header1, Header2 and a couple
Header3's for the TOC generation. All seems to be working fine until I
get to the Appendix document (separate that is linked in also-one of
the six). In the Appendix document I have linked in other documents
and after a Header2 for each one of them. In the Header2 for each
linked document I have a hyper-link to jump to that particular
document.

Now comes the problem. When I generate the TOC, everything looks good
up to the Appendix. The Appendix document has a Header1 that says
APPENDIX and then all the entries in the Appendix are Header2's
followed by the actual linked in document. Within the Header2 entry of
each Appendix refernce is a hyper-linked to the document also incase
the person wants to jump directly to the document rather than reading
what is linked in.

The problem is that some of the Header2's don't show up in the TOC.
When looking at the main documents TOC they are just missing. When I
look at the line where they are they are there but no longer Header2's.
They are just detail. Don't know why they are changed. I have
checked the individual line items in the Appendix document and they
show as Header2's but when all is updated they are randomly changed to
DETAIL.

Maybe this would make more sense.

Main
TOC
document1 (header1)
documenta (header2)
document2 (header1)
documentb (header2)
documentb1 (header2)
document3 (header1)
documentc (header2)
document4 (header1)
documentd (header2) (header2 has hyperline to another
document)
linked in document same as hyperlink

Any help would be appreciated.

Thanks,
 
D

Daiya Mitchell

I seem to be digging myself a hole with the TOC. Let me explain what
I'm trying to do and then the results.

Always the best way.
I have a document that has 6 sub-documents that are linked in to the
main document.

When you say sub-documents and main document, are you using Word's Master
Document feature? If so, be sure to see links at the end.
All the documents user Header1, Header2 and a couple
Header3's for the TOC generation.

What you are calling a Header, Word usually calls Heading, as header is
something very different. Just fyi. It's generally more clear to use Word's
vocabulary, as most respondents will.
All seems to be working fine until I
get to the Appendix document (separate that is linked in also-one of
the six). In the Appendix document I have linked in other documents
and after a Header2 for each one of them. In the Header2 for each
linked document I have a hyper-link to jump to that particular
document.

Linked in how? Master Doc or IncludeText fields or what? Is the text
actually in the doc, or is it just a hyperlink to launch a different file?
Now comes the problem. When I generate the TOC, everything looks good
up to the Appendix. The Appendix document has a Header1 that says
APPENDIX and then all the entries in the Appendix are Header2's
followed by the actual linked in document. Within the Header2 entry of
each Appendix refernce is a hyper-linked to the document also incase
the person wants to jump directly to the document rather than reading
what is linked in.

I don't totally understand the set up of your doc, so am not totally clear
what's going on--but as a test, perhaps try generating a TOC for the
document itself, not in linked form--so that you can tell whether the
process of creating a TOC is losing the heading formatting, or the link is
making the TOC lose the heading formatting. Narrow down what situation
causes the problem.
The problem is that some of the Header2's don't show up in the TOC.
When looking at the main documents TOC they are just missing. When I
look at the line where they are they are there but no longer Header2's.
They are just detail. Don't know why they are changed. I have
checked the individual line items in the Appendix document and they
show as Header2's but when all is updated they are randomly changed to
DETAIL.

Maybe this would make more sense.

Main
TOC
document1 (header1)
documenta (header2)
document2 (header1)
documentb (header2)
documentb1 (header2)
document3 (header1)
documentc (header2)
document4 (header1)
documentd (header2) (header2 has hyperline to another
document)
linked in document same as hyperlink

Any help would be appreciated.

Thanks,

Re Master Documents:

Word Heretic might come along and help you out, but most of the people
posting here don¹t know much about master documents, because:

Why Master Documents corrupt:
http://www.mvps.org/word/FAQs/General/WhyMasterDocsCorrupt.htm

How to recover a Master Document:
http://www.mvps.org/word/FAQs/General/RecoverMasterDocs.htm

Steve Hudson [Word Heretic] on how to make Master Documents work safely:
http://www.techwr-l.com/techwhirl/magazine/technical/wordhomepage.html
 
P

PopS

Daiya seems to have had good advice and valid
questions, IMO. In addition to that:

I -think- I read somewhere about a physical limit of
some sort at one time but I can't find anything even
close now, on how many references/layers can be set in
a document. Actually I thought it was right in Help,
but like I said, I can't find it there or on disk now.

Anyone else recall such a thing?
On the surface, this doc doesn't involve a lot of
links, but it does appear to involve linked-links, so
perhaps that's what's going on ?

It might be telling to omit one of the previous
sections of the TOC and see what happens.

I think it'd help if the OP could respond to DM's
questions.

Sorry for the top post; didn't seem to fit anywhere
else, and didn't wnat to trim 'cause the data's well
expressed.

Pop


in message
I seem to be digging myself a hole with the TOC.
Let me explain what
I'm trying to do and then the results.

Always the best way.
I have a document that has 6 sub-documents that are
linked in to the
main document.

When you say sub-documents and main document, are you
using Word's Master
Document feature? If so, be sure to see links at the
end.
All the documents user Header1, Header2 and a
couple
Header3's for the TOC generation.

What you are calling a Header, Word usually calls
Heading, as header is
something very different. Just fyi. It's generally
more clear to use Word's
vocabulary, as most respondents will.
All seems to be working fine until I
get to the Appendix document (separate that is
linked in also-one of
the six). In the Appendix document I have linked in
other documents
and after a Header2 for each one of them. In the
Header2 for each
linked document I have a hyper-link to jump to that
particular
document.

Linked in how? Master Doc or IncludeText fields or
what? Is the text
actually in the doc, or is it just a hyperlink to
launch a different file?
Now comes the problem. When I generate the TOC,
everything looks good
up to the Appendix. The Appendix document has a
Header1 that says
APPENDIX and then all the entries in the Appendix
are Header2's
followed by the actual linked in document. Within
the Header2 entry of
each Appendix refernce is a hyper-linked to the
document also incase
the person wants to jump directly to the document
rather than reading
what is linked in.

I don't totally understand the set up of your doc, so
am not totally clear
what's going on--but as a test, perhaps try
generating a TOC for the
document itself, not in linked form--so that you can
tell whether the
process of creating a TOC is losing the heading
formatting, or the link is
making the TOC lose the heading formatting. Narrow
down what situation
causes the problem.
The problem is that some of the Header2's don't show
up in the TOC.
When looking at the main documents TOC they are just
missing. When I
look at the line where they are they are there but
no longer Header2's.
They are just detail. Don't know why they are
changed. I have
checked the individual line items in the Appendix
document and they
show as Header2's but when all is updated they are
randomly changed to
DETAIL.

Maybe this would make more sense.

Main
TOC
document1 (header1)
documenta (header2)
document2 (header1)
documentb (header2)
documentb1 (header2)
document3 (header1)
documentc (header2)
document4 (header1)
documentd (header2) (header2 has
hyperline to another
document)
linked in document same as hyperlink

Any help would be appreciated.

Thanks,

Re Master Documents:

Word Heretic might come along and help you out, but
most of the people
posting here don¹t know much about master documents,
because:

Why Master Documents corrupt:
http://www.mvps.org/word/FAQs/General/WhyMasterDocsCorrupt.htm

How to recover a Master Document:
http://www.mvps.org/word/FAQs/General/RecoverMasterDocs.htm

Steve Hudson [Word Heretic] on how to make Master
Documents work safely:
http://www.techwr-l.com/techwhirl/magazine/technical/wordhomepage.html


--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: <http://www.word.mvps.org/MacWordNew/>
What's an MVP? A volunteer! Read the FAQ:
 

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

Similar Threads

Table of Contents 5
Help with If Statement 3
Adding TOC Headings to Header 8
Table of Contents Issue 5
Trouble with creating TOC 3
Table of Contents Issue 3
TOC overlap 0
Writing to notepad file 2

Top