Table of Contents - quirks

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a long document (670 pages) which has an automatic table of contents located in the early pages

3 other parts of document require a "sub" table of contents for their part. I thought to us "TC" codes and have entered them. The formattting is fine

When I calculate the first "sub" table of contents, all works well

When I calculate the second and third "sub" table of contents, items from the first and second parts are included. I then read the help screens (Help file and Online) and found that I could use "TC \f" switch (Entry Identifier) to indicate a type. The Help files use the example of a List of Illustrations, use "\f i". I have now gone through my TC codes and adjusted the \f type. Help screens do not say how to create a list from their example of "List of Illustrations"

My question is where do I tell Table of Contents to use "\f i", "\f E" or whatever. Word only seems to be interested in "\f C"

HHHHHEEEEELLLLLPPPP
 
Hi Laura

If this were my document, I'd go back to square one. Delete the TC fields.
Mark each of your "sub" sections with a bookmark. That is, select all the
text that has to have a "sub" TOC, choose Insert > Bookmark and give it a
name (eg, "Chapter1"). Now, where you want your "sub" TOC, edit the TOC
field codes and add a \b switch so it looks something like { TOC \o "1-3" \b
"Chapter1" }.

This will give you a TOC for the section marked with bookmark Chapter1.


Repeat for each other two "sub" sections.

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word


Laura P said:
Hi,

I have a long document (670 pages) which has an automatic table of
contents located in the early pages.
3 other parts of document require a "sub" table of contents for their
part. I thought to us "TC" codes and have entered them. The formattting is
fine.
When I calculate the first "sub" table of contents, all works well.

When I calculate the second and third "sub" table of contents, items from
the first and second parts are included. I then read the help screens (Help
file and Online) and found that I could use "TC \f" switch (Entry
Identifier) to indicate a type. The Help files use the example of a List of
Illustrations, use "\f i". I have now gone through my TC codes and adjusted
the \f type. Help screens do not say how to create a list from their
example of "List of Illustrations".
My question is where do I tell Table of Contents to use "\f i", "\f E" or
whatever. Word only seems to be interested in "\f C".
 
Another option is to create separate STYLES in your document for each of the
Headings used in each of the TOCs. For example, let's say you have three
particular styles used in headings throughout your document that are
captured in your TOC. Let's call them MYTOC1, MYTOC2, MYTOC3. Create these
styles using the formatting desired. Then create additional Styles that are
basically duplicates of these. For example, create a MYTOC4 and base it on
MYTOC1. Create MYTOC5 and base it on MYTOC2. (get the picture).

Now when you are creating your document, assign the Styles MYTOC1 - MYTOC3
to the main parts. Then assign MYTOC4 - whatever to those other sections.
When you are ready to create a TOC, click "Insert", "Reference", "Index and
Tables". Click the "Table of Contents" TAB. Instead of using the built-in
styles (Heading1, etc.), click the "Options" button and uncheck those styles
in the list and select your styles. For the first TOC, select the 1 - 3
styles, for the second TOC select the 4 - 6 styles, etc. You assign levels
to your styles if you want them indented (1, 2, 3, etc.) in this same dialog
box. For the styles you don't want to use, simply delete the number. When
you are all done creating your TOCs, right-click a TOC and select "Toggle
field codes" to see what Word used code-wise to generate your TOCs. You can
toggle back to the real TOC. This gives you an idea of how you can create
it using code (starts with CTRL-F9 to create the code brackets).

Just another option! Good Luck!

--
Bill Foley, Microsoft MVP (PowerPoint)
www.pttinc.com
Check out PPT FAQs at: http://www.rdpslides.com/pptfaq/
"Success, something you measure when you are through succeeding."

Laura P said:
Hi,

I have a long document (670 pages) which has an automatic table of
contents located in the early pages.
3 other parts of document require a "sub" table of contents for their
part. I thought to us "TC" codes and have entered them. The formattting is
fine.
When I calculate the first "sub" table of contents, all works well.

When I calculate the second and third "sub" table of contents, items from
the first and second parts are included. I then read the help screens (Help
file and Online) and found that I could use "TC \f" switch (Entry
Identifier) to indicate a type. The Help files use the example of a List of
Illustrations, use "\f i". I have now gone through my TC codes and adjusted
the \f type. Help screens do not say how to create a list from their
example of "List of Illustrations".
My question is where do I tell Table of Contents to use "\f i", "\f E" or
whatever. Word only seems to be interested in "\f C".
 
Good Lord, Bill! Talk about reinventing the wheel! See Shauna's answer (and
mine to Laura's earlier question).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Back
Top