Introduction: How to Create a Table of Contents in OpenOffice/LibreOffice

This is a tutorial in how to auto create a Table Of Contents (TOC) for your document using OpenOffice or LibreOffice with a few clicks.

If the completed document is exported as a HTML or PDF then the clickable links in the TOC will be preserved.

My example here will be with the public domain book A Princess Of Mars from which the movie John Carter came from.
This book was written by Edgar Rice Burroughs, the creator of Tarzan.

Step 1:

First create your document. All your TOC entries need be a Header. In this example I used Header3

Step 2:

Once my document is completed, I go to the location where I want to put my TOC.

Then I  click on Insert and then select Indexes and Tables and then click on second  Indexes and Tables

Step 3:

A window will open. Select the tab Entries

Step 4:

Since I was using Header3 for my chapter titles I selected Level 3.
Then I click the white space just left of E button
Then I clicked the Hyperlink button.

Once you click the Hyperlink button, a new button titled LS will appear Left of the E button. This is normal.

Step 5:

Now you need to click the white space to the right of the E button.
Then click your Hyperlink button.

Once you click the Hyperlink button, a  new button titled LE will appear right of the E button. This is normal.

Step 6:

Now click the OK button to create your TOC.

Step 7:

Here it is A Table Of Contents with clickable links.

Note: if you make any changes to your document that would change the start location of your chapters etc. You will then need to right click on your TOC and select Update Index/Table.

Step 8:

If you wish to export this document as a  PDF and retain the links in your TOC, then click your PDF button in your menu bar.
Or you can click on File and select Export as PDF

Step 9:

If you prefer, you can watch my video on how to Create a TOC in OpenOffice.

Comments

author
FolkeS1 (author)2016-05-15

Thanks for the instruction. So far it works as expected, but when I print or export as pdf the page numbers disappear in the print page. Is there some explanation why this will happen?

author
mihgasper (author)2015-07-16

Thank you very much! I use LibreOffice and it's really loaded with positive surprises:)

author
hanthorn (author)2014-10-29

Oh thank you! I'm sitting here at work, tired as a dog, needing to update my TOC and google brought me straight here and now it's done. Ahhhh.......

author
SeanC1 (author)2014-10-22

How to do this cleanly had been puzzling me for a while, Many Thanks!

author
Computothought (author)2012-09-03

Cool.

About This Instructable

61,934views

6favorites

License:

Bio: Linux user. Started out in 1979 with a TRS-80 with only 4K of RAM. Then went onto CP/M then DOS and after that Windows ... More »
More by Ongytenes:How to Voice Type in LinuxBirds on a Wire - Electricity: Facts & MythsFour-Way Switches & How They Work
Add instructable to: