{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

1
vote
1answer
10 views

Hyperref adds horizontal space to custom equation reference

When hyperref package is used, Equation (Section#-Equation#) becomes Equation ( Section#-Equation#) I am having difficulty narrowing down how hyperlink adds the space. MWE ...
0
votes
0answers
17 views

Hyperref: Danish ø in `\url` or `\href` doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
3
votes
1answer
369 views

How to set LaTeX so that PDF reader opens Beamer presentation without scrolling?

This question is closely related to this previous question. I am using the beamer package, which automatically loads the hyperref package, so the only thing to do is to pass additional options to ...
1
vote
1answer
28 views

Referring to a label: how to change the name?

I define a basic hypothesis called "Hyp A", using theorem environment, and also give it a label (say Hyp_A). Then when I refer to this hypothesis, how to display something like "Let X and G satisfy ...
1
vote
1answer
295 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 ...
2
votes
0answers
22 views

How to turn on url boxes for links in latex?

I have several links in some document. However, I would like to highlight with boxes this links in order to do not pass unoticed. Any idea of how to do this?.
4
votes
2answers
107 views

How can I turn off URL links within the table of contents?

I'm using the hyperref package to write an unusual document. It has clickable URL links in the section titles. Unfortunately, when clicking on the section title in the table of contents, one is not ...
3
votes
1answer
33 views

Biblatex linebreaks inside \cite

I'm currently confronted with some problems regarding linebreaks inside citations. I'm using biblatex with a biber backend. config: \usepackage[hidelinks,breaklinks]{hyperref} \usepackage{csquotes} ...
1
vote
1answer
14 views

\href{} problem on moderncv document class

Here is a MWE: \documentclass{moderncv} \usepackage{hyperref} \begin{document} \cvitem {some text}{\href{url}}{text} \end{document} The problem I get is: Option clash for package hyperref ...
2
votes
1answer
20 views

hyperrefs have a different spacing when written inside a macro [duplicate]

Let's say I want to make a hyperlink like this: A link is placed \href{www.google.com}{here} to google. Then I decide to make a macro for that: \newcommand\Myhref[2]{ \href{#1}{#2} } A link is ...
5
votes
3answers
41 views

How to add \part only to TOC?

I wonder how I can add a \part entry to the TOC without any output in the the document itself. I actually got a nearly working version: \begin{filecontents}{chap1.tex} \chapter{Chapter} This is a ...
1
vote
0answers
21 views

Pandoc breaks hyperlinks in LaTeX file conversion

I want to convert a (quite complex) LaTeX file to epub using pandoc with: pandoc -S file.tex -o file.epub I have not used markdown in the creation of the tex file, however. When I, now, check the ...
1
vote
0answers
16 views

Latex: Issues with footnotes + captions + figures + memoir

I am submitting thesis soon and I have a latex problem I can't solve. I tried several things nothing would work. Thanks in advance for your help :) List of Issues: 1) footnotes in captions: I want ...
3
votes
1answer
32 views

Clash with \usepackage[<options>]{hyperref} and beamer

When I use the following preamble: \documentclass{beamer} \mode<presentation> \usetheme{Berkeley} \usecolortheme{default} \usefonttheme{default} \setbeamertemplate{navigation ...
2
votes
2answers
124 views

How can I make \eqrefs clickable?

I have modified the \eqref macro like this \let\originaleqref\eqref \renewcommand{\eqref}{equation~\originaleqref} as per this answer. I want to have the reference be typeset like equation x or ...
6
votes
2answers
73 views
+100

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
89 views

Underline long url and linebreak

I have a long url which I want to appear blue and underlined. Furthermore it must linebreak if the url is to long for a single line. \documentclass[a4paper,10pt]{article} ...
6
votes
1answer
25 views

Svn-multi vs hyperref vs non-ascii svn info vs memoir headers

Here is the strange error of the day. Last weekend for "fun" I was playing around with Win 8 and TortoiseSVN. All of a sudden after a commit my LaTeX project no longer compiled. I'm down to the ...
2
votes
1answer
23 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
23 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 ...
5
votes
2answers
152 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
29 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
133 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
38 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
18 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
47 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
27 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
86 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
23 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
28 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
60 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
27 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
18 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
139 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
95 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
47 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
42 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
29 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
20 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.