multiple TOCs in one file

P

Phil Wagner

I am trying to set up 3 TOCs in a file.

1st is the regular TOC (set up using Heading styles)
2nd is a List if Figures
3rd is a List of Tables

The Figure titles are NOT embedded in the figures, I don't want to go to
that trouble.

Thanks!
 
P

Phil Wagner

I found the answer... at Microsoft's website.

---
Phil

Multiple TOCs

--------------------------------------------------------------------------------

In this document the headings have all been marked with heading styles. But
you're going to create some TOCs that give you more flexibility and options
than a basic "include-all-the-headings" TOC.

Exercise 1: Use a table identifier
First you're going to create a main TOC that includes all the headings — in
this case, the names of planets. Then you'll create a TOC that includes just
the first moon of each planet. This isn't an ideal scenario because the
document is rather short, but imagine a long document of your own in which
you've wanted multiple TOCs and you'll see how useful this practice can be.

Step 1: Insert a basic TOC
1.. Make sure the insertion point is at the start of the document.
2.. Insert a three–level TOC.
Here's how On the Insert menu, point to Reference, and then click Index
and Tables. On the Table of Contents tab, click OK.

A complete, basic TOC based on heading styles has been inserted.

Step 2: Mark the text
Now you need to mark text for insertion in the second TOC. The first TOC
isn't set up to include text marked with fields, so you could use any letter
as the table identifier for the second TOC; you'll use C, which is the
default.

1.. In the TOC, hold down CTRL and click The Moon.
2.. In the body of the document, select the heading text The Moon; then
press ALT+SHIFT+O.
3.. In the Mark Table of Contents Entry dialog box the default settings
are fine, so just click Mark. Do not close the dialog box.
4.. Scroll down the document and select Phobos.
5.. Click in the dialog box; then click Mark.
6.. Scroll down the document and mark the first moon of the two remaining
planets in the same way: Io and Mimas. Remember to close the dialog box when
you've finished.
Step 3: Create a second TOC
1.. Press CTRL+HOME to return to the start of the document.
2.. Position the insertion point on the second blank line under the
existing TOC. It is essential to separate the two TOCs with a blank line.
3.. Press ALT+F9 to see the field code of the existing TOC. The blank line
from step 2 may disappear. Don't worry, as long as the two field codes are
on separate lines everything will be fine.
4.. Press CRTL+F9 to insert a blank field. You're going to create this TOC
without the help of the Index and Tables dialog box.
5.. Between the braces, type TOC \f C to enable the TOC to collect the TC
fields marked with the table identifier C.
6.. Press F9 to update the new TOC. If prompted, remember to update the
entire table.
7.. Press ALT+F9 to see the field results.
There they are, two TOCs, the second of which contains only some headings
from throughout the document.

You can use this method to create many TOCs in a document — just use a
different table identifier for each set of entries and TOC.
 

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