Learning path · Level 3 · Tutorial 2

Add and Update an Automatic Table of Contents

Generate an automatic table of contents from an existing report's headings in Word or Writer. Choose the included levels, update the table after revisions, and correct missing or misplaced entries at their source rather than editing generated text.

  • Level: Intermediate
  • Duration: 15 min
  • 7 steps
Start tutorial Back to the path
Add and Update an Automatic Table of Contents

What you will go through

  1. Identify the Source of Each Entry Identify which report paragraphs supply automatic TOC entries and how heading levels create a two-level hierarchy. 2 min
  2. Insert a Two-Level Automatic TOC Insert a generated two-level table of contents in Word or Writer while preserving the report’s source heading hierarchy. 3 min
  3. Format Entries Without Changing Headings Change generated TOC entry formatting while preserving the report’s source heading hierarchy. 2 min
  4. Refresh After Report Revisions Refresh a generated TOC after pagination changes or source-heading revisions, using the appropriate Word or Writer command. 3 min
  5. Fix Missing or Misplaced Entries at the Source Diagnose generated TOC problems by correcting the source heading, source order, or deliberate inclusion setting before refreshing the table. 2 min
  6. Verify Text, Pages, and Links Audit a generated TOC against the current report by checking entry text, hierarchy, displayed page labels, and link destinations. 2 min
  7. Complete and Check the Updated Report Complete a revised report by correcting a new source heading, refreshing the two-level TOC, checking generated entries and links, and saving the editable document. 3 min

What you will learn

  • Insert an automatic table of contents with suitable heading levels.
  • Adjust generated entry formatting without changing the report's heading hierarchy.
  • Refresh entries and page numbers after renaming, moving or adding a section.
  • Diagnose an incorrect entry and verify the updated table against the report.

Before you start

  • Apply and Modify Paragraph Styles
  • Control Pagination in a Multi-Page Report

Step 1 of 7

Identify the Source of Each Entry

Identify which report paragraphs supply automatic TOC entries and how heading levels create a two-level hierarchy.

Read the Report Structure

Structure, Not Appearance

An automatic table of contents (TOC) is generated from the document’s structure. A paragraph becomes a potential TOC entry when it uses a source heading style such as Heading 1, Heading 2, or Heading 3—not merely because it looks large or bold.

A bold paragraph in Normal style is still body text. Conversely, a source heading retains its structural role even if you later change how it looks. The source heading level determines its place in the TOC hierarchy; its position in the report determines its order.

From Source Headings to Entries

A diagram showing top-level and second-level report headings mapped to a two-level table of contents, while a deeper heading is not mapped.

Heading level creates nesting; source order creates the sequence of generated entries.

Predict the Baseline TOC

Baseline Mapping

This is the baseline structure for Community Workshop Report. The baseline TOC previews levels 1 and 2. It follows the report from top to bottom, so a subsection appears beneath the section that comes before it.

Source-to-TOC Preview

Source headings and their prospective baseline TOC entries

`Materials` is structurally valid at level 3, but it is not part of this two-level baseline preview.
Source paragraphSource styleBaseline TOC result
OverviewHeading 1level 1 entry
PurposeHeading 2level 2 entry under Overview
DeliveryHeading 1level 1 entry
ActivitiesHeading 2level 2 entry under Delivery
MaterialsHeading 3not shown
Next StepsHeading 1level 1 entry

Tip

Keep Titles Outside the Hierarchy

Use Title for Community Workshop Report. If the table has a title, call it Contents; it is not a source heading. A title should not be promoted to Heading 1 just to make it appear in the TOC.

Prepare Your Local Source

Build a Small Practice Report

You can practise in your own local document; no supplied file is needed.

Word: create a document and save it as WorkshopReport.docx.

Writer: create a document and save it as WorkshopReport.odt.

At the beginning, enter the report title, then leave a blank area beneath it for a future TOC. Enter the remaining paragraphs in the order below. Apply the stated styles using the method you already know. The ordinary paragraphs remain body text.

Example

Complete Baseline Source Text

Community Workshop Report — Title

[Leave a blank area here for a future TOC.]

Overview — Heading 1
This report summarizes the planned community workshop.

Purpose — Heading 2
The workshop will help residents share practical local skills.

Delivery — Heading 1
Two short sessions will be delivered at the community centre.

Activities — Heading 2
Participants will practise planning and presenting an activity.

Materials — Heading 3
Facilitators will prepare handouts, markers, and sign-in sheets.

Next Steps — Heading 1
The team will confirm dates and invite participants.

Check Your Prediction

Classify the Sources

Match each report paragraph or style situation to its prospective baseline TOC result.

Tap an item and then its matching pair.

Step 2 of 7

Insert a Two-Level Automatic TOC

Insert a generated two-level table of contents in Word or Writer while preserving the report’s source heading hierarchy.

Map the baseline structure

Generate from the report structure

An automatic table of contents (TOC) reads the report’s source headings. Insert it near the beginning of the report, in the blank area after the Community Workshop Report title and before the first source heading. It must not replace the report title or source content.

For the baseline report, include through level 2. This produces level 1 entries in source order and indented level 2 entries beneath their related sections. The report title remains in Title, not a source heading. If you show a table title, use Contents; it is also outside the source heading hierarchy.

What the baseline TOC includes

Baseline source headings and the resulting two-level TOC

A level 3 source heading remains in the report but is outside a TOC limited to level 2.
Source headingSource levelTOC result
Overviewlevel 1top-level entry
Purposelevel 2nested entry
Deliverylevel 1top-level entry
Activitieslevel 2nested entry
Materialslevel 3omitted
Next Stepslevel 1top-level entry

Included levels control detail

Included levels control how much structural detail appears in the generated result; they do not alter the source heading styles in the report.

Diagram comparing a three-level report outline with a two-level generated TOC, with the level 3 item excluded.

A two-level TOC includes level 1 and level 2 entries while preserving the level 3 source heading in the report.

Insert without changing the report

Insert in Word

Word: In local WorkshopReport.docx, place the cursor in the blank area after the Community Workshop Report title and before the first source heading. The TOC needs its own paragraph.

If Contents is not already present, type Contents on a separate paragraph above the intended TOC location and apply TOC Heading. This paragraph is separate from the generated TOC; do not apply a source heading style to it. Put the cursor on the following paragraph, then choose References > Table of Contents > Custom Table of Contents.

Keep Show page numbers selected and keep Use hyperlinks instead of page numbers selected. Set Show levels to 2, then choose OK. The custom TOC command generates the entries; it does not reliably create a separate Contents title paragraph.

Insert in Writer

Writer: In local WorkshopReport.odt, place the cursor in the blank area after the Community Workshop Report title and before the first source heading. Choose Insert > Table of Contents and Index > Table of Contents, Index or Bibliography.

On the Type tab, select Table of Contents. Set the title to Contents and set Evaluate up to level to 2, then choose OK. The title uses Contents Heading; it is not a source heading.

Keep the generated page references and the default linked-entry structure. A page reference reflects your document’s displayed numbering, such as iii or 3, and may differ from another learner’s report.

Tip

Why generated matters

Do not type a list of section names as a substitute for a TOC. A manual list is not generated from source headings, so it does not provide the same update behavior, page references, or navigation links.

Check the key setting

Choose the inclusion setting

Which setting produces the intended baseline TOC?

Practice on your report

Insert and inspect your baseline TOC

In your local baseline report, complete the TOC insertion using the decision from the previous screen. Then inspect the generated result against the report.

In 2–4 lines, record your application, the setting you used, the level 1 entries, the level 2 entries, whether the deeper source heading appears, and one page reference exactly as displayed in your document.

Write at least 80 characters (0/80).

Step 3 of 7

Format Entries Without Changing Headings

Change generated TOC entry formatting while preserving the report’s source heading hierarchy.

Separate the source from the TOC

Two independent style systems

An automatic table of contents (TOC) has two separate style systems. Source styles such as Heading 1, Heading 2, and Heading 3 control the report’s structure, order, and heading appearance. Generated entry styles control only how the matching TOC entries look.

In Word, generated levels use TOC 1 and TOC 2. In Writer, they use Contents 1 and Contents 2. For example, making first-level entries bold means changing TOC 1 or Contents 1—not changing Heading 1.

Do not directly edit generated entry text or format it one entry at a time. Generated content can replace those direct edits. Keep the source hierarchy and the included levels unchanged.

Source styles and generated entry styles

The report structure stays on the left; only the generated entry appearance changes on the right.

Diagram showing source Heading styles in a report mapped to generated TOC entry styles at two levels.

Change the generated entry style to format the TOC without changing the report hierarchy.

Apply the change in the right place

Choose the generated entry style

Use the generated style that corresponds to the entry level you want to format. Make one restrained change—for example, bold first-level entries—and leave Show levels at 2.

Routes for changing first-level generated entries
ApplicationRouteStyle to modifyExample change
WordReferences > Table of Contents > Custom Table of Contents; select From template if needed, then choose ModifyTOC 1Modify > Format > Font > Bold
WriterOpen the Styles sidebar with F11 > Paragraph Styles; right-click the style and choose EditContents 1Font tab > Bold

Tip

Keep titles out of the hierarchy

Keep the report title in Title. If you display a table title, use Contents with TOC Heading in Word or Contents Heading in Writer. These are not source heading styles and should not become report entries.

Check the style mapping

Identify source and generated styles

Match each item on the left to its correct style name.

Tap an item and then its matching pair.

Make one controlled formatting change

Local practice: format first-level entries

Work in the baseline Community Workshop Report on your computer: WorkshopReport.docx in Word or WorkshopReport.odt in Writer.

Use the route for your application to make only the first-level generated entry style bold. Keep the source headings unchanged and keep the TOC limited to level 1 and level 2. Inspect the entries for Overview, Delivery, and Next Steps, then save the editable document.

Verify that structure stayed intact

Confirm the result locally

Name the generated first-level entry style you used. Then describe what changed in the TOC and what you observed about the report’s source heading appearance and hierarchy.

Write at least 40 characters (0/40).

Step 4 of 7

Refresh After Report Revisions

Refresh a generated TOC after pagination changes or source-heading revisions, using the appropriate Word or Writer command.

Recognize when a refresh is needed

Why a TOC can look stale

A generated table of contents (TOC) does not change immediately when you revise the report. After a source edit, an old entry can remain visible until you refresh the TOC. Pagination changes can also leave entry text correct while page references are stale.

Refresh the generated TOC; do not type over an entry. A later refresh can replace direct edits to generated text.

Edit the source, then refresh the result

A diagram shows a source heading renamed from Delivery to Workshop Delivery, followed by a stale TOC and then a refreshed TOC.

A source edit reaches its generated entry only after the TOC is refreshed.

Tip

Keep source and entry roles separate

A refresh replaces generated content while retaining the generated entry style for that level. For example, a first-level entry continues to use TOC 1 in Word or Contents 1 in Writer after refresh. The source heading hierarchy is not changed by refreshing.

Match the command to the revision

Choose the refresh scope

Choose the refresh scope from the kind of report change. In Word, Update entire table can also refresh page references, but Update page numbers only is the narrowest sufficient choice when nothing about the entries themselves has changed.

A renamed, added, deleted, moved, or re-leveled source heading requires the entire table to be rebuilt. In Writer, one command refreshes both entries and page references.

Refresh decision guide

Use the report change—not only the current appearance of the TOC—to select the refresh.

Writer uses the same update command in both cases.
Report changeWord: narrowest sufficient updateWriter update
Body text changes page positions; source headings are unchanged`Update page numbers only``Update Table of Contents`
Rename, add, delete, move, or change the level of a source heading`Update entire table``Update Table of Contents`

Run the command in your application

Word: Click inside the TOC, then choose References > Update Table. Choose Update page numbers only when only pagination changed. Choose Update entire table after a source-heading revision; this also refreshes page references.

Writer: Right-click the TOC and choose Update Table of Contents. Writer refreshes generated entries and page references together.

Read page references as displayed by your document, such as iii or 3; they can differ between reports.

Example

Apply a structural refresh

Revised scenario: In Community Workshop Report, rename the level 1 source heading Delivery to Workshop Delivery.

Word: In WorkshopReport.docx, choose References > Update Table > Update entire table.

Writer: In WorkshopReport.odt, right-click the TOC and choose Update Table of Contents.

Then check that the generated entry uses the revised name and that the first-level entry formatting you previously selected remains.

Choose the narrowest sufficient Word update

Select the most efficient Word refresh

Word: Which pair uses the narrowest sufficient refresh for these two scenarios? First, extra body text changes page positions in the baseline report but no source heading changes. Later, in the revised report, Delivery is renamed to Workshop Delivery.

Perform the edit-and-refresh cycle

Order the edit-and-refresh cycle

Put the actions for a structural revision in the order you should perform them.

  1. Rename the source heading in the report.
  2. Refresh the generated TOC with the appropriate command.
  3. Inspect the generated entry text and its entry formatting.

Confirm the local result

Refresh and confirm your revised TOC

Work in your local WorkshopReport.docx or WorkshopReport.odt.

In the revised scenario, rename the level 1 source heading Delivery to Workshop Delivery. Refresh the TOC using the appropriate command for your application, then inspect the generated entry. Also identify the narrowest sufficient refresh for a pagination-only change in your application.

In 3–5 lines, record your application, the refresh choice for each scenario, the order you followed, and whether Workshop Delivery appeared with the first-level entry formatting preserved.

Write at least 80 characters (0/80).

Step 5 of 7

Fix Missing or Misplaced Entries at the Source

Diagnose generated TOC problems by correcting the source heading, source order, or deliberate inclusion setting before refreshing the table.

Trace the error back to its source

Treat the TOC as a result

A generated table of contents reflects the report; it is not the place to repair the report. If an entry is missing, unwanted, nested incorrectly, or out of sequence, inspect the source paragraph and the TOC’s included levels first.

Use this repair cycle: identify the source heading, correct its style or position if needed, refresh the TOC, then recheck the generated entry. Do not type over, drag, or manually reformat generated entry text to solve a structural problem.

Read the source before changing the result

A diagram maps level 1 and level 2 source headings to a two-level TOC, while the level 3 Materials heading is shown as intentionally excluded.

A two-level TOC follows source order and heading levels. A level 3 source heading is not an error when only levels 1 and 2 are included.

Diagnose the symptom

Common symptoms and repairs

Use the symptom to choose what to inspect. In the baseline report, Materials is correctly assigned Heading 3, while the TOC deliberately includes only levels 1 and 2.

Correct the cause in the report or in the deliberate inclusion setting; then regenerate the affected TOC.
TOC symptomLikely causeCorrectionThen
Expected entry missingNo intended heading style, or stale TOCApply the intended source heading style; if it is already correct, refreshRecheck entry
Unexpected entryBody text or report title has an included heading styleUse body text or `Title`, not `Heading 1` or `Heading 2`Refresh entire TOC
Wrong nestingIncorrect source heading levelAssign the intended `Heading 1` or `Heading 2`Refresh entire TOC
Wrong sequenceHeadings are in an unintended source orderMove the source heading or its sectionRefresh entire TOC
`Materials` absent in baselineIt is `Heading 3`; level 3 is excludedLeave it as `Heading 3`; do not promote it just to display itNo repair needed

Warning

Keep hierarchy meaningful

Do not promote an intentionally deeper source heading merely to force it into a limited-depth TOC. If the report truly needs that detail in the TOC, deliberately change the included levels instead; preserve the report’s real hierarchy.

Apply the repair cycle

Correct, refresh, recheck

For a structural correction, change the report first. For example, in the revised report, Workshop Delivery should remain a Heading 1, and Follow-up under Next Steps should be a Heading 2.

After a renamed, added, moved, deleted, or re-leveled source heading:

  1. Correct the source heading, its order, or the inclusion setting.
  2. Refresh the generated TOC.
  3. Check the entry’s text, nesting, and position against the source.

Word: use References > Update Table and choose Update entire table.

Writer: right-click the TOC and choose Update Table of Contents.

A page-number-only update is not enough after a source-structure change.

Tip

Avoid a fragile workaround

A direct edit to a generated entry can be overwritten at the next refresh and leaves the source problem in place. Use source styles for structure; generated entry styles such as TOC 1/TOC 2 in Word or Contents 1/Contents 2 in Writer are only for TOC appearance.

Practice diagnosis and repair

Match each symptom to the repair

Match each TOC situation to its most likely cause and corrective action.

Tap an item and then its matching pair.

Step 6 of 7

Verify Text, Pages, and Links

Audit a generated TOC against the current report by checking entry text, hierarchy, displayed page labels, and link destinations.

Compare the TOC with Its Source

Audit the Generated TOC

A reliable TOC audit compares generated entries with the report, not just with each other. For the revised Community Workshop Report, check that Workshop Delivery matches the renamed source heading and that level 2 entries remain nested under the appropriate level 1 entry.

Check four things:

  • Entry text matches the current source heading.
  • Every included level 1 and level 2 source heading appears once.
  • Entries follow source order and have the correct nesting.
  • Each page reference matches the page label displayed in the document.

Do not use a PDF viewer’s or document viewer’s physical page index as proof. Front matter may display labels such as iii, while the report body may display 3; those labels can differ from the viewer’s counted sheet number.

Source Structure and TOC Hierarchy

Diagram comparing revised report headings with a two-level TOC, showing nesting and the omission of a level 3 heading.

Compare the report’s source order and levels with the generated entries. Page labels shown in the document, rather than a viewer’s sheet count, are the references to verify.

Use the Same Checks After a Change

Check Text, Page Labels, and Destinations

Use a short, repeatable audit:

  1. In the report, locate one included level 1 source heading and one included level 2 source heading. Compare their wording, order, and hierarchy with their TOC entries.
  2. Look at the page where each source heading begins. Record the page number as displayed by the document, including its format, such as iii or 3.
  3. Follow each TOC link using the action indicated by your application, commonly Ctrl+click. Confirm that it opens at the intended source heading.
  4. If you correct wording, order, or a source heading level, refresh the TOC and repeat the affected checks.

Word: Hold Ctrl and click an entry, following Word’s indicated link action.

Writer: Hold Ctrl and click an entry, following Writer’s indicated link action.

Example

Example: A Focused Recheck

For the revised example report, audit Workshop Delivery as a level 1 entry and Activities as a level 2 entry. Their actual page labels depend on your document’s pagination.

If Workshop Delivery has the correct text but its displayed page label is wrong, refresh the TOC before diagnosing anything else. If a link lands at a different heading, inspect the source heading and refresh after correcting it. Never try to repair the generated entry by typing over it.

Choose the Right Page Evidence

Check the Evidence

True or false: If a TOC entry shows page 3, confirming that it is on the third physical page in a viewer is sufficient evidence that the reference is correct.

Verify One Entry End to End

Report Your Local Verification

On your local report, audit one included TOC entry. Write:

  1. the source heading text;
  2. its displayed page label exactly as shown in the document;
  3. where the indicated link action, commonly Ctrl+click, took you; and
  4. why a viewer’s physical page index is not sufficient evidence.

Use Workshop Delivery if you are working with the revised example report.

Write at least 80 characters (0/80).

Step 7 of 7

Complete and Check the Updated Report

Complete a revised report by correcting a new source heading, refreshing the two-level TOC, checking generated entries and links, and saving the editable document.

1. Correct the revised report at its source

Revise the source structure

Final practice: revise the source first

Work in your local WorkshopReport.docx or WorkshopReport.odt. This is the revised scenario: Delivery has already been renamed Workshop Delivery, and your report already has a two-level automatic table of contents (TOC).

Under the Next Steps source heading, type Follow-up as an ordinary body paragraph first. Then correct that paragraph by applying Heading 2. Keep Materials as Heading 3; it must not be promoted merely to appear in a two-level TOC.

Keep Community Workshop Report in the Title style. If your TOC has a visible title, keep it as Contents, using TOC Heading in Word or Contents Heading in Writer—not a source heading style.

Source hierarchy controls inclusion

The TOC is generated from the corrected source hierarchy. A level 2 source heading becomes an indented included entry; a level 3 source heading remains outside this two-level TOC.

Diagram showing a level 2 source item becoming an indented TOC entry while a deeper level 3 item is excluded.

In the revised report, Follow-up belongs under Next Steps at level 2. Materials remains a level 3 source heading and stays excluded.

2. Update and verify the TOC

Refresh the generated result

Refresh, inspect, and save

After applying Heading 2 to Follow-up, refresh the generated TOC.

Word: Select the TOC, then choose References > Update Table > Update entire table.

Writer: Right-click the TOC and choose Update Table of Contents.

Check the generated result against the report:

  • Workshop Delivery replaces the old Delivery entry.
  • Follow-up is nested below Next Steps.
  • Materials is absent.
  • The page reference uses the document's displayed numbering, such as iii or 3.
  • Your selected entry formatting remains: TOC 1 or TOC 2 in Word, and Contents 1 or Contents 2 in Writer.

Use the application's indicated link action—commonly Ctrl+click—to follow the new entry and one existing entry. Confirm each reaches its intended source heading, then save the editable document.

Tip

Maintenance rule

Do not correct the generated entry by typing in the TOC. If text, nesting, or membership is wrong, correct the source heading or inclusion setting, refresh, and check again.

3. Describe your completed check

Final self-check

After saving your local report, record your self-check. Use the page label displayed in your document, not a physical-page count.

Write at least 120 characters (0/120).

4. Keep the maintenance cycle

Summary

Source-to-TOC checklist

Use this maintenance checklist whenever a structured report changes.

  • Edit the report source, not generated TOC text.
  • Confirm the intended source heading level.
  • Refresh the entire TOC after renamed, added, moved, deleted, or re-leveled headings.
  • Check entry text, order, nesting, and displayed page references.
  • Follow affected links to their intended source headings.
  • Confirm generated entry styling remains, then save the editable document.

Completed

Congratulations! You completed: Add and Update an Automatic Table of Contents

You completed and checked the updated two-level TOC. You can now maintain it by correcting the source, refreshing the generated table, verifying the result, and saving the editable report.

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate