{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

9
votes
2answers
5k views

Beamer, page/frame numbers, buttons and Appendix slides

I am using beamer and I have a slide in an Appendix section. I hyper-reference it with a button. The Appendix does not appear as a section itself. The Appendix material is at the end of the code. I ...
9
votes
2answers
279 views

How to strip “eq.” from cleveref?

How can I make cleveref output (1) instead of eq. (1) when referencing equations only?
9
votes
2answers
245 views

Key Value option in package

I trying to write a package, and I'd like to specify whether there should be colour or not. I'd like to do: \usepackage[color=false]{foo} and have this set \RequirePackage[color=false]{hyperref} ...
9
votes
3answers
290 views

Hyperref is loaded by the class, and I need to load packages that are supposed to be loaded before

I am using the lipics documentclass, which loads hyperref. Since I want my figures boxed, I added the following \usepackage{float} \floatstyle{boxed} \restylefloat{figure} The problem: I receive ...
9
votes
1answer
2k views

hyperlink name with biblatex authoryear (biblatex 1.4b)

I'm new here so I'm not sure if this is the right way to express my question: I'm using the excellent biblatex package with the author-year style and want the links in my citations to include the ...
9
votes
3answers
1k views

Hyperref “enquotes” metadata

EDIT: As Bill B. and Caramdir point out in their comments after Bill B. produced his results posted below, more information is needed in order to make a better call. To remedy, my output was ...
9
votes
2answers
2k views

Using \href instead of \ref

The link produced by \ref{defn:First Defined Term} works fine, but as I would prefer to have text instead of a number so thought \href{defn:First Defined Term}{First Defined Term} should work, but it ...
9
votes
2answers
153 views

nameref (hyperref) evaluating counter instead of section name

What's the proper way to reference a section with a counter in the title? The TOC generates correctly, but the cross references aren't so lucky. MWE: \documentclass[letterpaper, 12pt, twoside]{exam} ...
9
votes
3answers
192 views

Locally bypassing hyperref

I want to make the hyperref package skip some \ref commands in my TeX file and not make them hyperlinks in the resulting pdf document. Is there a simple way to achieve this? Here is an example ...
9
votes
1answer
13k views

Further customize color of hyperref links

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
9
votes
2answers
4k views

Conflict between babel, hyperref and appendix package

While writing my thesis I use the hyperref and appendix packages like in the little example below. test.tex \documentclass{book} \usepackage{hyperref} \usepackage[titletoc]{appendix} ...
9
votes
2answers
703 views

Why does manually loading hyperref change the font size for captions in Tufte documents?

I'm using Tufte document classes and need to manually load hyperref rather than have it loaded by the Tufte class. So I'm using the nohyper option with the document class, and later use ...
9
votes
1answer
583 views

Why doesn't \renewcommand{\ref}{\autoref} change \ref into \autoref?

First off, I'm very grateful of the help this community has provided me so far. Anyway, to my problem: I feel like I'm missing something obvious here. I want... \documentclass{article} ...
9
votes
2answers
2k views

hyperref Warning: Draft mode on

I'm trying to get hyperref to work with pdflatex, but I'm getting the error hyperref Warning: Draft mode on and since all hyperrefs are disabled in draft mode, there are no links being created. I ...
9
votes
4answers
5k views

Avoid hyperref warnings in moderncv [closed]

Whenever I compile a CV with moderncv, I get four warnings by hyperref. There don't seem to be any serious problems connected to them, yet they bug me. I like my documents to compile without warnings. ...
9
votes
1answer
305 views

hyperref token not allowed warning, possible bug?

I currently am using the hyperref package and I'm currently getting a lot of error messages. Currently all of the chapter and section titles give this same error. I decided to try make a minimum ...
9
votes
2answers
1k views

Using \hyperlink to link text to page with an implicit page anchor not known in advance

hyperref provides the command \hyperlink, with syntax: \hyperlink{name}{text} where name is the name of a hypertext object, and text is used as the link to jump to the defined mark. Page anchors, ...
9
votes
2answers
338 views

how to put \neq in bookmark

The not equal sign ($\neq$) becomes equal sign(=) in hyperref's bookmark. I know that \texorpdfstring will work for this, but I can not find \textneq, maybe another name? Thanks in advance.
9
votes
2answers
2k views

Hyperref: Changing the linkcolor locally in the TOC

I found that the link-color for TOC text is identical to the link-color for Figures and Tables. When I change the color to black in the TOC also the color for Figures/Tables citation etc. is changed. ...
9
votes
1answer
2k views

Change colour of boxes surrounding links in hyperref

How can I achieve in the following MWE that the box surrounding the link gets coloured in blue? \documentclass{article} \usepackage{color} \usepackage[linkcolor=blue]{hyperref} \begin{document} ...
9
votes
1answer
2k views

How to change the color of the hyperlink to mail address in moderncv class?

I am beginner in LaTeX, and experimenting with moderncv. I find that the hyperkink of the email is of the same light blue color as the surrounding info, failing to make clear that it is an hyperlink. ...
9
votes
2answers
909 views

autoref names messed up when defining certain ntheorem theoremstyles

I define a theorem style pretty innocuously, to get things looking a bit more like amsthm theorems. But - my \autoref{}s become messed up with optional arguments of theorem environments. ...
9
votes
2answers
4k views

PDF hyperlinks to a given page.

I would like a command that takes two arguments: a page number and a block of text. I would like the command to create a PDF hyperlink around the text that will jump to the given page. I see that ...
9
votes
1answer
7k views

Hyperref, Table of Contents and subsections

I have encountered a problem in latex that I have not been able to solve. While the hyperref package generates clickable links in the table of contents, it does not link any subsection to the actual ...
9
votes
1answer
537 views

Possible incompatibility between biblatex and hyperref's pdfmark?

I am trying to use biblatex's \citetitle inside a \pdfmark so that the title of a citation pops up as a tooltip in PDFs. Code looks like this: %% A tooltip macro using pdfmark \newcounter{tooltip} ...
9
votes
2answers
343 views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
9
votes
1answer
814 views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
9
votes
3answers
426 views

Extended reference for enumerate item using parent environment

I want to reference an item of an enumerate list by it's normal label, if we are still in that same enumeration and by an parent.item syntax if we are somewhere else in the document. For example: ...
9
votes
2answers
2k views

Is it possible to use hyperref, subfigure, and memoir together?

I asked a question about how to use subfigure with memoir. I got some great tips, but now pdflatex is making all subfigure hyper-refs point to the first couple subfigures. It also gives me this ...
9
votes
1answer
199 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 ...
9
votes
1answer
380 views

Vertical position after navigating to hyperref hypertargets from hyperlinks seems too low

The vertical scroll position after navigating to a \hypertarget from a \hyperlink (described in the hyperref manual) seems to be too low. The scroll position is at the baseline of the \hypertarget, so ...
9
votes
1answer
147 views

\ref with tight box surrounding the reference

How can I make the colored box around a reference appear completely tight? MWE: \documentclass[a4paper,twoside,openright,final,12pt]{book} \usepackage{etex} \usepackage[english]{babel} ...
9
votes
1answer
2k views

How to hyperlink only the year part when using natbib and hyperref

I am using the natbib and hyperref packages: \usepackage{natbib} \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, ...
9
votes
1answer
867 views

bibtex: URL and DOI line breaks on different characters

In my references, I want to allow DOI's to break on a slash '/' character (or as a last resort on any character) to avoid underfull lines like the third reference below. Note that URL's are already ...
9
votes
1answer
206 views

How to lock the back reference at the top left corner of the bibliography entry?

Anybody knows how to lock the back reference at the top left corner of the bibliography entry by employing BibTeX? The result should be like this: It works to me when using \bibitem (yes, it goes ...
8
votes
3answers
1k views

Incompatibilities of cmap with fontenc/hyperref?

The following code doesn't compile (with pdflatex) \documentclass{article} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[pdfa=true]{hyperref} \begin{document} Hello. \end{document} ...
8
votes
5answers
2k views

Greek pdf bookmarks

I am puzzled with sections titled with Greek characters. They do appear in the pdf's Content list, though not correctly. For example, in my thesis--written in English with LyX, based on the ...
8
votes
2answers
339 views

Why hyperref doesn't like commands set via \let in section titles?

pdflatex returns on below document \documentclass[a4paper]{article} \usepackage{hyperref} \let\code\texttt \begin{document} \section{\texttt{first}} \section{\code{second}} \end{document} following ...
8
votes
2answers
175 views

babel + hyperref: »redefining shorthand« several times per page

consider the following code: \documentclass{article} \usepackage[ngerman]{babel} \usepackage{hyperref} \usepackage{blindtext} \begin{document} \Blindtext\Blindtext\Blindtext ...
8
votes
2answers
314 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: ...
8
votes
2answers
894 views

Changing the hyperref target for back references in biblatex bibliography

In my bibliography style, I have added a trigger to change the biblatex bibliography back reference mechanism to refer to the paragraph numbers in the margins ("runners") instead of pages. ...
8
votes
3answers
211 views

Can I force hyperref to use a custom driver?

As part of a project to get LaTeX to output something useful, I found myself wanting to write a new hyperref driver for the desired format. The documentation explains what a driver needs to do, but ...
8
votes
2answers
282 views

How to refer back to a point in the document with custom counters?

The easiest way to explain what I would like to have is to show the desired output and I would like to get this by writing something like: \begin{document} Draw point B \STEP{drawb}. Connect A and ...
8
votes
2answers
547 views

How to write properly an accent in a web address?

I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
8
votes
2answers
645 views

referencing main subequation

In the following example i labeled each subeqnation. \begin{subequations} \begin{gather} R_0 = 0 \label{subeqn:ini-cond-r} \\ N_0 = 0 \label{subeqn:ini-cond-n} \end{gather} ...
8
votes
1answer
2k views

How do you make a TOC link cover text and page number?

The hyperref package allows you to specify that TOC links in the pdf cover the text (default) or the page number (linktocpage=true), but not both. That is, you can have this: [My Title]. . . . . . ...
8
votes
1answer
106 views

How to avoid the hyperlink on a particular \ref

I use hyperref and I produce the pdf via pdflatex. Everytime I use \ref I get in the pdf a clickable link and I am happy with it... but I would like to disable the hyperlink in the pdf for one ...
8
votes
1answer
203 views

Referring to specific list item with hyperref

using the following code, when I click on references (having red boxes), they do not refer to proper places. \documentclass{article} \usepackage{array,longtable} \usepackage{hyperref} ...
8
votes
2answers
1k views

Make Chapter Titles link to Table of Contents

I'm using the hyperref package to create hyperlinks in my document. The links from the TOC->chapters/sections work great, but I was wondering if there was a way to automatically insert hyperlinks from ...
8
votes
3answers
982 views

Page number of glossary while using hyperref

I want to reference the glossary in the text. The solution given to this question on this website works for me. But adding \usepackage{hyperref} before \usepackage{glossaries} makes it not work ...