PDF Outline to LaTeX
Carry a PDF's bookmarks into an \includepdf fragment.
Carry a PDF's bookmarks into an \includepdf fragment.
Choose a PDF and review each existing bookmark and its source page. Enter the path to the PDF relative to your LaTeX document and give each included file a different link name.
The optional group title points to page one. Bookmark entries become children of that title. The starting level sets the nesting beneath the rest of your document.
PDF outline generates bookmark commands. Outline and printed TOC generates an addtotoc list for bookmarks in source page order. If you need a printed directory, use tocdepth and bookmarksdepth to show its deeper levels.
Add pdfpages and bookmark to your main document preamble. Put the downloaded fragment inside the document and keep the source PDF at the path entered. Compile normally. The example PDF is available as field-manual.pdf on this site.
The tool uses physical PDF page numbers. It skips bookmark entries that do not go to a local page. It does not copy annotations or page coordinates.