Add in the LaTeX TOC an included PDF
From the documentation of pdfpages (page 6) it looks like there is an experimental tag called addtotoc
. I think you'd use it like:
\includepdf[pages=-, addtotoc={<page number>, section, 1, <heading>, <label>}]
Where <page number>
is the desired page number of the included PDF (edit) to link to, <heading>
is the title in the TOC, and <label>
is how you may \ref
to the section.