WD98: Table of Contents Doesn't Display Paragraph Numbering (181237)



The information in this article applies to:

  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q181237

SYMPTOMS

If you have outline numbering applied to headings in your document, and if you generate a table of contents from these headings, the text of the heading will appear in the table of contents but the outline number will not.

CAUSE

This problem occurs if a floating object is anchored to that heading.

WORKAROUND

Use one of the following methods to work around the problem.

Method 1: Move the Object Anchor to Another Paragraph

Move the object anchor to another paragraph. To do so, follow these steps:

  1. If they are not visible, click the Show/Hide button on the Standard toolbar to display paragraph marks.
  2. Click the object.

    An anchor will appear in the document, usually somewhere near the object. The anchor will be near one of the paragraphs in the document that is incorrectly displayed in the table of contents.
  3. If the anchor is locked, you need to unlock it before you can move it by doing the following:
    1. On the Format menu, click Picture, and then click the Position tab.
    2. Click to clear the Lock Anchor check box, and then click OK.
  4. Move the pointer over the anchor.
  5. Drag the anchor to a paragraph that is not a heading of the table of contents.
  6. To relock the anchor, do the following:
    1. On the Format menu, click Picture, and then click the Position tab.
    2. Click to select the Lock Anchor check box, and then click OK.
  7. To update the table of contents, click it, press F9, select Update Entire Table, and then click OK.
The table of contents will now work correctly.

Method 2: Convert the Floating Object to a Framed Object

If the object is a text box, follow these steps:

  1. Click to select the text box, and then on the Format menu, click Text Box.
  2. Click the Text Box tab.
  3. Click the Convert To Frame button.
  4. Click OK when the following message appears:
    When you convert this drawing object to a frame, some of the drawing object's formatting may be lost. Do you want to continue?
If the object is something other than a text box or autoshape:

  1. Click to select the object, and then on the Format menu, click Format Object or Picture.
  2. Click the Position tab.
  3. Click to clear the Float Over Text check box, and then click OK.
The object is now in the text layer as an inline object. To make text flow around the object, you must insert a frame around the object by doing the following:

  1. Make sure the object is still selected.
  2. On the Tools menu, point to Macro, and then click Macros.
  3. Under Macros In, select Word commands.
  4. Type InsertFrame for the macro name, and then click Run.

    The object will now be in a frame and can be moved around the document in the same way a floating object can.
  5. To update the table of contents, click it, press F9, select Update Entire Table, and then click OK.
The table of contents will now work correctly.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:10/29/2004
Keywords:kbbug kbfield kbfix KB181237