Generaladdcontentsline - not working

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mm
Posts: 4
Joined: Tue Mar 24, 2009 3:37 am

addcontentsline - not working

Post by mm »

Hello guys,

I have following code:

Code: Select all

\clearpage
\addcontentsline{toc}{chapter}{Bibliography}

\begin{thebibliography}{99}

\bibitem[XXX]{XXX} XXX.
\end{thebibliography}
I tried to add the bibliography to toc. The code above works, with exception that there is no link created. When i click biblkiography in toc, it link to first page.

I use TeXnicCenter.

Thanks,
Michal

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

mm
Posts: 4
Joined: Tue Mar 24, 2009 3:37 am

addcontentsline - not working

Post by mm »

OK, i missed:

Code: Select all

\phantomsection
Sorry for spamming ;)
Post Reply