Add table of contents to pdf output