GNOME Bugzilla – Bug 345662
Links not working with pdflatex generated files
Last modified: 2006-06-23 01:52:13 UTC
Please describe the problem: When I create a PDF file using the hyperref package and the LaTeX \tableofcontents command, the index list in the side pane cannot find the page it references. Steps to reproduce: 1. Create a PDF file using pdflatex with TOC index 2. Clink on links Actual results: The view goes to the first page in the document Expected results: The view should follow the link correctly. Adobe Reader 7 works as expected. Does this happen every time? Yes Other information: Here's a quicky LaTeX file that will generate the TOC: \documentclass[letterpaper,ruled]{article} \usepackage[pdftex,colorlinks]{hyperref} \hypersetup{% bookmarks=true, }% \begin{document} \tableofcontents \newpage \section{Section One} \section{Section Two} \section{Section Three} \section{Section Four} \end{document}
Created attachment 67847 [details] Here's the generated PDF from the above LaTeX code
Forgot to mention that you will need to run "pdflatex" twice on the LaTeX code to have the table of contents correctly generated.
Also, this link issue isn't a problem for PDF files created with other programs such as ReportLab or Adobe Distiller.
Hi Edward, it works for me. What evince and poppler version are you using? Thanks for the bug report.
I'm using Ubuntu Dapper stable. So, evince-0.5.2-0ubuntu2, libpoppler0c2-0.5.0ubuntu5, and just for completeness tetex-base-3.0.15build1.
These links are named destinations. We added support for them in evince-0.5.3. So, it's a dup of #317293. Thanks for your help. *** This bug has been marked as a duplicate of 317293 ***
Ah, so it does. Thanks.