{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
1answer
27 views

Slightly mispositioned hyperlink to start of tabularx environment

I'm writing a document where I have to put a lot of similar tables (and I have to keep them "similar"). So I'm writing some macros to generate and partially fill the tables automatically. (I generate ...
1
vote
0answers
29 views

Have the DOI be a link when using achemso?

Is it possible to make the DOI into a link with achemso, as it is with biblatex-chem? I'm going to assume no, or that would be done already, but thought I'd check. I know I'd have to turn that option ...
5
votes
2answers
39 views

\clist and hyperref

using package xparse I stored the author of a certain paper in a \clist in the following way \NewDocumentCommand\addauthor{m}{% \clist_put_right:Nn\l_allauthors{#1}% ...
2
votes
1answer
33 views

Using hyperref for a citation

I need to cite a reference with a custom text. However, I cannot make it work. Please see the following example. \documentclass{article} \usepackage{hyperref} \begin{document} See ...
0
votes
2answers
38 views

Option unicode and beamer with LuaLaTeX

In this MWE \PassOptionsToPackage{unicode=true}{hyperref} \documentclass[xcolor=svgnames]{beamer} \title { \color{red}Example Presentation Created with the Beamer Package } \author{Till Tantau} ...
0
votes
0answers
19 views

Wrong URL characters in Dissertate template?

When I try to add a link in a chapter of the Dissertate template (https://github.com/suchow/Dissertate), the displayed characters in the URL are wrong in the resulting pdf. Wherever I try to make a ...
3
votes
0answers
44 views

How to link Questions to Answers - Hyperlink and hypertarget - Multiple chapters

For a Question bank, which is a pdf-only CC edition, I defined hyperlinks and hypertargets as explained in Adding another answer hyperlinked to the question itself. To typeset more chapters as ...
2
votes
1answer
107 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 ...
2
votes
0answers
18 views

Clickable file links from in-text reference

I am currently using natbib to reference articles that I have in Mendeley. I have figured out how to get clickable links such that clicking on the in-text reference brings me to the actual reference ...
4
votes
1answer
42 views

Possibility to exclude coloring certain links using hyperref

I'm preparing a beamer presentation and there are certain links I do not want getting highlighted. I've tried setting colorlinks = false inside the hypersetup, but naturally that disables coloring ...
3
votes
1answer
44 views

Hyperlinks in rotated TikZ nodes?

I seem to have a problem with hyperreflinks in rotated TikZ nodes: This code \documentclass{article} \usepackage{hyperref} \usepackage{tikz} \begin{document} \section{Testsection\label{sec:test}} ...
1
vote
0answers
19 views

Hyperlink and text fail to wrap in a table

Here is the code: \usepackage{hyperref} \begin{tabular}{ |p{4cm}|p{4cm}|p{4cm}|} \hline \textbf{Table} & \textbf{Info} & \textbf{Link}\\ \hline \texttt{sampsamp\_samp\_samp.sampsamp} & ...
4
votes
1answer
62 views

Can I turn a TikZ path into a hyperlink?

I'm writing a presentation for the Shannon Switching Game. In this game, players take turns picking edges from a graph. For fun, I decided to try to include an example game in the presentation. The ...
1
vote
1answer
14 views

Changing content of \listoftheorems and hyperlinking to text

Here's my MWE: \documentclass{report} \usepackage{amsthm} \usepackage{libertine} % allows bf sc fonts http://tex.stackexchange.com/a/98581/104449 \usepackage{thmtools} \declaretheoremstyle[ ...
1
vote
1answer
18 views

hyperref/bookmark package: suppress/override a single bookmark

So I am using hyperref to generate pdf bookmarks but one of my section names uses greek letters, which disappears in the pdf bookmark. So I want to override that bookmark (and only that bookmark). ...
6
votes
1answer
115 views

How to make hyperref aware of Firefox's internal protocols for extensions?

I'd like to create an hyperlink in a .pdf file that opens Firefox at the Zotero pane, the "URL" of which being chrome://zotero/content/tab.xul: instead of http or ftp, here the protocol used is ...
4
votes
3answers
51 views

Part cross reference name clash with redefinition of \thepart

I want to use some automatic cross referencing (I am using hyperref in the whole document which I customized) to write something like : We see in \autoref{partname} that To print : We see in ...
5
votes
1answer
86 views

Automatically add \texorpdfstring for math-mode in section titles

I'm receiving a ton of warnings á la "token not allowed in a pdf string", since most of my section titles contain math (see this post here: Hyperref - Token not allowed or here: Hyperref warning - ...
8
votes
2answers
527 views

How can I programmatically populate a PDF's pdfcreator field?

As I understand it, embedding (as metadata) the typesetting engine that was used to produce a PDF document is good practice. Here is an example of how this can be done using the hyperref package: ...
1
vote
1answer
20 views

How to change the color of ONLY Table of Contents from red to black?

This question is very close to what I want, yet not quite. The accepted answer offers linkcolor = black, but I do not want to hide all links. I like my in-line figure numbers and section references ...
2
votes
1answer
31 views

LaTeX \tableofcontents add custom line with custom pointer

In my LaTeX document, after \begin{document} I have \tableofcontents. However, later in the document, I have \includepdf[pages=-, pagecommand=\thispagestyle{fancy}]{mypdf.pdf}. I want to create a new ...
2
votes
2answers
49 views

Hyperref and answers package: How to put the link which goes back to the question at the end of the solution

In the MWE below, created following other threads from the website, I would like to know how to change the following two things: 1) How to add the buttons which link back to the question (E.g. the ...
2
votes
2answers
62 views

Macro: compatibility of 1) Auto-colorization & 2) Auto-counter-and-title-to-label

This question is about asking to have the following 2 "workflows" (if you permit me to call them as such) to be able to coexist together in 1 Tex document: Workflow Auto-colorization (≅ User ...
2
votes
1answer
25 views

Appendix TOC link does not work when using Polyglossia (TeX Live 2015)

MWE: \documentclass{book} \usepackage{appendix} \usepackage{hyperref} \usepackage{polyglossia} \setdefaultlanguage{spanish} \begin{document} \tableofcontents \include{chapter1} ...
2
votes
1answer
62 views

linebreak in long URL? Breakurl won't break it

There are several questions on this site (for example here and here) where people are struggling with overfill hboxes when making clickable URLs. I have read and tried the answers there and none of ...
2
votes
1answer
44 views

Multiple hyperlinks from single \includegraphics

I have an image like this which I have included with an \includegraphics command. I want each of the circles to be a link to a different part of the document. I.e. clicking on the blue circle ...
1
vote
1answer
115 views

Hyperref Doesn't link \cite Command

I am using latex to hyperlink my citations in an article. The problem is that it links figures, equations and sections numbers but not citation links. Here's a MWE, \documentclass[letterpaper, 10 pt, ...
2
votes
1answer
465 views

Citations not linking to bibliography

In my thesis, I use the url and hyperref packages (they were included as part of a thesis template) to get links from where a work is cited to where that citation is in the bibliography (and it works ...
1
vote
0answers
34 views

Footnote link stubbornly jumps to the title page

I have a little nasty problem: a footnote hyperlink doesn't lead me to current page footnote, but it jumps to the document title page. I have already considered & tested several possible ...
3
votes
1answer
64 views

How to make hyperref destination names unique, to make TOC links work?

The circumstances of this question are somewhat unlike the results I got from searching the error message on my own. [20]LuaTeX warning (ext4): destin ation with the same identifier ...
2
votes
0answers
65 views

hyperref update April 2016 breaks latex, pdflatex, xelatex

The change to the date in hyperref.sty breaks latex, pdflatex, xelatex. \documentclass[12pt]{article} \usepackage{hyperref} \begin{document} This is a test. \end{document} complains (with xelatex) ...
4
votes
1answer
134 views

beamer hyperref url with %20 runaway argument

I want to use a URL in beamer notes. If the URL includes a %20 it seems to cause xelatex trouble. \documentclass{beamer} \usepackage{hyperref} \begin{document} \begin{frame} ...
4
votes
2answers
184 views

Is there a way to set colors of hyperref links and urls differently in headings / sections than in the body?

I know hypersetup from hyperref needs to be added before \begin{document} but after \usepackage{hyperref} and \usepackage{bookmark}. For example, you can inject it like the following to ensure this: ...
0
votes
0answers
35 views

cannot change the color of links

I use the following code to choose the color of links in my file: \documentclass[12pt]{report} \usepackage{ramsstyle} \usepackage[colorlinks=true, linkcolor=red, urlcolor=blue, ...
23
votes
3answers
20k views

How to break long url in an item

I have an enumerate. In an item I have a long url. I use the package breakurl and it works fine outside the enumerate but not in the item. \usepackage[margin=3cm]{geometry} \usepackage{hyperref} ...
4
votes
2answers
114 views

Spurious `.pdf' added to the first argument of \href if inside \ExplSyntaxOn/Off

The following MWE shows that a spurious ".pdf" is added to the URL given in the first argument of \href if (and only if, AFAICS) the latter is used inside \ExplSyntaxOn/\ExplSyntaxOff (it also shows ...
3
votes
2answers
71 views

Bookmarks link to first page when using figures, \clearpage, \phantomsection

I have the following code which includes graphic files in my document and I only want these graphics in my document especially I don't want pagenumbers, toc, titles, etc. The only problem is that all ...
3
votes
2answers
44 views

\ref is adding blank spaces to the label name depending on position in the paragraph

Ok, this is a pretty strange problem based on a workaround suggested here: Reference name of description list item in LaTeX I am trying to hyperlink/refer back to descriptions by their name in this ...
3
votes
2answers
32 views

Correct links and references after changing chapter number/letter [duplicate]

I'm trying to change the numbering for some chapters from numbers to letters, using: \documentclass{report} \setlength\parindent{0pt} \usepackage{hyperref} \begin{document} Reference to chapter 1: ...
1
vote
0answers
39 views

spaces in references in pdf view

I am using book document when I view my work on pdf, some of references looks like this with spaces. how to avoid them? Can I change "bibliography" to "references"?
1
vote
1answer
22 views

hyperref points wrong figure/table with reset counter

I am trying to refer tables (and figures) in the main text with numbering modified and reset as shown in MWE, the numbers are correct in the main text, but hyperref points to wrong table. How to get ...
1
vote
0answers
31 views

Error when combining biblatex, hyperref and latexdiff

I've stumbled upon a weird incompatibility between the hyperref and biblatex packages and latexdiff. If there is an added citation with more authors than the biblatex maxcitenames parameter, then I ...
4
votes
1answer
71 views

How do I use titling with hyperref and unicode?

I want to use the titling package to access title and author with \thetitle and \theauthor, which I want to include in the PDF metadata with hyperref. But both title and author can contain umlauts ...
0
votes
0answers
17 views

Hyperref - Set url link on article title in bibtex / .bst

I wanted to have a clickable title for the cited article (linking the adress specified in the url field). I fought a bit for that, so here is the way to do it (from unsrt) FUNCTION {format.title} { ...
28
votes
3answers
24k views

How to put a line-break in section heading?

I have some section headings occupying two lines and I'm not satisfied with the way XeLaTeX breaks the heading. If I manually add \\ the output looks fine, but I get the following warning: [hyperref] ...
1
vote
0answers
21 views

Customize reference system [duplicate]

My problem is the following : I want a reference to another section to be like that : "See section 3.2" I tried \textbf{section~ref{section}} but there are two problems : Only the number of ...
0
votes
0answers
31 views

Using package hyperef prevent index entry to appear

The answer proposed in the post How can I automatically add index entries every time I reference a glossary entry? works beautifully as it is, and the 'Basic entry' example appears in both the ...
9
votes
1answer
410 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 ...
3
votes
2answers
72 views

No accents and ¿ ¡ in pdf bookmarks

I'm doing a book with LateX in spanish language and I'm having some problems with spanish accents and symbols ¿ and ¡. Here's my preamble, sorry, it's very huge: ...
10
votes
2answers
10k views

pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior)

Here is a minimal example: \documentclass{amsart} \usepackage{amsthm} \usepackage[pdftex]{hyperref} \newtheoremstyle{myexercise}{\baselineskip}{\baselineskip}{}{}{\bfseries}{.}{ ...