{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

2
votes
1answer
103 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
13 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
36 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
37 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
17 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
59 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
9 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[ ...
0
votes
0answers
23 views

hyperref causing table of contents error [on hold]

I have my preamble set up like so: \documentclass[12pt,twoside]{report} \includeonly{tex/Methods_and_Theory} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} ...
1
vote
1answer
10 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
108 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
48 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
76 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
519 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
29 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
41 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
60 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
21 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
58 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
35 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
110 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
441 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
29 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
62 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 ...
1
vote
0answers
14 views

Hyper-linking in BibTex references

I use BibTex library for adding references and for hyperlinking references I use following technique: @article{coggeshall1992group, ...
2
votes
0answers
57 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
123 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
179 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
33 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
19k 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
63 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
42 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
26 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
38 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
20 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
25 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
62 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
13 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} { ...
26
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
402 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
66 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: ...
8
votes
2answers
9k 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}{.}{ ...
2
votes
1answer
86 views

How to cross-reference an unnumbered theorem using hyperref and cleveref

In two previous questions (i.e. Distinguishing \ref and \cref through different colors, and ''Proof of Theorem x'' header trough modification of \ref) I addressed some problems I had with hyperref ...
0
votes
0answers
12 views

`footnotebackref` anchor position

I discovered the package footnotebackref through StackExchange but I found something I didn't like about it: there seems to be no way to select the text to be footnoted (~ \footnote{read this ...
3
votes
1answer
50 views

Phone symbol/ Website logo in XeLatex

\texttt{ÔÑã}~\href{tel:\myphone}{\myphone}\\ produce a mobile icon on the pdf file and this one href{https://www.linkedin.com/in/\myweb} {\texttt{ÔÇå}~\myweb} generate the little nice Linkedin logo ...
2
votes
2answers
41 views

hyperref inside refsegment always linking to first bibliography, not current bibliography

It seems as if the citation links created by hyperref always direct to the first bibliography in which the respective entry is listed instead of the current one. Is there any way to fix this ...
0
votes
1answer
86 views

Hyperref under section don't link to items [duplicate]

Possible Duplicate: Can individual items in an itemize list be labelled and hyperref linked? \documentclass[11pt,a4paper]{article} \usepackage[colorlinks=true]{hyperref} \begin{document} ...