{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
74 views

directed to middle of page instead of start

I'd like to include some pdfs in my file and make a table of contents with hyperlinks to the individual pages. I almost got it to work with \phantomsection and \addcontentsline however if i click the ...
4
votes
1answer
76 views

Why does \usepackage{amsmath} break \hyperref in \textnormal?

In the following sample, the second link isn't hyperlinked: \documentclass{article} \usepackage{amsmath} % Removing this makes the second link work \usepackage{hyperref} \begin{document} \...
5
votes
1answer
69 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
4
votes
1answer
50 views

Hyperref referring to the wrong label

I have this code in LaTeX and I am dealing with some dynamic work with labels and references. This code works - first reference references to the first text and second to the second but I want to ...
1
vote
0answers
30 views

how make a windows link to directory that contains a % (href)

I've been trying to make a link to this directory href{%AppData%\Microsoft\Windows\Start}{Start Items} But everything following % is considered to be a comment. Is it possible to make it work? ...
1
vote
0answers
46 views

Hyperref and description environment

I am trying to put an hyperref command inside an item name in the description environment. The following MWE works as expected (this is what I am trying to achieve!): \documentclass{article} \...
0
votes
0answers
8 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored [duplicate]

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
0
votes
1answer
28 views

Raising the hypertarget of chapter labels

When using twocolumn mode, it is a known issue that references to chapter headings point to the baseline rather than the chapter heading. In a previous question, I asked how to fix this for the ...
2
votes
1answer
38 views

How to make labels remember chapters?

I am using the amsbook package and the hyperref package. When say a definition is stated in Chapter 9, Section 3, Subsection 2, it is called "Definition 3.2", and when the hyperref package is used, it ...
3
votes
2answers
42 views

PDF plain text for a macro with a starred version

I'm typesetting a document with PDFLaTeX. In some section titles, I use a macro which has a starred version. In the PDF index (the table of contents that PDF viewers typically show in a side pane), I ...
2
votes
1answer
27 views

How to Use Fillable Checkboxes from Hyperref with Lists

I would like to create a fillable PDF form with a list of items that each have a checkbox to its left. It would look similar to this: \documentclass[11pt, letterpaper]{article} \usepackage{enumitem}...
2
votes
1answer
30 views

\autoref from hyperref not showing correct theorem label

I am writing some lecture notes for a course on overleaf. \documentclass[a4paper,11pt,openany]{book} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb,amsthm} \usepackage[colorlinks=true]{...
1
vote
2answers
24 views

Problem with cross-referencing using hypertarget

I have some problems related to the application of an answer that I received to a previous question of mine, that can be found here. Below there is a MWE, where I used \clearpageextensively, because ...
0
votes
0answers
10 views

Anchor position for the `hyperref` links to `subfig` subfloats

The package caption together with hyperref allows to make links to figures point to their top instead of to their caption. What about links to subfloats when using the package subfig? I'm using this ...
1
vote
0answers
15 views

Lyx cannot generate hyperlinks as references

This question is related to this one. I have a bibtex file containing a number of references some of which are only links to a number of domains. The entries in the .bib file are of the form: @Misc{...
1
vote
0answers
41 views

Package hyperref causes a blank page to be added before a section starting with a large image

When I try to have a section start with a large image, an extra page is added before the start of the section. I tracked down the problem to the hyperref package; when it is not loaded the extra page ...
2
votes
1answer
30 views

MakeIndex fails to locate some index items

I use makeidx package to create an index, but some index items fail to be located in the right pages. For example, an index in 1st page of body text will be located to the cover after clicking the ...
2
votes
1answer
35 views

Create PDF bookmarks automatically with ntheorem

Is it possible to automatically create PDF bookmarks with ntheorem's headers? Example: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[hyperref]{...
1
vote
0answers
19 views

How to use \hyperref to change font color of citation? [duplicate]

When I use hyperref with natbib, it creates a boxed link to my bibliography. Is there any way to not create the box but show the cited paper with a different color instead. For example,
0
votes
0answers
18 views

How to Hyperlink Image in Table to go to a WEBSITE? [duplicate]

I would like to know how to hyperlink an Image to go to a WEBSITE? Not how to go to another section.
1
vote
1answer
25 views

hyperref and theorems counted by subsection- “pdftex warning (ext4) destination with same identifier”

I have got some problems with hyperref and theorems labeled by subsections: To get the theorems labeled correctly I manually reset the thm counter also at the beginning of new sections. But then I ...
2
votes
1answer
50 views

References to figures has bad hyperlinks

In my LaTeX document I have some figures. They are automatically numbered using the chapters they are within, for example. Fig 1.1, Fig 2.3 etc. I am using mwart document class. My problem is that the ...
1
vote
0answers
26 views

bibentry vs. pagebackref option of hyperref within bibtex

There's a clash using the following minimal example with pdflatex and bibtex \documentclass{article} \usepackage{bibentry} \usepackage[pagebackref=true]{hyperref} \nobibliography* \begin{document} ...
0
votes
1answer
47 views

Specify Color for autoref Without Affecting Other Document Links

I am creating a document to be used by people not familiar with TeX. I am using the autoref command throughout the document to refer to tables, figures, etc. I would like to clearly signal to my ...
1
vote
1answer
37 views

hyperref, titletoc and \appendix

I provide here a MWE: \documentclass{article} \usepackage{titletoc} \usepackage[colorlinks=true ,urlcolor=blue ,anchorcolor=blue ,citecolor=blue ,filecolor=blue ,linkcolor=blue ,menucolor=blue ...
5
votes
1answer
13 views

Why does using achemso turn off bookmarks?

I like using sections as bookmarks when editing. However, when I use achemso it turns these off. MWE1 produces bookmarks properly. %\documentclass[journal=cgdefu]{achemso} \documentclass{article} \...
0
votes
0answers
55 views

Package hyperref Warning: Suppressing empty link

I am using SIGCHI Latex format at https://github.com/sigchi/Document-Formats However, when I tried to refer to a label We will discuss in Section \ref{my_label} ... \section{bla bla} \label{...
2
votes
1answer
35 views

\hyperref and modified \addcontentsline

I'm using hyperref (and titletoc) package(s). I redefined \appendix that way \newif\if@appendix\@appendixfalse \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \gdef\...
0
votes
1answer
32 views

How to insert a linkedin logo to my document that also acts as a link to my profile [duplicate]

I would like to insert a linkedin logo to my document that also acts as a link to my profile. Here's my code \documentclass{article} \usepackage{hyperref} \usepackage[demo]{graphicx} \usepackage{...
2
votes
1answer
26 views

Difference between \autoref and \autoref* (autoref star)

I know the difference between \ref and \autoref, yet I don't know the exact meaning of \autoref*. I think that I've read about it some time ago and that it has something to do with the link type in ...
3
votes
1answer
56 views

problem breaking URL when using tex4ht only

This problem only shows up when compiling to HTML. I have some long URL's and a URL with underscore do not break inside table when compiled to HTML as it does when compiled to PDF. I tried all the ...
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
31 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
40 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
37 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 \hyperref[ct1]{...
0
votes
2answers
41 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} \...
3
votes
0answers
50 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 ...
0
votes
0answers
22 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 ...
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 ...
3
votes
1answer
46 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
22 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
43 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 ...
4
votes
1answer
70 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
17 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
27 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
118 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 chrome,...
5
votes
1answer
95 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 - ...
4
votes
3answers
53 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 ...
1
vote
1answer
23 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
34 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 "...