wrong hyperref for Index in tableofcontents since TeXlive 2010

hyperref patches (in hypertex.def) \@schapter (the command used by \chapter*) to insert anchors and so

 \chapter*{blub}
 \addcontentsline...

works as wanted and gives correct links.

But tocbibind redefines the index and doesn't use \chapter* or \@schapter for the title but only \@makeschapterhead and so the anchors are missing. I don't think that it ever worked.

You will have to insert the anchor yourself:

\clearpage
\phantomsection
\printindex

Or use a class like scrreprt which uses \@schapter in this case.


With imakeidx the link is correct, but it's necessary either to load tocbibind before it, or it will override the changes made by imakeidx for getting the Index in the table of contents with a correct link.

\documentclass[a4paper]{report}

\usepackage{tocbibind}
\usepackage{imakeidx}
\usepackage{hyperref}

\makeindex[intoc]

\begin{document}
\tableofcontents

test\index{test}

\begin{thebibliography}{1}
  \bibitem{test} Test, 2013.
\end{thebibliography}

\printindex

\end{document}

Not an answer, just a comment that is better formatted here. Bibtex is not relevant

\documentclass[a4paper]{report}
\usepackage{makeidx} 
\usepackage{tocbibind}
\usepackage{hyperref}
\makeindex
\begin{document}
\tableofcontents

test\index{test}

\begin{thebibliography}{1}
  \bibitem{test} Test, 2013.
\end{thebibliography}

\printindex
\end{document}