[Tex/LaTex] pdfpages + hyperref : hyperlinks in list of tables pointing wrongly to first page of document

hyperreflistspdfpagestables

  • In the TOC, the hyperlinks are pointing correctly to the pdf document included with pdfpages
  • But, in the lists of tables / figures, the hyperlinks are pointing wrongly to the cover page of my document (a book), instead of pointing to the included pdf document.
  • I compile in pdflatex

Does anybody know how to fix that problem ?

    \includepdf[pages={1},scale=0.9,landscape=false,turn=true,pagecommand={\thispagestyle{fancy}},addtotoc={1,section,2,heading-toc,label-toc},  
     % addtotoc={⟨page number⟩,⟨section⟩, ⟨level⟩,⟨heading⟩,⟨label⟩}
     addtolist={1,figure,heading-tof,label-tof}  % addtolist={⟨page number⟩,⟨type⟩,⟨heading⟩,⟨label⟩}
     ]{file.pdf}

    \includepdfmerge[nup=1x3,scale=0.9,column=true,frame=true,angle=90,delta=0 0,offset= 0 0,pagecommand={\thispagestyle{fancy}},
    addtotoc={1,subsubsection,2,heading-toc,label-tdm},
    addtolist={1,table,heading-tot,label-tof}]
                   {file1.pdf, file2.pdf, file3.pdf}

Best Answer

The packages "float" and "rotfloat" were blocking the proper functioning of the hyperlinks --> taking them out solved the problem.