After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345662 - Links not working with pdflatex generated files
Links not working with pdflatex generated files
Status: RESOLVED DUPLICATE of bug 317293
Product: evince
Classification: Core
Component: general
0.5.x
Other All
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-22 15:12 UTC by Edward Duffy
Modified: 2006-06-23 01:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Here's the generated PDF from the above LaTeX code (18.56 KB, application/pdf)
2006-06-22 15:14 UTC, Edward Duffy
Details

Description Edward Duffy 2006-06-22 15:12:18 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}
Comment 1 Edward Duffy 2006-06-22 15:14:00 UTC
Created attachment 67847 [details]
Here's the generated PDF from the above LaTeX code
Comment 2 Edward Duffy 2006-06-22 15:15:45 UTC
Forgot to mention that you will need to run "pdflatex" twice on the LaTeX code to have the table of contents correctly generated.
Comment 3 Edward Duffy 2006-06-22 15:18:31 UTC
Also, this link issue isn't a problem for PDF files created with other programs such as ReportLab or Adobe Distiller.
Comment 4 Carlos Garcia Campos 2006-06-22 18:11:07 UTC
Hi Edward, it works for me. What evince and poppler version are you using? 

Thanks for the bug report.
Comment 5 Edward Duffy 2006-06-22 18:42:05 UTC
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.  
Comment 6 Carlos Garcia Campos 2006-06-22 19:11:14 UTC
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 ***
Comment 7 Edward Duffy 2006-06-23 01:52:13 UTC
Ah, so it does. Thanks.