how to stop 1 paragraph of body text style from appearing in Table of Figures

Copper Contributor

I have a weird thing going on. I have one paragraph out of a total of 65 with body text style applied that keeps showing up in the Table of Figures.

 

I have chosen clear all multiple times from the styles pane on this paragraph. Then when I reapply body text style to the paragraph and update the TOF, it reappears there again. I also tried adding an empty paragraph directly above the problem paragraph. It still appears in the TOF. I also deleted the TOF and reinserted it from the References tab. Again, it reappears. Any ideas on what is causing this to happen and how to fix it???

6 Replies

@CayceCayce 

 

The body text paragraph may have acquired "Outline level" formatting which is picked up by the table of contents. The quickest fix is to press Alt+F9 to display field codes, remove the \u switch from the TOC field, and update the field with F9. Press Alt+F9 again to hide field codes and redisplay field results.

 

Note that function keys may require that you also hold the Fn key, depending on your keyboard. Alt+F9 would then "translate" into Alt+Fn+F9, and F9 to Fn+F9.

 

For example, the TOC field may look like this:

Stefan_Blom_0-1639649299033.png

 

In that case, you should delete the "\u" part and update the table of contents.

 

@Stefan_Blom 

Hi Stefan..thanks for your suggestion. Bummer....it did not solve the problem. Any other things that might cause this behavior?

 

So it sounds like you are saying the TOC can affect the behavior of the TOF, which I didn't know realize were interconnected. I did find the  u switch in the Table of Contents and removed it and updated it. The body text paragraph still appears in the Table of Figures.

 

What is so weird is this same style is applied in 64 other paragraphs, but it's just this one that keeps showing up in the TOF. I checked reveal formatting on the problem paragraph and it shows no outline level assigned to it.

 

@CayceCayce 

 

Thanks for the update. 

 

If direct "Outline level" formatting isn't the underlying cause, something else must be. :) 

 

In Word, a table of figures is actually a type of TOC. Which specific TOC field code(s) do you see when you display field codes? 

For the TOF, where the problem paragraph appears, it shows: { TOC \c "Figure" }

For the TOC is shows: { TOC \o "1-2" }
Stefan...I have fixed the problem. Wish I had thought to do this sooner. I cut the offending paragraph, pasted it into Notepad to remove any hidden gremlins, put it back into place within the document, and applied body text style. When I update the TOF, it behaves as it should.

Thanks for staying with me on this issue. You and the other MVPs are a wealth of knowledge. I do appreciate your time and talent. Happy holidays!

@CayceCayce 

 

Thanks for the update. I'm glad you got it sorted.

 

The field code you repeated in your reply creates TOC entries based on text paragraphs to which styles with outline levels have been applied. When you copied the text into NotePad, you got rid of all that paragraph formatting. 

 

Happy Holidays!