[Tex/LaTex] Bibliography in table of contents

bibliographiestable of contents

 \begin{document}
  \tableofcontents
  \include{chapter1}
  \bibliographystyle{plain}
  \bibliography{biblio}
 \end{document}

The bibliography does not appear in the table of contents, have you an idea please?

If I add this:

\usepackage[nottoc,numbib]{tocbibind}

the bibliography will appear as a chapter in my document!!

Best Answer

To get the bibliography to be listed in the ToC as an unnumbered sectional unit (chapter or section), use tocbibind without the numbib option:

\usepackage[nottoc,notlot,notlof]{tocbibind}

Another option would be to use the etoolbox package to patch \thebibliography to use \addcontentsline:

\documentclass{book}
\usepackage{etoolbox}

\apptocmd{\thebibliography}{\csname phantomsection\endcsname\addcontentsline{toc}{chapter}{\bibname}}{}{}

\begin{document}
\tableofcontents
\include{chapter1}
\bibliographystyle{plain}
\bibliography{biblio}
\end{document}
Related Question