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

NEW: TikZ book now 40% off at Amazon.com for a short time.

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