{hyperref} is a package capable of producing hypertext links in documents. If your question is about cross-referencing in general, choose {cross-referencing}. If it's specifically about PDF features, consider to choose {pdf}.

learn more… | top users | synonyms

3
votes
1answer
1k views

Two table counters and hyperref links

I have a document with two sets of tables. The first set, numbered 1 to 5, are in the main body of the text. The second, numbered 1 to 3, are in an appendix. When I use \ref to link to one of the ...
3
votes
4answers
826 views

Why did they put PDF titling in the hyperref package?

The ability to title/attach an author to a published PDF file is in \hypersetup which is part of package hyperref. But it seems rather unintuitive to me that the pdftitle, pdfauthor, pdfsubject items ...
9
votes
1answer
2k views

TeXlipse Hyperref generates “Key http://link is undefined” warnings? [closed]

When using the hyperref package, I keep getting this warning that says something like: Key ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf is undefined whenever I include an http link. ...
51
votes
2answers
30k views

How can I have colored and underlined links with hyperref?

I would like the internal hyperlinks generated by hyperref to be colored and underlined. Reading some of the package documentation, I know that these \hypersetup keys exist: colorlinks: when true,...
8
votes
2answers
446 views

How do I get references in subscripts to be the right size when compiling to dvi with hyperref?

(Having investigated the original question, I'm taking the liberty of re-writing it as I've found a MWE and so isolated the problem, but I don't know a solution. Andrew Stacey.) The scenario is as ...
2
votes
1answer
4k views

hyperref pdf table of contents messed up (probably bookmarks problem)

I have trouble with my thesis document. The sidebar table of contents (when opening in a pdf viewer) has a wrong ordering. Even though chapter 1 and chapter 2 are on the same hierarchical plane in the ...
8
votes
2answers
2k views

Disable hyperlinks in some entries for glossaries

I am using the glossaries package a lot in my thesis. There are some entries which appear very frequently throughout the whole document. I would like to disable hyperlinking for these entries but keep ...
2
votes
3answers
6k views

Installing xcolor

I get the error: ! Package hyperref Error: This color specification is not supported (hyperref) without package `xcolor' in (hyperref) `linkbordercolor=111'. See the ...
4
votes
2answers
2k views

Error when trying to use \MakeTextUppercase to customize the table of contents

I get the following error when trying to use \MakeTextUppercase to customize the table of contents: ! Undefined control sequence. \find@pdflink ...ode \protected@edef \Hy@testname ...
4
votes
1answer
797 views

Error using russian letters for appendix counter with hyperref and subfig

I'm preparing a text in russian with pdflatex. According to standard appendices must be numbered with russian uppercase letters. But I've found that if subfloats used in appedix, the hyperref ...
6
votes
2answers
2k views

“Manual” customizable reference text

For a document I am writing, I am considering a table indexed by references to positions in the text with a description of each item. I know already that I can create a phantom section, and make a ...
0
votes
1answer
186 views

Hyperref levels are embedded, aren't being reset

I'm using the hyperref package with a custom class, and I'm having a problem with hyperref not creating the tree correctly. What I expect to see is this: + Section 1 ++ Section 1.1 ++ Section 1.2 +++ ...
6
votes
1answer
523 views

Is it possible to create a hyperlink from an \includegraphics picture?

I'd like to make an image clickable, meaning I want to turn it into a hyperlink. I am including the image via \includegraphics but I am not sure how to make it clickable. Anyone knows how to do that?
11
votes
3answers
5k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
12
votes
2answers
6k views

How do I get rid of particular pdftex warning message?

Here is a minimal example that showcases my problem: \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \usepackage{cleveref} \newtheorem{thm}{Theorem} \newtheorem{lem}[thm]{Lemma} \...
0
votes
1answer
853 views

How to link items in TOC using beamer

I am preparing a fairly straight forward presentation using beamer. My question is this--how do I link items in my table of contents to the appropriate section/subsection? I feel as if there is ...
5
votes
3answers
3k views

How to get autoref working with different counters for different listing environments?

In my document I want several different custom listing environments. The solution from fraktalek works like a charm, except for one thing: \autoref doesn't work for me. I have tried the following: \...
11
votes
1answer
2k views

Selected references without hyperlink

When using the hyperref package, is it possible to tell LaTeX not to create a link for some references? In my case the page number is displayed in the footer in \fancyhf[FC]{\thepage\ of \pageref{pg:...
4
votes
2answers
432 views

How to ask hyperref works only with href

How to ask hyperref works ONLY with \url and \href commands?
8
votes
3answers
238 views

Can I force hyperref to use a custom driver?

As part of a project to get LaTeX to output something useful, I found myself wanting to write a new hyperref driver for the desired format. The documentation explains what a driver needs to do, but ...
1
vote
1answer
438 views

wrong page numbering in the bibliography using fncychap

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? \...
3
votes
2answers
463 views

How to hyperref a pageref in second half of an algorithm, independent of first half

I'm struggling with something that seems pretty complicated to me, but maybe there's a way better solution already out there. If not, I'd really appreciate any help with getting the following problem ...
9
votes
2answers
1k views

autoref names messed up when defining certain ntheorem theoremstyles

I define a theorem style pretty innocuously, to get things looking a bit more like amsthm theorems. But - my \autoref{}s become messed up with optional arguments of theorem environments. \...
7
votes
2answers
2k views

hyperref, lualatex and unicode bookmarks issue (garbled page numbers in AR for Linux)

I have text with some non-ascii characters in chapters, sections... which I'd like to see in bookmarks displayed correctly. I noticed that, If I run xelatex, everything is fine, no need to set \...
4
votes
1answer
549 views

How to link images to their entry in list of figures?

Right now I embed images like that: \begin{figure}[htb] \centering \includegraphics[width=0.5\textwidth]{images/some.pdf} \caption[Description in LOF, taken from~\cite{source}]{Caption ...
2
votes
0answers
1k views

BibTeX style file with hierachical use of DOI, URL fields [closed]

My custom BibTeX style currently does almost exactly what I want it to do: The title of the paper is a hyperlink, using the URL field in the BibTeX if one is provided, and using http://dx.doi.org/ ...
1
vote
1answer
177 views

Hyperref-ize the keywords in toc

once I asked in Insert key words & key phrases into toc whether it is possible to insert some keywords in the toc that it looks like this: Contents 1 section .............................1 key ...
3
votes
1answer
413 views

hyperref, smfbook, and bibliographies

I am writing a paper/book for a French journal, which requires use of the package "smfbook." Everything seems to work fine, except that hyperref, smfbook, and the bibliography do not seem to work well ...
15
votes
1answer
4k views

natbib and hyperref for (Author, Year) style produces two links

I am using the bioinfo style with natbib and hyperref, using the (Author, Year) style citations. pdflatex produces two link boxes for each citation: one for the Author and one of the Year. I would ...
3
votes
1answer
607 views

Why does hyperref bookmark work?

The \appendix command resets the section counter to zero: *\documentclass{article} *\show\appendix (/usr/share/texmf-texlive/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h ...
31
votes
1answer
5k views

biblatex: Make title hyperlink to doi url (if available)

I'm using biblatex with the standard bibliography style. How or what should I modify so that the title is turned into a link pointing to a suitable doi url? (of course only if the doi is available)
10
votes
1answer
850 views

Italic index entries have no link in PDF

I have a problem when adding index entries. When I use just the vanilla \index{...}, the generated PDF contains links on the page numbers in the index. But when using \index{...|textit} to mark index ...
8
votes
1answer
1k views

\subsection{\citeauthor{some-bib-ref}} => “Token not allowed in PDF string”

I've got a section in my document in which every \subsection{} is about some paper and should be headed by a (textual) reference to that paper in the bibliography. However, with hyperref included, \...
0
votes
2answers
512 views

ntheorem + autoref + aliascnt cause TeX to exceed grouplimit capacity

I'm using MikTeX 2.9. When processing the following: \documentclass{article} \usepackage{hyperref} \usepackage[hyperref]{ntheorem} \usepackage{aliascnt} \newtheorem{lemma}{Lemma} \newaliascnt{...
5
votes
1answer
873 views

Enclosing Page Numbers using the `Backref=Pages` Extension of `Hyperref`

I'm using the backref=pages extension of the hyperref package, as I'd like to have a list of back-reference pages after my bibliographic items. Is there a way to enclose these page numbers in brackets ...
11
votes
1answer
3k views

Hyperref pointing is incorrect in the Table of Contents

I'm observing strange behavior with hyperref and the \tableofcontents. Clicking on List of Tables or Synopsis takes me to the Preface page. Perhaps it has something to do with \chapter* titles for ...
1
vote
1answer
4k views

Hyperlinks not working after preview?

I have used hyperlinks throughout my thesis, but then after previewing the pdf output and saving it for printing, the links are gone. Any idea why this occurred? Here's a working example: \...
4
votes
1answer
694 views

How can I change links made by hyperref?

My document: \documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[utf8]{inputenc} \usepackage[hidelinks,unicode]{hyperref} \usepackage[T1,OT4]{fontenc} \usepackage{graphicx} \...
10
votes
1answer
2k views

How to hyperlink only the year part when using natbib and hyperref

I am using the natbib and hyperref packages: \usepackage{natbib} \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, citecolor=...
17
votes
3answers
14k views

I cannot get a (properly) underlined hyperlink in blue

First I just ignored the hyperref package and just wanted something that 'looked' like a link: \underline{\color{Blue} http://soundcloud.com} but I end up getting an underline about 3mm below the ...
0
votes
1answer
941 views

hyperref vs includepdf

\documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[cp1250]{inputenc} \usepackage{pdfpages} \usepackage[hidelinks]{hyperref} \renewcommand\baselinestretch{1.5} \usepackage{etoolbox} \...
7
votes
2answers
1k views

Package incompatibilites: etoolbox, hyperref, and bm, standalone?

I am trying to transition to using the etoolbox package, but seem to have run into some difficulties and they appear related to the hyperref and bm packages which to me seem totally unrelated. The ...
8
votes
1answer
5k views

A button that runs an external program from a Beamer PDF presentation

I want to add a "run demo" button to a Beamer presentation (PDF file) that will launch an external Java application. Can this be done somehow - Embed an "exec" command inside a PDF using LaTeX/Beamer?...
2
votes
1answer
427 views

hyperref package - link boxes are too small (overlap the text)

The boxes the hyperref package creates around links in my document are too small, hiding out the characters. I'm using latex to get a DVI, then dvi2pdfm to get a PDF. Both from MikTex 2.8. Here'...
2
votes
3answers
2k views

Hyperref links in bibliography do not work

I added the hyperref package and got some errors. Thus I deleted the auxiliary files and compiled again. This time there were no errors, and the links work except in the cites (bibliography), where I ...
1
vote
1answer
158 views

Getting back to the toc by clicking on headlines in the text. How to do it?

I am working with texshop which lacks of a proper navigation (or I didnt find it yet). To make it easier to navigate through the document I would like to make all the headlines clickable in a way that ...
7
votes
1answer
271 views

Show hyper targets in resulting document

The showlabels package can show labels (made with \label) in the margin of the resulting document (simply by loading the package). I'm looking for similar functionality but for \hypertarget (from the ...
2
votes
1answer
1k views

How do I combine hyperref and classicthesis without errors using (dvi)latex.

I'm trying to get this document to work using the latex command. \documentclass{scrreprt} \usepackage[english]{babel} \usepackage{subfig} \usepackage{hyperref} \usepackage{classicthesis}% \begin{...
8
votes
2answers
413 views

Why hyperref doesn't like commands set via \let in section titles?

pdflatex returns on below document \documentclass[a4paper]{article} \usepackage{hyperref} \let\code\texttt \begin{document} \section{\texttt{first}} \section{\code{second}} \end{document} following ...
6
votes
1answer
2k views

part with setcounter — destination with the same identifier

When using two parts in my document and resetting the counter for the second one, I get the following warning: destination with the same identifier (name{section.1}) has been already used, ...