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

Backup multiple slides with navigation button

I am creating a beamer presentation with backup slides(3). I want to put a navigation button from the main slide to backup slide 1 and the navigation button back to main slide from backslide no. 3. I ...
1
vote
1answer
25 views

Link colors are broken inside tabu environments

I have a table built with the tabu environment that doesn't display the correct color for the urls it contains, even if the link itself works (that is, it opens the web page in the browser). However, ...
3
votes
1answer
41 views

Nested enumerate items are missing some periods when cross-referencing

I am writing a rulebook and need to reference clauses and sub-clauses throughout. When I have a nested enumerate item to the level of 5.4.2.3, the cross-reference displays as 5.4.2.23. ...
2
votes
1answer
21 views

xr-hyper link color does not follow hypersetup

I am using the xr-hyper package to reference labels in another document. The linking is working properly. However, I noticed that colors of the xr-hyperlinks are not following the colors defined in ...
3
votes
0answers
60 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
4
votes
1answer
33 views

Getting a hyperlink to automatically break at punctuation marks

In the example below, how can I get the hyperlink that prints as "doi:10.2307/1968102" to automatically break at any of the punctuation marks, i.e., the :, ., or /? Note: I am compiling directly from ...
20
votes
5answers
8k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
2
votes
1answer
114 views

How can I label / reference description items that contain macros by name?

This question is related to Reference name of description list item in LaTeX, because that is the same as what I am doing. The answer provided there works in most cases, but I found a case where it ...
1
vote
1answer
23 views

How can I use hyperref hyperlinks inside of description list keys?

I already asked a related question, How can I label / reference description items that contain macros by name? Now I am having difficulty compiling description lists using hyperref's hyperlinks. ...
1
vote
1answer
23 views

How to make the text in front of the eqution or figure number become a hyperlink?

I found that in many journals not only the number but also the text such as Fig or Eq can be a hyperlinked so one can be directed to the equation or figure by clicking the hyperlink. This is what is ...
4
votes
2answers
48 views

How to use \nameref with xstring package to check string length

I need to measure a number of characters in string, that I returned from label through \nameref command. Here is my MWE: \documentclass{article} \usepackage{hyperref} \usepackage{xstring} ...
2
votes
0answers
44 views

footnote with a link split into next page makes all of the text clickable

I have this weird issue where my footnote containing a link is split into the next page because the link URL is too long. This would be fine. What is weird is that the text on the next page where the ...
3
votes
1answer
28 views

glossaries references produce two hyperref links

I'm trying to achieve the effect from this existing question: \gls should produce hyperlinks, but without the distracting frames, while all other links behave as usual. The answer to that question ...
4
votes
3answers
575 views

‘\pdfendlink ended up in different nesting level than \pdfstartlink’ error with current version of hyperref

I am experiencing the hyperref split-link issue described in previous questions. I tried to update the hyperref package as recommended as well as the oberdiek package which also seems to have some ...
1
vote
0answers
15 views

hyperref author and year biblatex with multiple keys

I am using the solution in hyperlink name with biblatex authoryear (biblatex 1.4b) to have links on author and year when using \citet. This solution does not work if I have supply \citet with ...
4
votes
1answer
91 views

Unwanted extra space after hyperlink with biblatex

I am using biblatex for my references, and I found the chem-angew style which I appreciate very much. I found out how to add an hypertext link under the journal title, and it works fine. But there ...
7
votes
2answers
347 views

Why is escaped # breaking my command?

I have created the following two commands: \newcommand{\termExplanation}[1]{\item[#1]\label{#1}} \newcommand{\newTerm}[1]{\hyperref[#1]{\emph{#1}}} In my text, I use \newTerm{Term 3}, and somewhere ...
2
votes
1answer
50 views

No hyperlink borders for any kind of glossaries entries but still hyperreferred

I would like to have the default behaviour of hyperref for all links excepted the ones from glossaries: for them, they should be still links but without borders I started playing with ...
2
votes
2answers
42 views

Knitr: How to make a crossreferences to figures and tables generatrd by code chunks?

I would like to make cross-references to images and tables generated from knitr code chunk in the same way as to standard figures and tables. In a standard figure I use control sequence \label, but i ...
12
votes
2answers
7k views

TOC entries and labels for included PDF pages

I am embedding full pages from another PDF document (using the pdfpages package), but I would like to be able to declare my own section headings before each embedded document (for e.g. hyperlinking / ...
2
votes
1answer
33 views

Why does clickable link get cut off when defining \href color?

I am using \href{} from the hyperref package. Here's a MWE: \documentclass{article} \usepackage[colorlinks]{hyperref} \hypersetup{} \begin{document} \href{http://google.com}{Click me!} ...
0
votes
0answers
51 views

Beamer: hyperlinks not working with show notes on second screen

I want to make a beamer presentation with navigation at the top of the slides and with notes on a second screen. The problem is that, with the option show notes on second screen, the hyperlinks do ...
5
votes
1answer
38 views

Wrong references to another chapters

My problem is when you click on the reference to the first definition from chapter 2 you will return to the first definition from chapter 1. Of course, I want to see definition 1 from the second ...
1
vote
0answers
13 views

glossaries package: hyperlink only on first use of acronym [duplicate]

I use the glossaries package to define and use acronyms in my text. I use \newacronym{} to define my acronyms. In the text I use \gls{} to refer to these acronyms. In order to improve readibility of ...
0
votes
1answer
23 views

Include Page Numbering into Table of Contents Hyperref

I want to make the page number listed in table of contents also clickable. Does anybody know how to do this? At the moment I use the following code to hyperlink my table of contents. ...
30
votes
3answers
18k views

How to use different colors for different \href commands?

I have two different \href{}{} links and I want each to be a different color. In the example below they will both be blue, how can I make each link have a different color? \documentclass{article} ...
14
votes
1answer
433 views

PDF/A with CMYK, how?

Using http://tex.stackexchange.com/a/99666 and http://tex.stackexchange.com/a/136653 I think I have been able to generate (using TeX Live 2014, pdfTeX 3.14159265-2.6-1.40.15) a PDF/A-1b compliant pdf ...
150
votes
11answers
14k 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, ...
5
votes
1answer
449 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
15
votes
4answers
4k 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 ...
0
votes
0answers
27 views

hyperref not working when a citation cross a page boundary

When I compile my LaTeX file with hyperref enabled I'm receiving a bunch of the following errors: Citation `xxx' on page \thepage undefined This error shows up I if use \clearpage before the ...
2
votes
1answer
66 views

Reference to the name of subequations

I have a formulation that consists of several subequations that I would like to refer to as a formulation and as individual equation in my article. Right now I have this: \usepackage{hyperref} ...
5
votes
1answer
50 views

How to make hyperlinks point to the top of an equation?

I've got a system of equation splitted on multiple lines with the environment split and a reference to them, which I would like to point to the top of the system of equations. Here's my MWE: ...
5
votes
0answers
46 views

References: Remove white space in front of doi

In my references, there is a problem with the doi. When using \usepackage{doi} I get hyperlinks, which is what I want. In combination with \usepackage{apacite} however, I then have to suppress the doi ...
22
votes
2answers
7k 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. ...
6
votes
2answers
2k views

footnote in table with hyperlinks

Answer to the problem below: I was using latex c.tex; dvipdf c.dvi to compile the pdf, instead I should use pdflatex c.tex, it also showed up that \begin{savenotes} will create links to the top of ...
6
votes
3answers
6k views

Option clash with hyperref

If anyone has come across this issue when dealing with uploading tex files on arxiv, their experience would be of immense help: I am trying to upload a .tex document to arxiv. I upload my .tex file ...
2
votes
1answer
20 views

hyperref and hypdvips again concerning attachfile

According to this task I cannot determine the error between hyperref and hypdvips I have tried to execute this small piece of code and failed. Compile it with latex example.tex & dvips -P pdf ...
18
votes
3answers
927 views

hyperref links break with pdftex + babel + Hebrew (or right-to-left language)

Using the babel package to write Hebrew text exposes incompatibilities with all sorts of other packages. This questions is about the incompatibility with hyperref. Basically, you can't get links with ...
4
votes
2answers
88 views

Cyrillic in URLs using hyperref produces file link instead of URL link

I have an URL containing Cyrillic characters, e.g.: \href{https://bg.wikipedia.org/wiki/Начална_страница}{Bulgarian Wikipedia Main Page} When I compile the document, the link points to a local ...
1
vote
0answers
25 views

Multiline hyperref in list of of tables

I have a problem with proper formatting of too long labels in list of figures with hyperref. It works fine if the label is short (one line). But if it breaks to another line, the hyperref is not ...
4
votes
1answer
72 views

hyperref title page problem in pdf

When I use hyperref, my title page is number 1 of pdf, also the second page is page number one of pdf. How can I prevent this from happening? \documentclass[12pt]{article} ...
5
votes
1answer
228 views

(Clickable) cross-reference in lstlisting

To generate documentation for an 'application programming interface', I would like to have a syntax highlighted area (with the class declaration), which has clickable links to the documentation (which ...
1
vote
0answers
27 views

colored equation number and brackets [duplicate]

I would like to color the equation number and the brackets around it, and also have the colored eq. number and brackets shown in my references to the equation, with \eqref{label} or similar. Is it ...
2
votes
1answer
102 views

Creating PDF bookmarks when the highest level is below section [duplicate]

I'm producing a small document where only unnumbered subsections and levels below are used, and would like PDF bookmarks to be created for them. I tried hyperref and bookmark packages and did not ...
3
votes
1answer
21 views

Change the color of the link which is generated by \htmladdnormallink

I try to write a book, and I'm beginner with some functions in LaTeX. I already have looked for this question even I looked in hyperref manual and I have not found anything about how to change the ...
1
vote
1answer
95 views

Error when adding xmp metadata with xelatex and pdfx

I want to create a pdf according to the PDF/A-1b standard with xelatex and pdfx but I get an error message now when I add my metadata. Using XMP template file: pdfa.xmp ! Argument of " has an extra ...
2
votes
0answers
29 views

Move hyperref colored boxes to the background?

The colored boxes of hyperref links are in the foreground, which often hides punctuation. Is it possible to move the boxes to the background, so that text is written on top of it and not the other way ...
2
votes
1answer
15 views

Same identifier warnings with hyperref and nd3

I'm getting error messages when I combine hyperref and the nd3 package (for formatting logical deductions), e.g. "pdfTeX warning (ext4): destination with the same identifier (name{@NDlines.1}) has ...
1
vote
2answers
21 views

Reference to a part of an algorithm

I would like to write about the analysis of an algorithm. Depending on some conditions multiple cases arise. I would like to reference the cases but not solely based on the line numbers. Essentially I ...