{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

12
votes
2answers
3k views

Make PDF open in “Fill Window” mode with hyperref

When I usually open a PDF with Acrobat Reader it opens it in Fill Window mode (the page fills all the space of the window). When using the hyperref package it always opens the file in Full page mode ...
12
votes
1answer
432 views

What is a nice design/implementation for “back to the top”?

I want the reader of output of a PDFLaTeX be able to go back to the table of content or first page. What is a good way of doing this? Most PDF readers provide a TOC and navigation system but I was ...
12
votes
2answers
142 views

How to change the PDFBookmark titles (hyperref)

I am looking to change the title which displays in the PDF bookmark tabs to match the format of how I have my chapters listed. \documentclass[]{report} \usepackage[hidelinks]{hyperref} %to add ...
12
votes
1answer
2k views

Difference between bookmark levels greater than one - what does this mean?

When compiling my LaTeX file, I received this warning message. Though I got the PDF file, I still want to know why this warning comes and how to fix it. It occurs in this line. \paragraph{Plane ...
12
votes
1answer
494 views

Lost labels using intertext with varioref and hyperref

I have a problem using \intertext together with \vref when hyperref is also used. Consider the following minimal example: \documentclass{article} \usepackage{amsmath, varioref} ...
12
votes
2answers
2k views

Making endnotes clickable links with hyperref

I would like to use the endnotes package, hyperref and biblatex together to have links to my endnotes. Here is a MWE that shows how the links don't show up: \begin{filecontents}{testbib.bib} ...
12
votes
3answers
259 views

Gobbling an argument if it starts with #

My problem comes from pandoc and markdown, but it is not directly related with these tools, but instead with "customizing" the resulting pdf via some tex macro programming, so I think it is on topic. ...
12
votes
2answers
179 views

Create a register of persons with references

To Create a register of persons with biblatex seems to be much more complicate then i expected. How can i create nice a register of persons semiautomatic with \ref? Lets assume i have 20 persons ...
12
votes
1answer
1k views

How do I make an attached file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and\textattachfile[color=1 1 1]{description}{file.pdf}. How can I make the text look the same as it would if I had used the ...
12
votes
3answers
2k views

How to change the PDF producer metadata with XeLaTeX on MikTeX

I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
12
votes
3answers
491 views

Enumerate after \label

I have the following code: \usepackage{hyperref} \newtheorem{thm}{Theorem} \begin{thm} \label{mythm} \begin{enumerate} \item \end{enumerate} \end{thm} \ref{mythm} The ref prints the ...
12
votes
1answer
305 views

Change format of hyperref generated PDF bookmarks

In a generic way, how can I change the format of bookmarks generated automatically by hyperref (or bookmark)? By generic, I mean the ability the customize the bookmark format for part, chapter, ...
12
votes
1answer
626 views

Creating a new environment with referencing

I'm trying to create a referenceable "system" environment that basically displays an equation with a custom counter. Then I want to reference the environment with autoref, so as to have "System (S1)" ...
11
votes
2answers
9k views

Option Clash for Hyperref Package

Hi friends i am beginner to Latex. when i run this code i am getting the error "! LaTeX Error: Option clash for package hyperref." Here is the code: \documentclass[11pt,a4paper]{moderncv} ...
11
votes
2answers
253 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
7k views

Link formatting: colors, underlines in moderncv

Following the excellent advice in this site, I have started using moderncv for writing the new version of my CV. Unfortunately, after converting to PDF, my http links work (clicking on them leads to ...
11
votes
4answers
804 views

Thumbnails of other frames in beamer

I would like to make a presentation with beamer, and have a few frames (at the start or the end) containing thumbnails of the other frames, hyperlinked to them, with something like 4x3 or 5x4 ...
11
votes
1answer
536 views

Getting cleveref to mark all of “Lemma 1” as a hyperlink, not just “1”

I recently discovered the very nice cleveref package, and really like. Works much better than autoref (from hyperref) for me. There is only one thing I don't like: If, for example, the \cref command ...
11
votes
1answer
1k views

Breaking links and escaping characters in bibliographies with backlinks and ocgcolorlinks set

I have the following situation: I have to use the ocgcolorlinks option in hyperref, so that links are not broken. So I had the idea to set each char as a link with \href. After putting some code ...
11
votes
1answer
3k views

Formatting back references in bibliography

I would like to change the way the back references are shown in the bibliography, such that they are all shown within parentheses. So I would like to see (page x, y, z) after my bibitems. This ...
11
votes
2answers
1k views

Biblatex, authoryear-comp, and hyperlinks

In answer to this question, Audrey offered an answer that works great with the authoryear option. (Context: I'm trying to get the hyperlink in citations to include the name of the author, and not ...
11
votes
3answers
888 views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
11
votes
2answers
677 views

Linking the section text to the TOC

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
11
votes
1answer
365 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
1answer
117 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
202 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
324 views

hyperlinking author names in biblatex when using \citeauthor

Using biblatex, the \citeauthor no longer is hyperlinked by default (as done in natbib). I am currently desperately looking for a way to make it a hyperlink ... any suggestion welcome
11
votes
1answer
935 views

hyperref: pdftitle and wrong character encoding [duplicate]

Possible Duplicate: Using non ASCII characters in author names and titles within hyperref pdfinfo \documentclass[12pt,a4paper]{mwrep} \usepackage{polski} \usepackage[utf8]{inputenc} ...
11
votes
1answer
1k views

How to force hyperref to reference only \cite and not \citeauthor or \citeyear?

I would like hyperref to make links only when I use \cite and not with \citeyear and \citeauthor. Here is an example : \documentclass{article} \usepackage[numbers]{natbib} \usepackage{hyperref} ...
11
votes
1answer
2k views

Reference plain text

Is there a way to reference just plain text with the \ref{} tag? I have a table with two columns. Each column has content which links to a different part below. The reference in the first column is ...
11
votes
3answers
3k 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
2answers
2k views

How to create a link in a pdf document to open a file using a specified application installed on the machine?

Assume I have a file on my machine at file:///c:\figure.bmp. From my pdf document, that is created by LaTeX using hyperref.sty, how can I open figure.bmp using mspaint.exe (microsoft built-in image ...
11
votes
2answers
754 views

Beamer ignores citecolor from hyperref

How do I make citation links green in Beamer? It seems that Beamer ignores the hyperref option citecolor. I tried using the linkcolor option instead, but that affects all links (such as the link to ...
11
votes
2answers
461 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
121 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
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
2answers
5k views

Autoref's inserted text has not the correct case

I'm using the \autoref tag which comes with the package hyperref for referencing my algorithms, figures etc. I read that it automatically adjusts the reference text's case, but it won't work with my ...
10
votes
3answers
495 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
205 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
571 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
584 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
916 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
189 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
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
1k 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
1k views

Symbol for external links

I'm using the hyperref package in my document to provide hyperlinks to external documents. However, I don't want to have the links coloured or underlined, because I find this usually ugly and ...
10
votes
2answers
320 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
400 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 ...
10
votes
1answer
459 views

Hide subsubsections in toc, but show in PDF

I am hiding subsubsections in my TOC because they got too many. But I would like them to show up in the navigation when viewing the document as PDF anyway. Is there any way to do this, and how? ...