Table of contents reconstructed using links, items in toc page if not present and pdfstruct if no toc present