{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

0
votes
0answers
6 views

Ensure phantomsection doesn't occur at the bottom of a page

In my document I have boxes that cannot be broken across pages, and which therefore often leave blank space on the preceding pages. When I create a \phantomsection before one of these boxes, the ...
3
votes
2answers
25 views

Ask `\autoref` to display environment name without number

I'm using the memoir class and I define theorems with thmtools. Theorems often have a name, besides being numbered. I'm looking to write a \fullref command that outputs the name of the environment ...
2
votes
1answer
61 views

How tell hyperref to insert a “target” in the resulting \href

I am using the hyperref package to insert links to websites in my documents. The Adobe reader opens a new tab for each link in the PDF, and that is what I want. Next I want to get the same behavior ...
2
votes
0answers
267 views

Mysterious error message regarding missing reference [on hold]

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
4
votes
2answers
36 views

Subfig subcaption labels have wrong spacing with KOMAScript and colored labels

I observe a problem with the labels of subcaptions generated by the subfig package. The distance between label and caption is wrong, but only if I change the color with \addtokomafont and if the color ...
0
votes
0answers
13 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
44 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
3
votes
0answers
36 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
2
votes
1answer
32 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
30 views

pdf link does not work with latex/dvips/pstopdf execution

I have this simple LaTeX file: \documentclass{book} \usepackage{hyperref} \hypersetup{% linkcolor=blue, colorlinks=true,% hyperlinks will be black pdfborderstyle={/S/U/W 1}% border style with ...
3
votes
2answers
41 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
0
votes
0answers
46 views

To have math in section's name with doi -package (hyperref) [duplicate]

This thread evolves from my discussion here. Minimal example \documentclass{article} \usepackage{mathtools} \usepackage{polyglossia} % also loads package fontspec \usepackage{unicode-math} % if you ...
1
vote
1answer
13 views

pdf viewed with Adobe Acrobat displays box with URL link generated with hyperref preceded by local path to current file

I want (if at all possible) to suppress display of the path to the current open pdf file generated by pdflatex in a link generated with package hyperref. The problem occurs when the pdf is viewed with ...
0
votes
0answers
16 views

! Missing \endcsname inserted. Because of Turkish [duplicate]

When I try to build and view my .tex document. I get the error. I have viewed at the topics like the problem. How can I fix the problem ? Thank you for all appreciated answers. Error: ! Missing ...
4
votes
1answer
25 views

PDF Form Fields; charsize=auto?

I'm using hyperref to write a fillable form, but my users have a tendency to overfill the text boxes causing the text to be invisible on the printed sheet. Acrobat allows for a definition of the ...
2
votes
1answer
275 views

Referencing an article from a beamer document with xr-hyper

I'm trying to link to a label in an article from a beamer file. The reference itself works fine, but the hyperlink doesn't. It gets defaulted to page 1 of the beamer file. This is the article: ...
1
vote
1answer
22 views

breakurl doesn't work with xelatex

I'm trying to use the breakurl package with xelatex but can't get even the following minimum working example to compile. \documentclass{article} % dvips added as per breakurl manual % also fails ...
3
votes
0answers
67 views

Table of contents in a separate file with correct hyperlinks to many files

It's my first question here. Sorry if it doesn't follow the rules. I have: I'm writing a manual in the book class with pdflatex (MiKTeX under Linux). Each chapter is stored in a separate tex-file ...
3
votes
1answer
22 views

hyperref pointing to the wrong equation using subequations

I'm using the following code to write an article, but I'm having some problems cross-referencing the equations with hyperref. The \eqref{} code returns the right equation's number. But the hyperlinks ...
5
votes
2answers
102 views

Long URL extends into margin - it breaks at underscore, but too late

In my dissertation I have a long URL containing many underscore characters as word separators (Wiki software did this). These URLs break at an underscore (good!), but too late, causing the line of ...
0
votes
0answers
22 views

Hyperlink is going to the wrong page [duplicate]

When I click in the Contents--Bibliography it goes to the page 134 - the correct one is page 135 as showed in the table, attached picture. How could I fix the link to the right page? Thank you all ...
5
votes
2answers
39 views

How do i put verbatim text as the body of a link?

Is there a way i can have verbatim text inside a link? \href{www.numpy.org}{\verb|numpy|} does not work. I tried using cprotect; \cprotect\href{www.numpy.org}{\verb|numpy|}, but then I end up with ...
1
vote
0answers
13 views

How to make refcheck work with autoref? [duplicate]

I have just discovered refcheck and would love it to bits if my document wasn't full of \autoref's. According to refcheck's documentation, it works with hyperref in general, as long as the latter is ...
3
votes
0answers
56 views

Links in mindmap as table of contents in beamer

I decided to use a mindmap to show the ToC of my presentation and the section outline. I'd like to have the nodes clickable like the standard ToC, but I couldn't find any command like ...
4
votes
1answer
57 views

Is it possible to redefine \url in such a way that it works without or with http

This question is related to the question How to avoid the "http:" part in hyperref's \url? and the solutions http://tex.stackexchange.com/a/139934/39306 and ...
0
votes
0answers
32 views

How to add a link to a PDF file in Beamer? [duplicate]

I'd like to insert a link to a PDF file into a Beamer presentation. How can I do that? With which specific command?
1
vote
0answers
26 views

How can I make a hyperlink underlined only when the cursor is hovering over it?

I'm using the moderncv document class along with the hyperref package, and I have some hyperlinks in my document. I've made my hyperlinks a different color, to ensure that the reader knows they are ...
1
vote
1answer
66 views

LaTeX extra } issue

I'm trying to compile a document that uses BibLaTeX with the Biber backend, but I keep getting these errors on the last line of my document: ! Argument of \hyper@anchorstart has an extra ...
1
vote
1answer
22 views

Cannot get hyperlinks in elsart.cls documents

When formatting a document with the class elsart.cls provided by Elsevier, hyperlinks to sections, equations, items... don't work. I know that elsart.cls is supposed to be obsoleted by elsarticle ...
72
votes
6answers
43k 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 ...
0
votes
0answers
10 views

Footnotes via hyperref points underneath the footnote, not on it

Using the hyperref package, I expected the links of my footnote numbers to point right to the corresponding footnote line. But this never actually happens. It always points right underneath it! Here ...
2
votes
2answers
30 views

hyperrefs in textcolor

I have used hyperref (with xcolor) and \hypersetup{ linkcolor=black, filecolor=black, urlcolor=black, citecolor=black } for quite some time now. However, in a coloured text this looks ...
274
votes
7answers
69k 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?
10
votes
1answer
3k views

No hyper refs from citation to bibliography using BiBTeX, hyperref and harvard

I am trying to get internal hyperrefs from citation to the bibliography page. I am using BiBTeX, the harvard package, the hyperref package with optional [hidelinks]. The latter works fine to me on the ...
0
votes
1answer
142 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
1answer
24 views

Create links from references in bibliography to usages in text

With the hyperref package I now automatically get links from citations in text to the full citation in the bibliography. Is there a way to automatically get the reverse as well? How can I generate ...
3
votes
1answer
29 views

Macro expansion and href with hyperlink

I have very simple question I hope! I am writing a book on MPASM (PIC) assembler and there will be very many similar links to programs, hex files, videos etc. These will be enclosed in a standard ...
4
votes
1answer
50 views

Why do I just get “?? ” when I try to get the reference of a equation with \autoref

I use \autoref to reference everything in my Thesis. I get without problem the references of the images and the Tables but when I try to get the references of a equation I get just ??. \noindent Die ...
0
votes
0answers
11 views

in classicthesis, change acronym hyperlink colour (to black) but leave crosslinks blue

I am trying to change the acronym link colours in classicthesis to black but leave other links their default colours. I have tried the solution listed here: Acronym hyperlink without special color ...
6
votes
1answer
960 views

Acronym hyperlink without special color

I use the acronym package for managing acronyms. I would like to show the acronym hyperlink without special colors or borders, just as plain text. Is there a way to do this?
1
vote
1answer
39 views

gb4e: A package specific \ref{}-definition

I use \usepackage{gb4e} to reference and to contiuously number my linguistic examples. It works like this: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{gb4e} \begin{document} ...
3
votes
1answer
17 views

hyperlink: link to page relative to a hypertarget

I am trying to get a link to a page that is relative to a hypertarget. For example, in the MWE I would like to get one page after the link chap2, so that my link goes to the page after. ...
3
votes
2answers
124 views

How to pass vertical line

I have the following problem. The general idea is to test whether #1 is empty and if it isn't then write vertical line "|" and #1: \documentclass{article} \usepackage{makeidx,hyperref} \makeindex ...
5
votes
2answers
115 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
2
votes
0answers
375 views

! Missing \endcsname inserted. <to be read again> \relax [closed]

I've been working on my dissertation in LaTex Texshop for sometime and this morning I revived these error messages. I think it is somehow related to hyperref because when I disable this package the ...
0
votes
1answer
29 views

URL style LaTeX change? [duplicate]

\documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{libertine} \begin{document} \lipsum[1-2] ...
4
votes
0answers
36 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 ...
3
votes
2answers
68 views

hyperref package including web image in pdf document [duplicate]

I am trying to include an image (institurtional logo) from direct web address, using \hyperref and pdftex. I am trying a command of the form (many other variants tried, with varios error messages ...
2
votes
2answers
146 views

Beamer: hyperlinks and short title colors

Consider the following MWE \documentclass[leqno]{beamer} \usetheme{Madrid} \usecolortheme{whale} \usepackage{lmodern} \hypersetup{colorlinks=true, allcolors=blue} \title[Short title]{Title} ...
1
vote
1answer
26 views

Conflict with Hebrew text in hyperlinked table of contents

I am creating a biblical studies document which contains characters in Greek, Hebrew, Syriac, and Coptic. Normally I am able to render these characters just fine. The problem comes when I try to ...