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

TeX and Hyper text links

I am a TeX (not LaTeX) user (and a member of UK TeX user group) of many years and produce macros for maths and complex tables. I include some hyper text links within a document using the Y&Y ...
2
votes
0answers
148 views

Undefined commands using hyperref.sty [closed]

To give you a little context. After a happy few months of happily using Emacs/AucTeX I accidentally deleted the hyperref directory (did I mention I'm new to LaTeX and linux?). Since then I've been ...
3
votes
1answer
170 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
4
votes
1answer
99 views

Glossaries: Hyperlink to First Entry not List of Acronyms

Is it possible to direct the hyperlink created by \gls{term} to the first use of the term in the main text instead of the glossary list? I'm writing a thesis that uses a lot of abbreviations, but I ...
1
vote
1answer
83 views

hyperref pdf bookmarks back to roman number page

My bibliography shows bookmarks to the footnotes like "5, 27, 28" which link to where I cited the book. However I also cite some books in my glossary which resides on roman numbered pages before the ...
4
votes
1answer
103 views

hyperref problem

I am using a LaTeX template from http://aesm.asso.univ-poitiers.fr/files/Modele_Latex.zip. My question is when I compile the these.tex I have a small problem with hyperlinks. They aren't exact ...
5
votes
1answer
113 views

Hyperref with pagebackref requires manual escaping of percentage signs in URLs

URLs in bibliography items with a %20 (to represent a space) work fine with the package hyperref as long as the option pagebackref is not used. If it is used, Latex fails with: xxx.bbl:xx: Paragraph ...
2
votes
1answer
90 views

Hyperref to the correct entry when using multiple bibliographies

This is a follow-up question to this issue with several bibliographies and backref. I want to generate two bibliographies, a short one in the beginning and a full one in the end. All entries appear in ...
3
votes
1answer
174 views

LaTeX Error: \theHchapter undefined when using tex4ht with hyperref and appendix package

Using texlive 2013. The following MWE compiles fine with pdflatex, but gives the error: ./foo.aux) [1] Chapter 1. ! LaTeX Error: \theHchapter undefined. when I run it using the command: htlatex ...
4
votes
1answer
32 views

\pageref to customised float environment

I would like to include some pictures in my document that are not really figures and should therefore not appear in the list-of-figures. They are to cover a whole page each, which I achieved using the ...
10
votes
2answers
172 views

How to avoid the “http:” part in hyperref's \url?

is it possible to use the \url command from the hyperref package with "shorthand" URLs, e.g. \url{ipython.org} instead of \url{http://ipython.org} ? It seems that the former would only link to ...
3
votes
1answer
102 views

Incorrect link in \listoftables after \setcounter{table}{0}

I'm trying to put together a statistical analysis plan using LaTeX. This is something I've never tried before. I want to create a section at the end called table shells, but I'm running into a couple ...
6
votes
1answer
89 views

nameref fails when chapter title has macro

I'm trying to use \nameref for chapters. It works fine as long as the \chapter command has no macros as argument. If the \chapter command takes a macro as argument, \nameref always prints the last ...
2
votes
1answer
74 views

Why don't bookmarks appear when using \nofiles?

Background After a document has been compiled fully, activating \nofiles usually causes references and other entities in next run to be the same as in the previous run. This is necessarily exploited ...
7
votes
3answers
83 views

How is it that an lrbox environment is correctly placing content in TOC

I was reviewing some old code that I wrote and thought I found a typo. But nevertheless everything is working as I want it to. The basic idea of the MWE here is that I'm storing content in a lrbox ...
1
vote
0answers
41 views

ToC links pointing to very same ToC instead of section page

I have a strange behavior with my ToC using the hyperref package. I have nine special paragraphs defined with \newcommand{\myparagraph}[1]{\paragraph{#1}\mbox{}\\[6pt]} which appears in the ToC ...
4
votes
1answer
66 views

Visual feedback for broken hyperlinks and hypertargets

Is there a way to mark visually unused hypertargets and undefined hyperlinks. Of course I can check the log file, but I want to see critical links direct inside the pdf, e.g. by a different text ...
0
votes
0answers
25 views

Is it possible to use \autoref without thmtools? [duplicate]

I have the following tex file; \documentclass[a4paper]{article} \usepackage{amsthm} \usepackage{thmtools} \usepackage[hidelinks]{hyperref} \newtheorem{thm}{Theorem} \begin{document} ...
0
votes
1answer
109 views

Using listing with minted gets wrong listoflistings

I wanted to make a \begin{minted} block to show on the ToC in Listings section with a link to its label. So I did (with links to my Github working repo) \begin{listing}[!h] \begin{minted}[ ...
1
vote
1answer
222 views

Lyx doesn't generate pdf when using hyperref

If I don't use hyperref package everything's fine, but if I use it, after a while a message appears with something like "Command dvilualatex "filename.tex" has not yet completed. Do you want to stop ...
5
votes
2answers
121 views

How do I use nameref's label with addcontentsline

I am trying to use the nameref \label functionality alongside the use of \addcontentsline that creates invisible sections and subsections that appear in the \tableofcontents. The commands can be seen ...
1
vote
0answers
24 views

Hyperref package. Is there any way to include multiple url addresses in one word (or in any given set of words)? [duplicate]

For example, you can write the following if you want the word ''LINK'' to be clickable and you want to be redirected to Wikipedia every time you click on ''LINK'': ...
4
votes
1answer
81 views

Chapter titles as hyperlinks in the list-of-figures

I would like to include the chapter titles in my list of figures. @GonzaloMedina previously answered this question using titletoc. However, not all my chapters are numbered, so I would like the ...
4
votes
0answers
73 views

hyperref link to file at position

I'm a newbie. I've figured out how to set up a hyperlink link to a file (in my case, a PDF) on the hard drive. But I would also like to change the starting position when this PDF opens up. This PDF ...
2
votes
0answers
41 views

Manually deleting \chapter ruins all hyperlinks in the document

I'm a tex noob and I'm using doxygen to generate a pdf documentation. I had doxygen generate a refman.tex file which contains something like \chapter{Program Reference} ...
4
votes
1answer
100 views

\cref inside a heading breaks PDF bookmark

In the following MWE, the bookmark produced by hyperref is incorrect: \documentclass{article} \usepackage{hyperref} \usepackage[capitalize,nameinlink,noabbrev]{cleveref} \hypersetup{% ...
3
votes
3answers
109 views

wrong hyperref for Index in tableofcontents since TeXlive 2010

Since update of TeXLive, both on macOS and Ubuntu (from 12.04 to 13.04), index is not referenced correctly in the table of content. Instead, the hyperlink to Index point to the bibliography. A lot ...
5
votes
2answers
81 views

hangparas and href: hyperlinks running onto new lines, but not indenting

How can I get the text in the hyperlinked text in the second paragraph to follow the same hanging paragraph indent as the first? I've tried putting a new hangparas environment inside the href block, ...
2
votes
1answer
98 views

Getting table of contents to recognize titlesec paragraph

I am using hyperref to make a clickable table of contents. I am using titlesec to use \paragraph{ } as if it were a subsubsubsection. How do i get this use of \paragraph to display in my table of ...
0
votes
2answers
83 views

Hyperref + footnotebackref in longtable

While I'm aware that hyperref doesn't suport footnotes and I quote: hyperfootnotes boolean true Makes the footnote marks into hyperlinks to the footnote text. Easily broken … I'm ...
4
votes
1answer
86 views

File extension .pdf automatically added to link

Here's a minimal example: % File: test.tex \documentclass[]{article} \usepackage[pdftex]{hyperref} \hypersetup{colorlinks=true} \begin{document} (1) Rendered as link (red). Normal behaviour. ...
1
vote
0answers
176 views

PDF TextField - Draw baseline

right now i'm investigating the options of latex and creating fillable pdf's. Before, I used OpenOffice but it doesn't provide that much formatting options for indiviual usage. So right now I found ...
22
votes
1answer
303 views

How to create identical PDF files?

If I run pdflatex on the same .tex file, the resulting PDF files are not bitwise identical. How can I achieve that? Minimal example: \documentclass{article} \usepackage[pdftex]{hyperref} ...
5
votes
1answer
460 views

CheckBox (from hyperref) - tick by default

This may seem basic, but is there a way to make checkboxes ticked automatically? E.g. \documentclass{minimal} \usepackage{hyperref} \begin{document} \begin{Form} \CheckBox[name=ch1]{Yes} ...
7
votes
2answers
409 views

How to make a link open multiple pages when clicked?

I have to create a hyperlink which opens two links with one click. Is it possible using LaTeX? I'm using \href{<url>}{Open two links}.
1
vote
0answers
30 views

\href and \includegraphics not making hyperlinks in XeLaTeX [duplicate]

I need to make hyperlink on a image. For that, I setup as follows. \href{http://stackexchange.com/users/1170155/thekojueffect?tab=accounts}{\includegraphics[height=11pt]{stackexchange.png}} The ...
8
votes
1answer
141 views

Bad page break with \newenvironment, \refstepcounter and hyperref

I tried to define some environment but came across bad page breaks sometimes. The minimal working example is as follows: \documentclass[b5paper]{article} \usepackage{hyperref} % page break is correct ...
0
votes
0answers
76 views

Problem using thmtools, hyperref and showkeys all together

When I use \eqref (from amsmath) in the optional argument to the proof environment (from amsthm) and the three packages thmtools, hyperref, and showkeys are loaded, TeX runs into an infinite loop. ...
1
vote
1answer
91 views

hyperfootnotes=false removes link but superscripts still show up at bottom of table

I want to remove the hyperlinks to the footnotes associated with a table in my document. When I use \usepackage[hyperfootnotes=false]{hyperref}, the hyperlinking action is indeed removed; however, ...
5
votes
1answer
110 views

Problem with \and within \hypersetup{pdfauthor=…}

I use a custom macro to set the author of both my document and its metadata. It had worked fine until I started writing a document with a colleague. This is the code: ...
5
votes
2answers
140 views

How do I add the URL to a phjcp/similar bibliography style?

I like the phjcp style. [Authors][Journal][Volume in bold][First Page][(Year)]. I would also like to include the URL of the paper by the end. I haven't figured out how to do this. I have loaded the ...
3
votes
1answer
61 views

How to put references into the same style as the rest of the text

I put my subsections in \textbf{} and my subsubsections into \textit{} The same style I gave the corresponding numbers in the Table of contents. Referencing to these subsections I get the same style ...
3
votes
0answers
75 views

Hyperref TextFields dont't work when in tabular environment with xetex?

I created a pdf fillable form in LaTex using hyperref text fields, then decided that I wanted to change the font of the whole form, so I tried to use XeTeX with fontspec. Unfortunately, when I do ...
1
vote
0answers
38 views

Making a logo clickable [duplicate]

I'm wondering if there is any possibility to make a clickable logo like in html code, it would be like this \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} ...
6
votes
0answers
76 views

Insert tex code in pdf document as metadata [duplicate]

I am trying to save the LaTeX code needed for generating some document in the document itself as metadata. So far I found the command to set the pdf metadata using the hyperref package but now I am ...
0
votes
0answers
20 views

How to hyperlink to figure instead of head of section [duplicate]

I have a problem with the PDF output of a tufte-handout (here the MWE, you also need the these two files to compile: tufte-handout.cls and tufte-common.def). I am not sure the problem is with the ...
1
vote
1answer
167 views

Undefined control sequence ``\let`` in ``hyperref`` included after ``unicode-math``

Consider the following document: \documentclass{article} \usepackage{unicode-math} \usepackage{hyperref} \begin{document} aaa \end{document} When I compile it with lualatex, I get the following ...
2
votes
0answers
25 views

Declaring multiple authors in pdfauthor from hyperref [duplicate]

How do I typeset multiple authors with the pdfauthor option from the hyperref package? If I try pdfauthor={A, B, and C} the names in the author field (when displayed in Adobe Reader) are ...
3
votes
0answers
61 views

How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?

This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document) I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
2
votes
1answer
140 views

Hyperref and the float package

There is an issue when using the hyperref package, which provides links and bookmarks, together with the float package, which implements changes in float placement in the document. Loading both has ...