Is there a way to automatically generate links for the table of contents of a pdf file?
The idea is that for a pdf of a book it would be nice to have clickable links for the headings in the table of contents to jump to the respective page. Generating this automatically would be perfect.