In my document I include a PDF using
\\includepdf[pages=-]{./mypdf.pdf}
The problem I\'m having is how to add a TOC entry for this 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={, section, 1, ,
Where
is the desired page number of the included PDF (edit) to link to,
is the title in the TOC, and is how you may
\ref
to the section.