I've tried adding \ref and \label commands to the pdfcommands option when adding a pdf file to my report to add a link to the pdf report, but that does not seem to work. Has anyone here tried adding links to sections created using the pdfpages package ?
• Welcome to tex.sx! Your question is not vert clear. Can you add some more information? I guess you mean pagecommand instead of pdfcommands (which does not exist)? This works for me, but perhaps you want something else: \documentclass{article} \usepackage{pdfpages} \begin{document} See section \ref{example} \clearpage \includepdf[pagecommand={\section{Example}\label{example}}]{example-image.pdf} \end{document} – David Purton Apr 8 at 4:07