{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

13
votes
2answers
532 views

\#\#\#\# becomes “##” in printout

I want to refer to a url using "####" as a stand-in for the many four digit codes which could take it's place. But this ... \documentclass{scrartcl} \usepackage{url} \usepackage{hyperref} ...
13
votes
3answers
299 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. ...
13
votes
1answer
374 views

highlights path sequentially BUT in order of clicking

I have been looking for a possibly difficult answer to a simple question. I would like to be able to highlight paths on a TikZ picture. I would like to highlight these paths by clicking on them and at ...
13
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 ...
13
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} ...
13
votes
3answers
4k views

\pdfendlink ended up in different nesting level than \pdfstartlink

I started using showkeys in one of my documents and see this error \pdfendlink ended up in different nesting level than \pdfstartlink A bit of google suggests that this "happens when hyperref is ...
13
votes
1answer
2k 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 ...
13
votes
1answer
255 views

Box around raggedright links spanning two lines extends to right margin

I need to use boxed links and ragged right text. The problem is that when a link spans two lines, though the link is broken correctly (when using pdflatex) the box around the linked text extends until ...
12
votes
2answers
6k 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 ...
12
votes
2answers
1k views

biblatex-apa and hyperref: right parenthesis not part of link for \textcite

I use biblatex-apa citation style. I also use hyperref with colour links, rather than ugly coloured boxes. When I use \textcite the author name and year are both part of the link, but the right ...
12
votes
4answers
501 views

Set chapters at section level in the table of contents

I have: \chapter{My first chapter} \chapter{My second chapter} \phantomsection \addcontentsline{toc}{chapter}{Appendixes} \appendix \makeatletter \def\toclevel@chapter{1}\def\toclevel@section{2} ...
12
votes
1answer
571 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
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 ...
12
votes
4answers
900 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 ...
12
votes
2answers
199 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
2answers
190 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
414 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
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
539 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
1answer
4k views

Precise back-reference target with hyperref and backref

The backref option and its variants in the hyperref package allow to include back-references in the bibliography to the page(s) or section(s) in which a given reference was cited. The target of the ...
12
votes
3answers
537 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
371 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
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} ...
12
votes
1answer
843 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)" ...
12
votes
2answers
589 views

Best way to part answers from solutions?

Now, if anyone could change the title into something better that would be great =) I am writing a rather long document, which contains plenty of integrals. I have a big list of integrals sorted in a ...
12
votes
2answers
1k 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 ...
12
votes
3answers
3k views

How to enforce generation of PDF table of contents?

When I'm adding \tableofcontents to my document the PDF generated contains a nice list of sections/subsections on the left side, when viewed in Adobe Acrobat (I also use hyperref package). Everything ...
11
votes
3answers
410 views

Why does hyperref overrule so many things?

One very usefull package is the hyperref-package. However a lot of times this package interferes with other packages or structures within a LaTeX document. So what is it about hyperref that makes it ...
11
votes
2answers
263 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
4k views

How to return to original .pdf presentation after open a .pdf linked file?

I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like: \href{name_file_to_open.pdf}{here I put a link to a figure which is working well} It works ...
11
votes
2answers
443 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
1answer
644 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
2answers
8k 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
3answers
2k 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 ...
11
votes
1answer
2k 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
649 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? ...
11
votes
3answers
3k views

How to get correct autoref for theorems

I have some own theorem environments. And my theorems are numbered like the chapter. Now I would like to use autoref with that. But it does not work like it is described here ...
11
votes
3answers
683 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
484 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
134 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
221 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
3k 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

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
1answer
1k 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
607 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
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
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
2answers
3k 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
1answer
2k views

List section in pdf bookmarks, but omit in LaTeX table of contents

Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both. Is it ...