Add an index with the table of contents