add table of contents for pdf exporting