Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I use the hyperref and the fncychap package, the bibliography in the ToC gives an incorrect link. When I click on references in the summary it does not go to page bibliography. How do I fix?

\documentclass[a4paper,10pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage[Sonny]{fncychap}

\begin{document}
\frontmatter
\tableofcontents
\mainmatter

\chapter{First Chapter}

\lipsum[1-10]

\begin{thebibliography}{99}

\bibitem{bredon} BREDON, G.E.: {\sl Topology and geometry.} Springer: Verlag, 1995.

\bibitem{hygino} DOMINGUES, Hygino H. {\sl Espaços métricos e introdução à topologia.} São Paulo: Atual, 1982.

\bibitem{kuhlkamp} KUHLKAMP, Nilo. {\sl Introdução à topologia geral.} Editora da UFSC: Florianópolis, 2002.

\bibitem{elon} LIMA, Elon Lages. {\sl Elementos de Topologia Geral.} Rio de Janeiro: IMPA, 1976.

\bibitem{lima} LIMA, Elon Lages. {\sl Espaços Métricos}. 3ª ed. Rio de Janeiro: IMPA, 2005.

\bibitem{lipschutz} LIPSCHUTZ, S. {\sl Topologia geral.} Ed. McGraw-Hill do Brasil Ltda: Rio de Janeiro, 1971.

\bibitem{munkres} MUNKRES,J.R.: \sl {Topology: A first course.} Prentice Hall: New Jersey, 1975.

\end{thebibliography}

\addcontentsline{toc}{chapter}{Refer\^encias Bibliogr\'aficas}

\end{document}
share|improve this question
    
The load order of hyperref and fncychap is important. See fncychap and hyperref messes up page references. –  Werner Oct 16 '12 at 16:06
add comment

1 Answer

up vote 2 down vote accepted

This can be fixed with \phantomsection

...
\begin{thebibliography}{99}
\phantomsection
...
share|improve this answer
    
Thank you!!!!!! –  Regis da Silva Jul 31 '11 at 23:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.