Share via

Table of contents for thesis

Anonymous
2024-05-01T20:39:58+00:00

I am attempting to auto-generate a table of contents for my thesis (230 pg document). At the moment, all of my chapters are broken into different sections with section breaks. I did this as the reference manager I am using will only put the references at the end of each chapter if they are in separate sections.

I currently have the abstract, acknowledgments, dedication and preface in the section with the table of contents. When I try to auto-generate my table of contents, it just pulls the information from that first section and does not do the entire document.

Is there a way to create a table of contents for the entire document even though it is separated by section breaks?

I can't seem to find any information online on why this is happening and how to fix it.

Microsoft 365 and Office | Word | For education | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Jay Freedman 207.6K Reputation points Volunteer Moderator
    2024-05-01T21:58:34+00:00

    The answers to a couple of questions should help to troubleshoot the situation.

    First, did you insert the table of contents by clicking References > Table of Contents and choosing one of the "Automatic" entries in the menu? If not, what steps did you use?

    Second, are the headings in the chapter sections formatted with built-in Heading styles, particularly Heading 1, Heading 2, and Heading 3? If not, what styles are applied to those headings?

    Background: The Automatic TOC entries insert a TOC field with a basic set of "switches", and if you press the keyboard shortcut Alt+F9 (or Alt+Fn+F9 on some laptops) you can see the field code:

    .

    The \o switch builds a table of contents from paragraphs formatted with styles that include outline levels (most commonly, heading styles). For example, { TOC \o "1-3" } lists only paragraphs formatted with styles that include outline levels 1 through 3. If the headings in the chapter sections don't have outline levels set in their styles, they won't be included in the TOC. (The built-in Heading styles have outline levels, which can't be changed or deleted.)

    The \u switch builds a table of contents from paragraphs whose formatting includes outline levels applied directly, in paragraph settings instead of in styles.

    (For other TOC field switches, see this page.)

    If you used the Custom Table of Contents command instead of an Automatic one, there are other options that you may have unknowingly included in the TOC field. In that case, after pressing the keyboard shortcut Alt+F9, take a screenshot of the field code and post it in a reply along with the answers to the first two questions.

    1 person found this answer helpful.
    0 comments No comments