Build a table of contents from real heading styles instead of typing page numbers by hand. This tutorial focuses on a repeatable real-world task you can test on a sample file, not an unverified performance claim. LibreOffice is a desktop office suite; application menus and options may differ by operating system and release.
How to do it: a practical workflow
Work on a copy of your files when learning a new application. The sequence below gives you a testable outcome and a way to verify the result.
- Step 1. Apply Heading 1 to chapter titles and Heading 2 to subsections throughout the document.
- Step 2. Click the location where the contents list should appear, often after a cover page.
- Step 3. Use Insert > Table of Contents and Index > Table of Contents, Index or Bibliography; review available options.
- Step 4. After editing chapters or page breaks, update the generated table rather than modifying the entries as ordinary text.
- Step 5. Export to PDF and verify the page numbers and navigation in the final copy.
Worked example you can recreate
A training manual has six chapters and sixteen subtopics. Apply Heading 1 to each chapter, Heading 2 to subtopics, insert a contents list, and then add a new section to prove that updating the TOC works.
Common problems and what to verify
A bold paragraph is not necessarily a heading. Without named paragraph styles, Writer may not include your headings automatically.
Before handing a document to someone else, open the output in the format that person will use. Check the content and key calculations rather than relying on an export-success notification.
Quick answer
Why is my table of contents empty?
Most often the chapter lines have manual formatting rather than the required heading styles.
Official reference and download
These instructions draw on documentation from The Document Foundation. For current user-interface details, refer to the official guide for this topic ↗. Download installation files only from LibreOffice's official download page ↗.
Keep learning
Each of these related guides answers a different task, so you can move from basic setup to a more specific workflow without repeating the same overview.
Independent educational coverage. Trebuchet is not affiliated with or endorsed by The Document Foundation. This article describes documented workflows and illustrative examples; it is not a report of hands-on benchmarking or testing.
