table of contents with page number is added to pdf