{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
1answer
361 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
2answers
493 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
133 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
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
2k 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
753 views

Which package should I load first: hyperref or bookmark?

I came to this question after looking for a way to explicitly end a \part (as described in this question: ...
10
votes
3answers
386 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 ...
10
votes
3answers
263 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
673 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
209 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
1answer
1k views

Incorrect target of \label link produced by hyperref

In the following code, the command \label{my} appears on page 4, as well \pageref{my} says "4", but the hyperlink points to the page one. Why is that? \documentclass{book} \usepackage{hyperref} ...
10
votes
2answers
601 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}
10
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 ...
10
votes
2answers
3k 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
2answers
1k 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 ...
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
3answers
3k 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 ...
10
votes
2answers
366 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
636 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
2answers
745 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
2answers
4k 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
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 ...
10
votes
1answer
6k views

How to break long url in an item

I have an enumerate. In an item I have a long url. I use the package breakurl and it works fine outside the enumerate but not in the item. \usepackage[margin=3cm]{geometry} \usepackage{hyperref} ...
10
votes
1answer
1k views

Glossary link's color

How can I change the color of glossary links when using glossaries along with hyperref? I just want to change glossary link colors not all links.
10
votes
1answer
107 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 ...
10
votes
1answer
294 views

Making hyperlinked graphs with the TikZ graphdrawing package

This question here garnered an interesting response on how to make TikZ node text clickable. I am using the graphdrawing package in order to automatically set up the graph, so I am unable to use the ...
10
votes
1answer
3k views

\nameref — How to display section name AND its number

Is it possible to make \nameref display not only the title of the section but also its number? \section{First Section} \label{sec:some_sec} \subsection*{Unnumbered subsection} \label{sec:subsec} ...
10
votes
1answer
109 views

ToC fine, but wrong hierarchical structure of index

I'm using Springer's svmult template for an edited book. The header of each article inside the book looks like this: \title{Article's Title} \author{Author's Name} ...
10
votes
1answer
3k views

No hyper refs from citation to bibliography using BiBTeX, hyperref and harvard

I am trying to get internal hyperrefs from citation to the bibliography page. I am using BiBTeX, the harvard package, the hyperref package with optional [hidelinks]. The latter works fine to me on the ...
10
votes
2answers
213 views

Two colors in one hyperlink

As usual writing a few documents. As one can see having too much color and gloss in a document is never good. Therefore having boxes, and a myriad of colors in the hyperlinks is a bad idea. I really ...
10
votes
1answer
264 views

Partial italic text in PDF bookmarks

In my LaTeX file I've got some chapter titles with partial italicised text. With the hyperref package, I get the required bookmarks, etc. but the style for these partial italicised text disappears. ...
10
votes
1answer
454 views

Problem with use of '#' in custom \href command

I'm having a similar problem as described here: How to use \newcommand for \href? However, I want to specify an URL with an # sign in it. I know that I should escape the # by \#, but as we have many ...
10
votes
2answers
2k views

\autoref should call sections within the appendix “appendix” not “section”

I make use of autoref thoughout my now rather long document. I have an appendix with sections, though currently a small number, so changes could be made here. I want references in my document to ...
10
votes
1answer
118 views

Why can't I expand \ref*{} as a string?

In the following code, if you change \def to \edef the code crashes. Nor can you perform normal string operations or tests. Removing hyperref (and replacing \ref* with \ref) works fine with \edef. ...
10
votes
1answer
622 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 ...
10
votes
1answer
354 views

extra “]” displayed when using htlatex in TL 2013 with \usepackage{hyperref}

I noticed I am getting a new char displayed on the HTML page which did not exist when I was using TL 2012 with htlatex. I narrowed it down to including \usepackage{hyperref} This extra "]" shows only ...
10
votes
1answer
684 views

Italic index entries have no link in PDF

I have a problem when adding index entries. When I use just the vanilla \index{...}, the generated PDF contains links on the page numbers in the index. But when using \index{...|textit} to mark index ...
10
votes
1answer
431 views

How do I add accented characters to PDF info without using hyperref?

Using pdflatex, I'm looking to add PDF information into by document, including an accented name (Rónán Daly). Normally I'd use hyperref to do this; however, the conference I'm submitting to is ...
10
votes
2answers
2k views

Is it possible to have back references after each chapter with a single main.bib file?

I'm using LaTeX + BibTeX to write my dissertation. I have one separate .tex file for each chapter. And I'll generate one bibliography for each chapter. But all the references are from the same file ...
10
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} ...
10
votes
2answers
400 views

Generate large document by pdfTeX, then break result into many PDF files while preserving links

This is the PDF file of a book I wrote: http://www.abstractmath.org/Handbook/handbook.pdf It takes a long time to download because it is a big file. I generated it using pdfLaTeX. Is there a way to ...
10
votes
1answer
7k 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 ...
10
votes
1answer
1k views

titlesec, hyperref, algorithm2e, and \appendix

When I use titlesec, hyperref, and algorithm2e together, sections after an \appendix are not numbered properly. \documentclass{article} \usepackage{titlesec} \usepackage{hyperref} ...
10
votes
2answers
125 views

Correct kerning of hyperlinks in math mode

I use hyperlinks in math mode to if a reader does not read my thesis sequentially and finds a very arcane symbol somewhere, he may just click it and go to where it is defined. However, adding links ...
10
votes
1answer
149 views

Refer to labels of merged pdfs?

Do I need to use an extra program (pax) in order to bookmark labels of merged pdfs? For my application, I use KOMA-Script for the letter and moderncv for the CV. Therefore, I have to use two ...
10
votes
1answer
808 views

hyperlinks in biblatex

I'm making a biblatex style to solve an issue with the standard styles: if you have a reference with a doi field, it just prints the DOI number, with a clickable link if hyperref is enabled. But a ...
9
votes
3answers
612 views

Hyperref using the wrong language script for \url?

In a mixed language document, I try to use a URL. Here is minimal input demonstrating \documentclass{article} % compile with xelatex \usepackage{hyperref} \usepackage{polyglossia} ...
9
votes
3answers
3k views

Unable to link to inserted pages with pdfpages

I would like to add labels to pages inserted with the pdfpages package. I sort of works right now, but it is not possible to link to the labels with \ref and \pageref commands. But it is possible to ...
9
votes
2answers
24k 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 ...