{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

11
votes
3answers
827 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
11
votes
2answers
272 views

hyperref causes problem with doc.sty

Try the following code. Without hyperref everything is fine and there’s the right entry in the index. With hyperref this entry disappears. (The codeline entries which are not shown here ar not touched ...
11
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 ...
11
votes
2answers
632 views

Type '{' '}' in url

I would like to type brace symbol inside a URL using the url or hyperref package. Is there a way to do that ? (the idea is to typeset REST-like URL, as for example, http://foo.bar/orders{orderID}
11
votes
2answers
1k views

How to make a hyperlink cover the whole line in table of contents including the dots?

The linktoc=all option of hyperref package makes both the reference text and page number clickable hyperlinks. However, the dots are still not hyperlinks. This is not very important but I'm asking out ...
11
votes
2answers
27k views

How to add hyperlink in Latex generated pdf (without a surrounding bluebox) [duplicate]

Possible Duplicate: Remove ugly borders around clickable crossreferences and hyperlinks I want to generate a pdf from latex with hyperlinking text - i.e. when some part of text in the pdf ...
11
votes
2answers
2k views

How to use nameref to refer to a section without including the output of any commands in the title of that section?

Background (simplified) I'm using the todonotes package to add todonotes to sections in my documents. I have created a macro to add the todonotes to sections such that they appear alongside the ...
11
votes
3answers
4k views

How to link to specified page of an outer pdf document?

Recently, I made a beamer presentation and I want to link to a pdf I have made before, but I can only link to the first page of pdf document using the command: \href{doc/mydoc.pdf}{thedoc} and I ...
11
votes
2answers
515 views

using \nameref only if there is a name

I am referencing some sections (actually those will be custom defined in the end) by number, type and name. But it happens that there is no name. So I want to leave it out. How can I test for that? A ...
11
votes
4answers
6k 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. ...
11
votes
2answers
5k 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} ...
11
votes
3answers
733 views

How to rotate hyperlink with text

How can I rotate the link of a text in a node. Here is my MWE: \documentclass{article} \usepackage{tikz} \usepackage{hyperref} \begin{document} \begin{tikzpicture} \node (rect) [rectangle, ...
11
votes
1answer
1k views

Embedding printer settings in pdf

I want to produce a pdf that includes settings for a predefined profile, like the the printing on both side of a piece of paper, is that possible? If a pdf does not provide this kind of feature, you ...
11
votes
3answers
143 views

Incorrect spacing after minus sign with combination of amsmath and hyperref

When no packages are loaded, no space is inserted after the minus sign of a negative number: \documentclass{article} \begin{document} \begin{equation} -1 = -1 % output: -1 = -1 \end{equation} ...
11
votes
1answer
697 views

How to label a word inside a paragraph?

The idea is to place \LBL{some_label_name} in a paragraph so that I can refer back to the particular point inside that paragraph where the \LBL was placed. I would like to define the macro for \LBL. ...
11
votes
2answers
2k views

Options and suggestions for hyperref font?

Background I am interested in finding and implementing a more aesthetically pleasing style for the hyperlinks in my document. I have read through the documentation, but I find both the colored text ...
11
votes
1answer
154 views

Can someone help me figure out what this code does?

The following code is from our universities thesis template, which is not very well documented, and as I'm the most skilled LaTeX user, and I'm a middling user at best, we don't know what a lot of the ...
11
votes
1answer
232 views

/ActualText in small cap hyperlinks

I'm using the frenchlinks option for hyperref, which due to solicitous care of XeLaTeX + Linux Libertine, gives bona fide small-caps links on the page. The problem is, when I cut and paste out of the ...
11
votes
1answer
4k views

Why are all of my footnotes hyperlinked to the titlepage?

Problem I have various footnotes, which are hyperlinked from the text to the bottom of their respective pages. When I click on the hyperlinks (in the main text), they always take me to the first page ...
11
votes
1answer
2k views

Hyperref pointing is incorrect in the Table of Contents

I'm observing strange behavior with hyperref and the \tableofcontents. Clicking on List of Tables or Synopsis takes me to the Preface page. Perhaps it has something to do with \chapter* titles for ...
11
votes
1answer
734 views

Driver specification for hyperref and graphicx

When using hyperref and compiling via pdflatex or dvips, I do not need to specify the driver with \usepackage{hyperref}. However when compiling via dvipdfm this fails and I have to specify the driver ...
11
votes
1answer
102 views

Hyperref box does not obey slant

When I place text in a 3D figure along a plane, the hyperref box does not get adjusted. The problem text in the image was placed as \node [yz slant style, anchor=west, black] at (0,1,3) ...
11
votes
1answer
1k views

Specific colour in equation links

In hyperref package, is it possible to specify a specific color for equation links different than other link colors ? Following are present color specifications that I am using for hyperref package ...
11
votes
3answers
4k views

Option to break urls with carriage-return symbol?

There are several ways to get long, uncooperative URLs to line-break in LaTeX. If you're using pdfLaTeX, then the hyperref package can break them across lines for you, roughly after any /. If you ...
11
votes
1answer
388 views

Using \BeforePackage to load a package before hyperref does not work

I am using the lipics document class, which includes hyperref. I want to load the float package, which should be loaded before hyperref, without changing the document class. As suggested in this ...
11
votes
1answer
9k views

hyperref package, breaklinks option

When I compile with LaTeX + dvips, I get the following warning message: Package hyperref Warning: You have enabled option `breaklinks'. (hyperref) But driver `hdvips.def' does not ...
11
votes
2answers
545 views

PDF bookmark going to the bottom of the previous page in case when caption header is on the top of a page

\documentclass[12pt,a4paper]{mwrep} \usepackage{lipsum} \usepackage[nodisplayskipstretch]{setspace} \setstretch{1.3} \usepackage[hidelinks,unicode,pdfencoding=auto]{hyperref} \usepackage[all]{hypcap} ...
11
votes
1answer
1k views

\part and tocloft

The following code was provided by Martin Scharrer in reply to a post in May 10. \documentclass{book} \usepackage[british]{babel} \usepackage[titles]{tocloft} \usepackage{tocloft} ...
11
votes
1answer
174 views

Page header becomes part of link when an \autoref hyperlink spans pages

I am using MikTeX 2.9 on Windows. I am using, among other packages, hyperref in my MASc thesis and I just noticed something strange. I have an \autoref to a table in a paragraph and the link spans ...
11
votes
1answer
3k views

How to change hyperlinks color {Lyx}

I am using Lyx and i would like to change the color of hyperlinks on my bibliography. The default color is pink (at least on report layout , which i am using) Is it possible to change it, to blue ? ...
11
votes
1answer
2k views

Beamer: understanding hyperref messages “stopped early” and “Driver (autodected): hpdftex”

EDIT: The second message ("Driver (autodected): hpdftex") has been explained. OS X, TexLive 2011 (basic) installed through MacTeX. I update everything with tlmgr daily. This minimal beamer example ...
11
votes
3answers
3k views

Hyperlinks in CV (Resume)

I am trying to write a CV (Resume) and a cover letter in LaTeX. I wish to add hyperlinks so that I can provide easy access to more information on areas I talk about. However, I feel that it might look ...
11
votes
1answer
1k views

What does “you have forgotten to use \caption” mean?

I'm stumped by an error I'm getting, when I try to render a Tufte-LaTeX document using hypcap and hyperref. For example, even a minimal document consisting of \documentclass[nohyper]{tufte-handout} ...
10
votes
3answers
320 views

How can I make subsections lose the section number within the section and gain the section number outside it?

For a paper I am typesetting, the author wants subsections to be written with single numerals. So far, OK, \renewcommand{\thesubsection}{\arabic{subsection}} does the job. Yet frequently, he ...
10
votes
2answers
900 views

Make hyperref's \autoref output in Bulgarian

I'm trying to use hyperref for references, but by default it outputs them in English like "chapter 2". According to Hyperref ignores \setdefaultlanguage from polyglossia, doing ...
10
votes
2answers
319 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 ...
10
votes
2answers
235 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 ...
10
votes
2answers
437 views

How to strip “eq.” from cleveref?

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

How do I make sure that \pageref{LastPage} doesn't get colored like the other links identified by hyperref?

I am using hyperref together with lastpage. My problem is that \pageref{LastPage} gets the same color as the links identified with hyperref. I want it to be just the ordinary color (e.g. black) Allow ...
10
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 ...
10
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 ...
10
votes
3answers
815 views

Cross-references in headers, clash between fancyhdr and hyperref

I am writing my thesis and using fancyhdr for the headers. Just the standard "Chapter name on odd pages and section name on even pages". I also need to use the hyperref package to break up long urls ...
10
votes
3answers
2k views

Recommended color for hyperlinks in a CV

I'm using the hyperref package, and I'm curious if there is a recommended color for hyperlinks. At the moment I am using urlcolor=BlueViolet which looks great onscreen, but when printed in b&w it ...
10
votes
2answers
419 views

Wrong place for hyperref link in scaled tikz picture

I have a TikZ picture with a node containing a minipage with an itemize environment; each item is a hyperref to other sections of the document. When scaling the image (for example with ...
10
votes
2answers
5k views

TOC entries and labels for included PDF pages

I am embedding full pages from another PDF document (using the pdfpages package), but I would like to be able to declare my own section headings before each embedded document (for e.g. hyperlinking / ...
10
votes
2answers
352 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.
10
votes
2answers
2k 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 ...
10
votes
2answers
867 views

Substitute italic ampersand with alternative ampersand in Linux Libertine O

Based in this answer I want to create a command \amper that uses the alternative ampersand of Linux Libertine O and leaves the regular \& alone. The problem with the MWE below is that hyperref ...
10
votes
1answer
1k views

Selected references without hyperlink

When using the hyperref package, is it possible to tell LaTeX not to create a link for some references? In my case the page number is displayed in the footer in \fancyhf[FC]{\thepage\ of ...
10
votes
1answer
136 views

`\input`ting contents of a file into a `hyperref`'s `pdfkeywords`

I use git to manage the development of my LaTeX documents, and I have a makefile I use to build a PDF from the LaTeX source. For the sake of provenance, I would like to embed the most recent git ...