{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

233
votes
7answers
55k views

Remove ugly borders around clickable cross-references and hyperlinks

I know that I can use hyperref to make cross-references and hyperlinks clickable. That makes the clickable areas outlined in fluorescent green, however. How can I make the green boxes go away?
110
votes
10answers
8k views

Which packages should be loaded after hyperref instead of before?

The hyperref documentation says: "Make sure it comes last of your loaded packages". The reason is that it redefines many LaTeX commands. It's a rule of thumb that helps to avoid errors. However, ...
63
votes
2answers
4k views

Is there a way to have coloured hyperref hyperlinks in the PDF, but have them print “as if” they were black?

I like having my hyperref hyperlinks a different colour, so it's obvious that they are links. But when I print a copy of the PDF, I don't want the links to be coloured, because you can't click them, ...
62
votes
6answers
37k views

How to get DOI links in bibliography

I would like to add to all my bibliography items a DOI (Digital Object Identifier) link or a link to a download location. How can I do this with the natbib / BibTeX / hyperref combination? Currently ...
43
votes
3answers
14k views

When do I need to invoke \phantomsection?

Inspired by question When do I need invoke \clearpage manually?: When do I need to invoke \phantomsection? In what condition is invoking \phantomsection necessary?
37
votes
2answers
10k views

Hyperref warning - Token not allowed in a PDF string

When compiling a beamer presentation and using the following \author command \author{Name \\ \texttt{my.email@domain.com}} I get the following hyperref warning in my logfile Package hyperref ...
36
votes
1answer
2k views

Footnote backreference with hyperref

This question led to a new package: footnotebackref I'm using hyperref to have footnote marks link to the footnote proper and I'd like to have some sort of "backreferences" from the footnote ...
35
votes
4answers
23k views

How can I make a clickable Table of Contents? [duplicate]

Possible Duplicate: How to make clickable links and cross-references in pdfs produced by LaTeX? I need links for the Table of Contents, so that I can navigate fast to different sections. I ...
34
votes
3answers
2k views

How to preserve hyperlinks in included PDF?

I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as ...
32
votes
3answers
2k views

Is hyperref really the best way to add metadata to a TeX file?

So I know one of hyperref's features is that it can add metadata to you PDFs. This is a nice feature and if you're putting stuff online, it's good to include metadata. But is the hyperref package ...
32
votes
2answers
12k 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 ...
30
votes
3answers
2k views

Best practice for hyperref link colours?

I'm using the hyperref package with the option colorlinks=true. However, I'm not happy with the default link colours: for instance, citation links appear in a flamboyantly bright green that hurts my ...
30
votes
1answer
11k views

pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored

I get the following warning pdfTeX warning (ext4): destination with the same identifier (name{page.1}) has been already used, duplicate ignored when compiling the following document: ...
29
votes
6answers
11k views

Multiple references to the same footnote with hyperref support - is there a better solution?

According to the Latex wikibook the workaround for having multiple references to the same footnote with hyperref support is this: \footnote{This is the ...
28
votes
1answer
14k views

Hyperref - Token not allowed [duplicate]

Possible Duplicate: Hyperref warning - Token not allowed in a PDF string The following code: \subsection{The classes $\mathcal{L}(\gamma)$} generates the errors: Package hyperref ...
28
votes
3answers
2k views

biblatex: make title hyperlink to DOIs, URL or ISBN

This is a follow up question to biblatex: Make title hyperlink to doi url (if available). My reference database contains some DOI codes, but mainly normal URLs and some ISBN/ISSN codes. What I would ...
28
votes
4answers
2k views

Pop-up references in PDF output

I once saw a maths journal which offered PDFs of published papers, where the bibliographic references were formatted as PDF annotations: if you moused over a reference in the text, the bibliography ...
27
votes
5answers
3k views

Does hyperref work between two files?

Can I create a link from one file into another one. So that when the resulting pdf files are in the same directory the link takes me from one to the other? Does another package do that? Added on ...
26
votes
3answers
6k views

Contents in PDF bookmarks

I am using KOMA-Script (scrreprt) and hyperref. The PDF bookmarks are generated nicely from the table of contents, but I would like an extra Contents bookmark to point to the table of contents itself ...
26
votes
1answer
9k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
26
votes
2answers
1k views

Mouseover events in beamer: hovering on \eqref and a comment containing the original equation popping up

This idea came into my mind while I was listening to a speaker presenting his results in a seminar, he used lots of equation references in his later slides, however I can't remember which equation he ...
25
votes
1answer
1k views

Impact of hyperref, when varioref and cleveref are used

I think I may have found a bug in either hyperref, cleverefoder varioref but can't determine the details any further. If do not load hyperref in the following example, the result is fine. ...
24
votes
2answers
612 views

Automatically link bibliography entry to Google Scholar when no url field is present

Something I thought would be absolutely amazing but is way beyond my BibLaTeX skills: whenever there is no url field, generate a link that searches for the title, authors and year on Google Scholar. ...
24
votes
2answers
487 views

Breadcrumb hyperlink header

I wish to put breadcrumb navigation with hyperlinks into the header of each page. Clicking on each part, chapter, section will take you to the beginning of that part/chapter/section. I'm already ...
24
votes
1answer
852 views

PDF/A with hyperref on TeX Live 2013

I am trying to make PDF/A from LaTeX (not from LuaTeX etc.) with TeX Live 2013 on Fedora Linux. This works: \documentclass{article} \begin{document} What cat says? \label{meow} See question on ...
24
votes
1answer
936 views

Relative chapter references

(A follow-up of sorts on Variable chapter references, as per @werner 's suggestion) This is somewhere in between a request for comments and an actual question (as well as a summary of my experiences ...
23
votes
4answers
10k views

No section numbers, but still have PDF bookmarks with hyperref

I have a document that has many sections. I don't want section numbers to show up in the document, but I do want the sections to show up automagically as bookmarks in the PDF using the hyperref ...
23
votes
3answers
2k views

Automatic “Zoom in” hypertext boxes in PDF

I remember long time ago, seeing PDF documents (such as online PDF versions of newspapers) that had hypertext boxes around paragraphs, such that when you clicked inside those boxes the surrounded ...
23
votes
2answers
11k views

Conditionally hidden slides in beamer

When creating a presentation, I sometimes create extra slides that contain additional information, a more thorough explanation, or an extra plot pertaining to certain parts of my talk. These extra ...
23
votes
1answer
3k 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)
22
votes
3answers
3k views

Arxiv.org: remove borders around hyperlinks

The answers to this question already explain how to remove the borders around hyperlinks. However, if I submit a manuscript to Arxiv.org, it seems that their system somehow manages to override the ...
22
votes
1answer
320 views

How to create identical PDF files?

If I run pdflatex on the same .tex file, the resulting PDF files are not bitwise identical. How can I achieve that? Minimal example: \documentclass{article} \usepackage[pdftex]{hyperref} ...
21
votes
2answers
3k views

Make hyperref take pdfinfo from \title and \author

I once read about an option for hyperref that automatically takes the info provided via the standard \author and \title, and puts it into the pdfinfo. Now I want to implement it in my template and ...
21
votes
1answer
10k views

options for appearance of links in hyperref

If I use \usepackage[colorlinks]{hyperref} I get colored links for \cite (not good for printing or even viewing) but table of content looks fine. If I use ...
21
votes
1answer
737 views

href to an image label - how to jump to the image instead of the caption below the image?

I'm using the following command to embed images in my LaTeX document (which is then rendered as PDF) \newcommand{\img}[4]{ \begin{figure}[!hbt] \centering \vspace{1ex} ...
21
votes
1answer
2k views

Selectively turn off hyperref links

I'm writing a document which includes a list of URLs that I want to be clickable, so I'm using hyperref to achieve this. This has the awkward side effect that my equation numbers, some of which I ...
21
votes
1answer
2k views

Creating a PDF bookmark that goes straight to a section heading, not above or below it.

Is it possible to create a new bookmark to a section heading that is not listed in the Table of Contents (i.e., using the starred form — \section*{A title})? \pdfbookmark (part of hyperref.sty) or ...
20
votes
3answers
3k views

hyperlink name with biblatex authoryear

I am using biblatex with the authoryear styles. So far I've been able to find everything I need easily in the excellent documentation, but I'm stuck on one thing. With my current settings (below) ...
20
votes
1answer
13k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
20
votes
2answers
779 views

Is there any harm using hyperref for a document destined for printing?

I am using the hyperref package in my LaTeX document, and then using pdflatex to generate the pdf file. Is there any harm in print quality, in using the hyperref package? Or should I have two ...
20
votes
2answers
1k views

hyperref, natbib and PDF/A-compliance

My e-Thesis submission is required to be in PDF/A-1b format, and I'm having difficulty producing output that meets this standard using LaTeX. I have successfully typeset a chapter using dvips to ...
19
votes
5answers
2k views

Constructing a dynamic PDF

I wish to create a dynamic PDF file to write an article. This article will contain some theorems. The user will click a theorem and this will drill down to reveal the proof of that theorem. I think ...
19
votes
2answers
2k views

Wrong (hyper-)references after resetting chapter counter

The following MWE produces a PDF whose TOC has two entries: “Foo” and “Bar” with correct page numbers. So far, so good. However, upon clicking on the link to “Bar”, I am taken to the page for “Foo” ...
19
votes
2answers
4k views

How to disable links completely using hyperref package?

A have a LaTeX paper I want to submit to the EDAS system. EDAS doesn't want papers to have links and suggests to 'remove the hyperref package from your file'. However, if I do that, my compilation ...
19
votes
1answer
640 views

TikZ image with hyperlinks --> GIF/PNG image + HTML image map

I have a (complex) TikZ-based figure with hyperlinks. Now I need a web version of this figure that preserves all hyperlinks. Converting the PDF to GIF or PNG is trivial, but for the hyperlinks I ...
19
votes
2answers
2k views

Multiple references with \autoref

I am currently using the \autoref command from the hyperref package to refer to my theorems etc. However, I want to be able to (easily) refer to two or more theorems/lemmas/..., e.g. by calling ...
18
votes
4answers
934 views

What to do with this hyperref note on amsmath?

http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/ has this note copied below: amsmath ------------- The environments equation and eqnarray are not supported too well. For ...
18
votes
1answer
2k views

Clickable “tel:” URL for TeX resume

I need to make my telephone number clickable. You might be familiar with this in Gmail's clickable phone numbers that dial out to your mobile phone, for example. I'm working on my resume, and I'm ...
17
votes
2answers
4k views

\ref should use enumerate label name

I have done this: \begin{enumerate} \renewcommand{\labelenumi}{\textbf{S.\theenumi}} \item a \item \label{l} b \item c. goto \ref{l} \end{enumerate} The \ref just uses the enumerate number. But I ...
17
votes
1answer
650 views

How to configure Latex to open the last page in PDF reader?

I edit big documents, so it is useful for me to open the last page after compilation. Normally, the first page is opened, but by using hyperref, I can configure it to open any page at start. ...