### Who is online

In total there are 6 users online :: 2 registered, 1 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 3 guests

## Hyperlinks cannot be clicked

hyperlinkshyperrefAdd tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

### Hyperlinks cannot be clicked

Hi,

I have problems with links to sections, subsections etc.: in the index, they appear coloured but are not clickable. I use two PDF readers, Sumatra to view the PDF when the LaTeX file is compiled and Foxit Reader to open the PDF in any other case. So I can exclude any problem related to the PDF viewer. I use to insert every section in this simple way:
Code: Select all  •  Open in writeLaTeX
\section{Name of the section}

Here is my preamble.
Code: Select all  •  Open in writeLaTeX
\documentclass[12pt, a4 paper]{article}\usepackage[italian]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{amssymb} \usepackage[top=1.0cm, left=2cm, right=2cm, bottom=1cm, includefoot]{geometry} \usepackage{latexsym}\usepackage[usenames]{color}\usepackage{fancyhdr}\usepackage{graphicx}\usepackage{pdfsync}\usepackage{epsfig} \usepackage{wrapfig} \usepackage{txfonts}\usepackage{mhchem} \usepackage{mathtools} \usepackage{mathcomp}\usepackage{slashed} \usepackage{makeidx}\usepackage{mathrsfs}\usepackage{braket}\usepackage{dsfont} \usepackage{tocbibind} \usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=blue]{hyperref}

I think that there must be some kind of incompatibility in my preamble. I tried various combinations but nothing works. Thank you for any help.
Magnolis

Posts: 13
Joined: Wed Apr 4th, 2012

### Re: Hyperlinks cannot be clicked

Hi!

I tried running your example and get an error from amsmath:
Code: Select all  •  Open in writeLaTeX
Command \iint already defined

When I load the txfonts package last, after hyperref, the error disappears and the index is produced correctly.

tom

Posts: 73
Joined: Thu Apr 18th, 2013

### Re: Hyperlinks cannot be clicked

Hi, thank you for your answer, but it does not work for me.

I also tried to create a new minimal document (index, 1 section, 1 subsection, and only the hyperref package), same result, with 0 errors and 0 warnings: blue links, not clickable.
I really don't know what to do now.
Magnolis

Posts: 13
Joined: Wed Apr 4th, 2012

### Re: Hyperlinks cannot be clicked

tom wrote:[…] I tried running your example and get an error from amsmath […] When I load the txfonts package last, after hyperref, the error disappears and the index is produced correctly.

This is certainly not the problem. The problem is caused by mathtools (which loads amsmath) and therefore has be loaded before the txfonts package. There are some packages which should be loaded after hyperref, but the aforementioned are not among these.

Magnolis wrote:[…] I also tried to create a new minimal document (index, 1 section, 1 subsection, and only the hyperref package), same result, with 0 errors and 0 warnings: blue links, not clickable. […]

Please attach the PDF output of this sample document along with its LaTeX source to your next post by upload to the forum server. It seems to me that this is not a LaTeX problem but more one of the viewer.

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

### Re: Hyperlinks cannot be clicked

.tex and .pdf uploaded.
Code: Select all  •  Open in writeLaTeX
\documentclass[12pt, a4 paper]{article}\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue,citecolor=blue]{hyperref}\begin{document}\tableofcontents\section{Section}\subsection{Subsection}\end{document}

I compile the .tex file using LaTeX->DVI->Pdf (it's the only working method for me).
Attachments
Pdf example.pdf
(5.21 KiB) Downloaded 43 times
Pdf example.tex
(223 Bytes) Downloaded 40 times
Magnolis

Posts: 13
Joined: Wed Apr 4th, 2012

### Re: Hyperlinks cannot be clicked

I can comprehend the problem. A solution can be found in an earlier discussion.
Magnolis wrote:[…] I compile the .tex file using LaTeX->DVI->Pdf (it's the only working method for me).

Why is that the only possible way for you to compile? Can you elaborate?

By the way, the epsfig package is obsolete for a long time.
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

### Topic Tags

hyperlinkshyperref

Return to Page Layout

### Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 3 guests