{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

4
votes
2answers
381 views

pdfx option clash inputenc + fontenc + hyperref

I want to compile my .tex file with pdflatex but get an option clash, since I load pdfx to get a PDF/A-1b compliant file. This is part of my header: \documentclass[twoside,a4paper,DIV15,parskip=off,...
10
votes
1answer
401 views

XeLaTeX, hyperref and PDF/A

I am finishing my doctoral dissertation using XeLaTeX and facing the requirement to submit a PDF/A compliant document. First, I want to emphasize that I have found and read several related posts (e.g....
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
33 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? ...
0
votes
1answer
30 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
42 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
28 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
37 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
26 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 ...
15
votes
5answers
17k views

How to allow line break in a long hyperlink in a PDF compiled by latex-dvips-ps2pdf?

I am using latex-dvips-ps2pdf steps with -Ppdf option passed to dvips. The following code snippet \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{breakurl} \hypersetup{...
0
votes
0answers
22 views

Anchor position for the `footnotebackref` links to footnotes

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 footnote}...
0
votes
0answers
11 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
42 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 ...
20
votes
2answers
3k views

How to prevent \url from removing the spaces in a path?

The following code \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{"a b c.tex"} one two \end{filecontents*} \usepackage{listings} \usepackage{hyperref} \begin{document} \...
2
votes
1answer
52 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
20 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.
3
votes
1answer
968 views

How could you make an image a hyperlink to a section in a LaTeX document?

I'm fairly new to latex and am currently working on a few articles as practice before I use it for more official documents. In my current document, I am attempting to make a table of icons (png ...
3
votes
1answer
75 views

tikzposter and doi package conflict?

When using the doi package with tikzposter, I get the following error when compiling with pdflatex: ! LaTeX Error: Can be used only in preamble. See the LaTeX manual or LaTeX Companion for ...
2
votes
0answers
27 views

Hyper-linking in BibTex references

I use BibTex library for adding references and for hyperlinking references I use following technique: @article{coggeshall1992group, title={\href{http://scitation.aip.org/content/aip/journal/jmp/33/...
1
vote
0answers
28 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
53 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
44 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 ...
57
votes
1answer
25k views

How to make clickable links and cross-references in pdfs produced by LaTeX?

How can I make things link url references, my index, table of contents, and cross references clickable links in documents produced by LaTeX? I generally use pdflatex to produce my documents.
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} \...
2
votes
1answer
37 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
0answers
78 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{...
0
votes
1answer
41 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
31 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
59 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
28 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
33 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
38 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
46 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
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 ...
3
votes
0answers
53 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
115 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
22 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
46 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
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
24 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
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
19 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
40 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
119 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,...
4
votes
3answers
55 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
109 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 - ...