{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
0answers
7 views

Troubles with hyperref and Tikz externalization

Consider the following example : \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} \usepackage{tikz} \usepackage{xparse} ...
2
votes
1answer
19 views

Color Options for Appearance of Links in Hyperref

Extending this wonderfully useful post ("options for appearance of links in hyperref"), I am curious if you might list all the color options (or point me to the appropriate documentation) for ...
3
votes
1answer
16 views

elsarticle class: how to get coloured links without boxes?

I'm using the elsearticle class. At present the links (citations, equation references, etc) are put in coloured boxes and I'd rather have the links coloured without boxes. So I tried putting ...
0
votes
0answers
13 views

link in bibliography

when you write a reference you have the option to add a link to this reference, either to a file on the network or web page and I've managed to do it is link to what you see in bold Berbad, Francesc ...
5
votes
2answers
143 views

\ref shows the right label but jumps to the wrong \label

in this MWE you can see/explore (hopefully, as it does not work for me) that \ref{tab:2} produces the right label but if you click on it, it will lead you to the \label{tab:1}. \usepackage{appendix} ...
80
votes
6answers
55k 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 ...
1
vote
0answers
24 views

Classicthesis, acro and hyperref clash

I'm trying to get acro to work with classicthesis and with the hyperref option, but to no avail, though errors are gone when the hyperref option in acro is removd. The MWE is quite long on this one. ...
2
votes
1answer
130 views

How to use showkeys with hyperref?

The "ChangeLog for hyperref bundle" file claims that support for the showkeys package was added to hyperref in various stages on 2000-05-08, 2001-01-27, and 2007-05-29. However, there still seem to ...
5
votes
1answer
35 views

Beamer's \pause doesn't delay hyperref's borders

When using \pause in beamer, link borders created by hyperref will appear even if the link text and the link itself (in \href{}) both appear after the \pause. How can I delay the border until the link ...
1
vote
1answer
16 views

knitr creating a wrong second “#” in a deep hyperlink

I would like to compile a .Rnw Document in RStudio with knitr that includes a "#" in the hyperlink (deeplink) of a float caption. See the minimum working example: (compiled with R Studio Version ...
22
votes
2answers
3k 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 ...
8
votes
4answers
1k views

Fixing JAIR style

According to the Eigenfactor ranking of journals, the Journal of Artificial Intelligence Research (JAIR) is a leading open-access journal in AI. Unfortunately, the JAIR style files are twenty years ...
5
votes
2answers
10k views

Add a hyperlink in bibtex

It's cool to add a hyperlink in references like this: I want to know how to add the blue box in bibtex. For example, the following article's link is "ee". @inproceedings{DBLP:conf/osdi/DeanG04, ...
8
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. ...
0
votes
1answer
43 views

Hyperref links lost when using latex --> dvips --> ps2pdf

Given a latex file using the hyperref package, I wish to convert it to pdf via: latex "foo.tex" dvips "foo.dvi" -z -P Pdf ps2pdf "foo.ps" However, all hyperlinks are lost this way! Here's a ...
0
votes
2answers
22 views

Line breaking with hyperref href with an underline in itemize

I have a simple itemized list like the following MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
4
votes
0answers
84 views

How to produce bibliography hyperlinking journal title with url?

BibTeX exported from scientific journals usually have all the informations you need to cite them; one of them is the url. For saving space i would prefer to hyperlink the name of the journal rather ...
5
votes
1answer
39 views

Interpret TeX commands and remove curly braces from \href{} content

Context: In order to create DOI links I define a command\doi{<enter doi here>} as \newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{doi:#1}} Problem: However this breaks with stupid input™ ...
1
vote
1answer
19 views

Set border link color with hyperref in beamer

While the following works in the article class: \documentclass{article} \usepackage{hyperref} \hypersetup{colorlinks = false, urlbordercolor = {0 1 0}} \begin{document} ...
0
votes
1answer
22 views

when using hyperref package undefined control sequence \chapter error

I am using a custom class provided by my university for writing my thesis. Recently, I included the hyperref package and immediately I got a host of erros related to the \addtocontents command. I used ...
4
votes
2answers
56 views

How can I make \autoref keep the surrounding color?

\autoref's link color is set using the linkcolor=black parameter of the \hypersetup command of package hyperref. This implies that the link color does not regard the color of its surrounding text. How ...
6
votes
2answers
59 views

Renewing the \thelstlisting command when hyperref is on

I'm trying to change the appearance of the cross-ref to a listing in the appendix, so that it prints as \textsc{a}.1, not just A.1. The redefinition ...
2
votes
1answer
26 views

Changing \url{…} font [duplicate]

\url{...} produces a rather wide monospace font. It often does not fit into text width. If I wish to make \url{...} another font (such as maybe the same font as the text font), how to do it?
1
vote
0answers
21 views

\autoref for figures uses “section” instead of “figure” as text

My problem looks very similar to the problem in this question, and is exactly the same as the problem described on another forum. But none of those seem to have solved the problem. When I use the ...
2
votes
0answers
17 views

Biblatex, hyperlink postnote

I want postnotes for inline citations to be hyperlinked, i.e. I want the authorname, year, and any postnotes hyperlinked (but not prenotes!). I've used the answer here to get authorname hyperlinked, ...
3
votes
1answer
134 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
3
votes
1answer
91 views

URL with dotted/customized underline AND line breaking

How can I get a dotted URL underline with line breaking? I found this solution: Having all links underlined with dotted line but this TIKZ one does not work with line breaking. I also tried a ...
3
votes
1answer
33 views

How to hide the page number of contents?

I used the \tableofcontents command and then \addcontentsline to add "Introduction" to the contents. The introduction is set as page 1, but my ToC shows a page1 to itself, too. Then I have page 1 and ...
0
votes
1answer
46 views

Conflict of backrefalt for bibliographies at end of each chapter (using natbib and chapterbib)

I want to have the bibliographies at end of each chapter and still have the cross-reference on the reference list stating "Cited on pages:" using natbib and chapterbib packages. To compile the ...
2
votes
1answer
40 views

Create link of empty box

I make my first attempt on a beamer template. I created a simple graphic with my company logo and some fields as header (background for title). Now I would like to use the logo as home button. In ...
3
votes
1answer
30 views

destlabel option of the hyperref package does not work in combination with htlatex

This is related to my previous question. The use-case is still the same: I want to convert a document into HTML, and give the links in the generated HTML a permanent character, even when the structure ...
0
votes
1answer
27 views

Problems with Hyperref, Endfloat, Longtable and Appendix

I am struggling with my table references in combination with endfloat and longtable. Somehow, they are not referring to the right table. I get the following problem reported (I think that this is the ...
3
votes
2answers
26 views

No page break when using hypertarget in custom environment

I am trying to create an environment that would automatically create a label for each instance based on a global counter. This is the model example of what I'm trying to do. \documentclass{article} ...
4
votes
1answer
19 views

How to make linenumber referencing in lstlisting work with autoref

This Link provides an answer to the question how to make line-number referencing work with lstlisting. However, if I use \autoref it will only return the number and not something like Line 31.
2
votes
0answers
52 views

Invalid page tree PDF [closed]

I have a generated LaTeX (python scripts, getting data from different sources) document which is then compiled into a pdf with pdfLaTeX. Generally the structure of the document is the following ...
2
votes
1answer
69 views

Is it possible to access command parameters?

I use hyperrefs extensively in my document and I define them like this: \hyperref[label]{some text \ref*{label}} It's really annoying that I need to repeat the label twice. Is it possible to ...
3
votes
1answer
51 views

Opening a non-PDF file clicking on a bookmark

I know it is possible to open a PDF file using bookmarks. But is it possible to open a non-PDF file by clicking on a bookmark? I've read all documentation from hyperref and bookmark packages but ...
5
votes
1answer
44 views

Issue with hyperref and appendix packages

I can't use both (hyperref and appendix) packages together. When I try to compile my code with these two packages, the following errors arise: This is my MWE: \documentclass{book} ...
1
vote
1answer
41 views

My float items are linked to wrong entities

I am using a .sty file from my university to prepare my dissertation. In this file, there is a float for "Algorithms" that I use to define Algorithm 1, Algorithm 2, ... My problem is that, no matter ...
1
vote
0answers
20 views

Expand bookmark by single-clicking on it

Probably being too pedantic but is it possible to expand a bookmark by single clicking on it? Emphasis on single clicking! I know it is possible to expand a bookmark by double clicking, but I want to ...
0
votes
0answers
22 views

Varioref and Cleveref inconsistent while redefining page

I am trying to use cleveref and varioref. I read here how should be the correct order of loading the packages. Also saying that \vref and friends would become clever since cleveref changes the ...
2
votes
2answers
62 views

htlatex causes hyperref package not to load completely

The following code runs perfectly fine when using the regular latex command. \documentclass[a4paper,11pt]{book} \usepackage{hyperref} \renewcommand{\sectionautorefname}[1]{Section~} \begin{document} ...
2
votes
1answer
55 views

hyperref not working. It goes to wrong page

I dont understand why my hyperref is not going to the page I wanted when I click it on my table of content? \documentclass[12pt, a4paper, oneside]{report} \usepackage[T1]{fontenc} ...
0
votes
0answers
40 views

doi package inserting http:/dx.doi.org/\let… instead of http:/dx.doi.org/… in bibliography hyperlinks

When I use the doi package, the links in my bibliography are: http://dx.doi.org/%5Clet%20... instead of http://dx.doi.org/... Any ideas? MWE: \documentclass[preprint,12pt]{elsarticle} ...
2
votes
0answers
58 views

Bibliography style elsarticle-num-names with DOI and hyperlinks but no explicit url

I prepared my article with elsarticle, using \citep & \citet throughout. I originally used apalike bibliographystyle but now need to change it to elsarticle-num-names for citation formatting ...
1
vote
1answer
42 views

Modify hyperlinks in table of contents

I'm using hyperref package so that \tableofcontents has clickable links. Is there a way to force one hyperlink in \tableofcontents to refer to a given page instead of the automatically selected page? ...
2
votes
0answers
40 views

Display shortcuts other than urls with href

Big picture, I am trying to develop an approach that will allow me to store the latex commands and labels (pre-expansion) that I use to typeset dynamic text (bib entries with cite, cross referencing ...
2
votes
2answers
57 views

Add PDF title to bookmark using hyperref + Colour equation reference

I want to add a PDF title to the PDF bookmark using hyperref package. However it does not work. As shown in the picture, I want to add a title above the Introduction. Moreover, I want to make ...
1
vote
1answer
288 views

Hyperlinks on moderncv not working Adobe Acrobat Pro

So, I know there's already a question about this (Hyperlink in moderncv with acrobat reader) but I have tried the solutions there (updating and security settings) and it still doesn't work and I don't ...
3
votes
1answer
65 views

Manually added hypertargets are shifted by one line in PDF

I'm using the hyperref package to create links and targets between citations in the main text and references at the end of my document. Clicking on one of these hyperlinks leads to displaying the ...