{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

14
votes
1answer
2k views

How do I make an attached file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and\textattachfile[color=1 1 1]{description}{file.pdf}. How can I make the text look the same as it would if I had used the ...
14
votes
1answer
2k views

List section in pdf bookmarks, but omit in LaTeX table of contents

Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both. Is it ...
14
votes
1answer
5k views

Precise back-reference target with hyperref and backref

The backref option and its variants in the hyperref package allow to include back-references in the bibliography to the page(s) or section(s) in which a given reference was cited. The target of the ...
14
votes
1answer
12k views

How to disable initial view of PDF bookmarks panel?

The hyperref package automatically creates a list of PDF bookmarks, and it configures the PDF to have the initial view display the bookmarks panel, at least in Foxit Reader and Acrobat. To see the ...
14
votes
2answers
1k views

Option unicode=true with hyperref

Is there a drawback when using the option unicode=true with the package hyperref and the engines PDFTeX, XeTeX and LuaTeX? In other words, can a portable document always have ...
14
votes
1answer
263 views

Making TikZ path into a hyperlink

I'd like to know if there's a way to make an arbitrary closed path in TikZ into a hyperlink; either directly or by turning it into a node. Here's an example of code to work with: ...
14
votes
1answer
447 views

Make backrefs invisible in hardcopy

Is there a way to make bibliography back-references display and hyperlink in a PDF file but not print in a hard copy. When I use \usepackage[colorlinks=false,backref=page]{hyperref} I get a red ...
13
votes
2answers
14k views

Option Clash for Hyperref Package

Hi friends i am beginner to Latex. when i run this code i am getting the error "! LaTeX Error: Option clash for package hyperref." Here is the code: \documentclass[11pt,a4paper]{moderncv} ...
13
votes
2answers
1k views

biblatex-apa and hyperref: right parenthesis not part of link for \textcite

I use biblatex-apa citation style. I also use hyperref with colour links, rather than ugly coloured boxes. When I use \textcite the author name and year are both part of the link, but the right ...
13
votes
2answers
6k views

Hyperref + \url: long URL with dashes won't break

I've discovered a rather weird behaviour of PdfLaTeX. In this example \documentclass{article} \usepackage[breaklinks]{hyperref} \begin{document} ...
13
votes
2answers
4k views

How to return to original .pdf presentation after open a .pdf linked file?

I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like: \href{name_file_to_open.pdf}{here I put a link to a figure which is working well} It works ...
13
votes
2answers
9k views

Link formatting: colors, underlines in moderncv

Following the excellent advice in this site, I have started using moderncv for writing the new version of my CV. Unfortunately, after converting to PDF, my http links work (clicking on them leads to ...
13
votes
1answer
21k views

Further customize color of hyperref links

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
13
votes
2answers
3k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
13
votes
1answer
826 views

Getting cleveref to mark all of “Lemma 1” as a hyperlink, not just “1”

I recently discovered the very nice cleveref package, and really like. Works much better than autoref (from hyperref) for me. There is only one thing I don't like: If, for example, the \cref command ...
13
votes
2answers
537 views

\#\#\#\# becomes “##” in printout

I want to refer to a url using "####" as a stand-in for the many four digit codes which could take it's place. But this ... \documentclass{scrartcl} \usepackage{url} \usepackage{hyperref} ...
13
votes
1answer
3k views

Difference between bookmark levels greater than one - what does this mean?

When compiling my LaTeX file, I received this warning message. Though I got the PDF file, I still want to know why this warning comes and how to fix it. It occurs in this line. \paragraph{Plane ...
13
votes
3answers
343 views

Gobbling an argument if it starts with #

My problem comes from pandoc and markdown, but it is not directly related with these tools, but instead with "customizing" the resulting pdf via some tex macro programming, so I think it is on topic. ...
13
votes
1answer
415 views

highlights path sequentially BUT in order of clicking

I have been looking for a possibly difficult answer to a simple question. I would like to be able to highlight paths on a TikZ picture. I would like to highlight these paths by clicking on them and at ...
13
votes
1answer
1k views

hyperref: pdftitle and wrong character encoding [duplicate]

Possible Duplicate: Using non ASCII characters in author names and titles within hyperref pdfinfo \documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[utf8]{inputenc} ...
13
votes
3answers
2k views

How to change the PDF producer metadata with XeLaTeX on MikTeX

I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
13
votes
3answers
612 views

Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
13
votes
1answer
451 views

Change format of hyperref generated PDF bookmarks

In a generic way, how can I change the format of bookmarks generated automatically by hyperref (or bookmark)? By generic, I mean the ability the customize the bookmark format for part, chapter, ...
13
votes
1answer
262 views

Box around raggedright links spanning two lines extends to right margin

I need to use boxed links and ragged right text. The problem is that when a link spans two lines, though the link is broken correctly (when using pdflatex) the box around the linked text extends until ...
13
votes
1answer
896 views

hyperref fillable forms - breaking the rules

The hyperref manual states clearly: You must put your fields inside a Form environment (only one per file). However, I can put form fields outside of a Form and I can put more than one Form ...
12
votes
4answers
626 views

Set chapters at section level in the table of contents

I have: \chapter{My first chapter} \chapter{My second chapter} \phantomsection \addcontentsline{toc}{chapter}{Appendixes} \appendix \makeatletter \def\toclevel@chapter{1}\def\toclevel@section{2} ...
12
votes
2answers
374 views

LuaLaTeX and hyperref ate my document (properties). How do I get them back?

I use hyperref for a number of reasons, but among other things it sets up the document properties up well. As long as I compile with XeLaTeX that is. As soon as I compile with LuaLaTeX, everything is ...
12
votes
1answer
641 views

What is a nice design/implementation for “back to the top”?

I want the reader of output of a PDFLaTeX be able to go back to the table of content or first page. What is a good way of doing this? Most PDF readers provide a TOC and navigation system but I was ...
12
votes
3answers
2k views

Symbol for external links

I'm using the hyperref package in my document to provide hyperlinks to external documents. However, I don't want to have the links coloured or underlined, because I find this usually ugly and ...
12
votes
2answers
1k views

Biblatex, authoryear-comp, and hyperlinks

In answer to this question, Audrey offered an answer that works great with the authoryear option. (Context: I'm trying to get the hyperlink in citations to include the name of the author, and not ...
12
votes
4answers
1k views

Thumbnails of other frames in beamer

I would like to make a presentation with beamer, and have a few frames (at the start or the end) containing thumbnails of the other frames, hyperlinked to them, with something like 4x3 or 5x4 ...
12
votes
2answers
304 views

How to change the PDFBookmark titles (hyperref)

I am looking to change the title which displays in the PDF bookmark tabs to match the format of how I have my chapters listed. \documentclass[]{report} \usepackage[hidelinks]{hyperref} %to add ...
12
votes
2answers
208 views

Create a register of persons with references

To Create a register of persons with biblatex seems to be much more complicate then i expected. How can i create nice a register of persons semiautomatic with \ref? Lets assume i have 20 persons ...
12
votes
1answer
539 views

hyperlinking author names in biblatex when using \citeauthor

Using biblatex, the \citeauthor no longer is hyperlinked by default (as done in natbib). I am currently desperately looking for a way to make it a hyperlink ... any suggestion welcome
12
votes
1answer
601 views

Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} ...
12
votes
1answer
1k views

How to force hyperref to reference only \cite and not \citeauthor or \citeyear?

I would like hyperref to make links only when I use \cite and not with \citeyear and \citeauthor. Here is an example : \documentclass{article} \usepackage[numbers]{natbib} \usepackage{hyperref} ...
12
votes
1answer
1k views

Creating a new environment with referencing

I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
12
votes
2answers
639 views

Best way to part answers from solutions?

Now, if anyone could change the title into something better that would be great =) I am writing a rather long document, which contains plenty of integrals. I have a big list of integrals sorted in a ...
12
votes
2answers
3k views

How to create a link in a pdf document to open a file using a specified application installed on the machine?

Assume I have a file on my machine at file:///c:\figure.bmp. From my pdf document, that is created by LaTeX using hyperref.sty, how can I open figure.bmp using mspaint.exe (microsoft built-in image ...
12
votes
2answers
1k views

Beamer ignores citecolor from hyperref

How do I make citation links green in Beamer? It seems that Beamer ignores the hyperref option citecolor. I tried using the linkcolor option instead, but that affects all links (such as the link to ...
12
votes
3answers
348 views

Test the hyperlinks of a pdf document [closed]

Is there any way to test the hyperlinks of a pdf file ? Suppose I have a pdf file containing a large number of hyperlinks, can I test automatically the response I will have when following those links ...
12
votes
3answers
3k views

How to enforce generation of PDF table of contents?

When I'm adding \tableofcontents to my document the PDF generated contains a nice list of sections/subsections on the left side, when viewed in Adobe Acrobat (I also use hyperref package). Everything ...
11
votes
3answers
424 views

Why does hyperref overrule so many things?

One very usefull package is the hyperref-package. However a lot of times this package interferes with other packages or structures within a LaTeX document. So what is it about hyperref that makes it ...
11
votes
3answers
1k views

Which package should I load first: hyperref or bookmark?

I came to this question after looking for a way to explicitly end a \part (as described in this question: ...
11
votes
1answer
2k views

Incorrect target of \label link produced by hyperref

In the following code, the command \label{my} appears on page 4, as well \pageref{my} says "4", but the hyperlink points to the page one. Why is that? \documentclass{book} \usepackage{hyperref} ...
11
votes
3answers
762 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
11
votes
2answers
270 views

hyperref causes problem with doc.sty

Try the following code. Without hyperref everything is fine and there’s the right entry in the index. With hyperref this entry disappears. (The codeline entries which are not shown here ar not touched ...
11
votes
2answers
626 views

Type '{' '}' in url

I would like to type brace symbol inside a URL using the url or hyperref package. Is there a way to do that ? (the idea is to typeset REST-like URL, as for example, http://foo.bar/orders{orderID}
11
votes
2answers
27k views

How to add hyperlink in Latex generated pdf (without a surrounding bluebox) [duplicate]

Possible Duplicate: Remove ugly borders around clickable crossreferences and hyperlinks I want to generate a pdf from latex with hyperlinking text - i.e. when some part of text in the pdf ...
11
votes
2answers
2k views

How to use nameref to refer to a section without including the output of any commands in the title of that section?

Background (simplified) I'm using the todonotes package to add todonotes to sections in my documents. I have created a macro to add the todonotes to sections such that they appear alongside the ...