Sometimes you are given a PDF created with LaTeX but without
This is ok for printing but navigating the document on-screen can get annoying if the document is very long.
My question is:
assume you do not have access to the LaTeX sources but only to a PDF, created with
How can one alter the (uncompressed) PDF so appropriate hyperlinks are added to elements such as cross references, TOC and maybe citations?
Naturally, I am looking for automated approaches.
Alternatively, just inserting sensible PDF bookmarks automatically from sections/chapters would be acceptable.
Why this is relevant to LaTeX: my hope is that the compilation process leaves some traces in the PDF about cross references, and this depends on how
pdflatex translates them.
- exclude weird cases where the original LaTeX just imported a bunch of other graphic files containing the contents or obtained from OCR
- class specific solutions are welcome
- other simplifying assumptions on how the PDF was generated are acceptable.