{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

15
votes
3answers
831 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 ...
8
votes
1answer
1k views

Use hyperref to make bookmarks; how to include superscript

I used hyperref to make bookmarks. After reading hyperref's manual, I got this example and it worked: \section{Pythagoras: \texorpdfstring{$ a^2 + b^2 = c^2 $}{ a\texttwosuperior\ + ...
6
votes
1answer
888 views

Define a custom command with name, label and linkable

I'd like to create a command with the following features: \newcommand{\mycom}[2]{...} \newcommand{\linktomycom}[1]{...} In the doc body: \mycom{firstitem}{This is the first item} and later: ...
9
votes
1answer
918 views

Use autoref with minted and its listing environment

I would like to use autoref from the hyperref package to create a reference to a floating listing as provided by minted. This code \documentclass[a4paper]{book} \usepackage{minted} ...
2
votes
1answer
910 views

Short title that is not displayed in the ToC {hyperref}

I am using TexShop and because there is nothing like a navigation (or at least I don't know how to create it) and my document comprises about 200-300 pages, I try to build my own navigation in the ...
7
votes
3answers
4k views

hyperref with the backref=page option

I encountered an issue when using the backref=page option of the hyperref package together with the natbib package with the options square,sort&compress,numbers. If the natbib package compresses a ...
7
votes
1answer
2k views

How to temporarily disable PDF bookmarking ?

I'm forced to use a third-party document class that somewhat messes up the bookmarking done by hyperref (and the bookmark package): a spurious bookmark appears for 'author' (so I guess the package ...
28
votes
1answer
19k views

How to change the color of \href links… for real

I would like web links generated by the \href command to be colored in my Beamer presentation. Passing the colorlinks option to hyperref leads to navigation links within the PDF receiving (default, ...
4
votes
2answers
2k views

How to make pgfplots vertical labels have proper hyperref erence box?

PGFPlots and hyperref don't seem to play well together for vertical text. For example, the ylabel (which is vertical) shows its hyperref box in the middle of nowhere instead of at the position and ...
3
votes
1answer
288 views

`hyperref` weirdness with simple custom package

Trying to retroactively get hyperref working for my thesis. Fun. Encountered the following weirdness... I have the following (hard earned) minimal-ish working example: \documentclass{article} ...
8
votes
2answers
9k views

pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior)

Here is a minimal example: \documentclass{amsart} \usepackage{amsthm} \usepackage[pdftex]{hyperref} \newtheoremstyle{myexercise}{\baselineskip}{\baselineskip}{}{}{\bfseries}{.}{ ...
21
votes
3answers
2k views

Using non ASCII characters in author names and titles within hyperref pdfinfo

I am trying to generate a PDF file (using pdflatex) with hyperref references; both the title and author should be visible as pdf properties, and both contain accents or non us-ASCII. The rest of the ...
19
votes
4answers
5k views

Getting those %#!^& signs in the footnote!

This is basically an expanded version of part of Control command arguments . The original questioner there wants to redefine \href so that all the links end up in foonotes (rather than in the main ...
2
votes
1answer
869 views

endnotes with hyperref (resetting the counter) problem

Following with the discussion in Making endnotes clickable links with hyperref, I've the following issue. If I try to use this method to enable hyperlinks with endnote, everything works fine. But, if ...
16
votes
4answers
10k views

MacOS X: insert hyperlink to local file (complete path) in LaTeX? (only working with relative path)

I want to add hyperlinks to external pdfs (which are saved in the local file system) and to specific pages of these pdfs to a LaTeX document on MacOS X and opening them with Skim.app (default). My ...
7
votes
1answer
780 views

How can I use cross-references and hyperlinks to parts of an align environment?

I'm writing an exercise book, and in some exercises I'll have several numbered equations in an align environment, e.g., (1) x^2+x+1=0, (2) ax^3+2x=0, (3) x^5=2i, (4) x^4=-i, (5) x-1/x=2, (6) ...
5
votes
1answer
855 views

How to use \autoref to create a page link?

I am using the hyperref package and want to use the \autoref{} command to output the page of the referenced label (similar to \pageref{}). The label is not inside a figure, equation, etc., so by ...
7
votes
1answer
459 views

Odd interaction between hyperref, breqn, and underscores

My problem may have a similar root cause as this question, and although I've got a working solution I'm happy with, I'm puzzled as to why this happens at all. MWE: \documentclass{article} ...
12
votes
3answers
2k views

Is it possible to add \chapter after a few \part's at the same level of hierarchy?

Consider the following code: \documentclass{scrbook} \usepackage[bookmarks, bookmarkstype=toc]{hyperref} \begin{document} \tableofcontents \chapter{Introduction} \part{First part} ...
29
votes
3answers
4k views

Automatic “Zoom in” hypertext boxes in PDF

I remember long time ago, seeing PDF documents (such as online PDF versions of newspapers) that had hypertext boxes around paragraphs, such that when you clicked inside those boxes the surrounded ...
6
votes
1answer
448 views

How to make chapter numbers in TOC as non-link (hyperref package)

I'm using the hyperref package to enable PDF links & bookmarks in the output file. I would like to achieve the following behavior ([] denotes clickable area} 1 [The first chapter] .............. ...
5
votes
1answer
307 views

Automatically avoid broken internal hyperlinks

I am using pdftex and the hyperref package. I have a number of automatically generated \hyperlink{<label>}{<text>}, which point to other automatically generated ...
4
votes
1answer
736 views

Hyperref breaks my all-caps ToC entries

I started out on this earlier question. I now have a simple and elegant etoolbox solution to making all-caps chapter entries, but leaving appendix entries untouched. Simple, elegant, and incompatible ...
18
votes
2answers
11k views

Customize PDF bookmarks

I have the following document (this is an example): \documentclass{book} \usepackage[bookmarks=true,pdfborder={0 0 0}]{hyperref} \title{Sample document} \begin{document} \thispagestyle{empty} ...
9
votes
3answers
758 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} ...
6
votes
1answer
1k views

Making memoir Chapter entries in ToC all-caps and Appendix entries regular case, without breaking hyperref

I have a thesis style working, but around 10% of my code is a copy of memoir's \def\@chapter that lets me put all regular chapter entries in all caps, and keep appendix entries in regular case. This ...
11
votes
2answers
30k 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 ...
6
votes
1answer
1k views

pdfpages and linktodoc

I'm trying to link to a specific page in an external document. This has been discussed previously under the topic, How to link to specified page of an outer pdf document?, and the answer suggests ...
6
votes
2answers
2k views

Add a link to the TOC

I'd like to link the Table of Contents in the footer of each page. I can achieve this thanks to this hint like so: # In the hyperref section of the document preamble \cfoot{\hyperlink{page.1}{TOC}} ...
4
votes
1answer
2k views

How to make good bibliography with hyperlink?

I have been struggling to have something like this: 1) In the text: 'It has been shown (Arnold et al., 2011) that space technology is expected to...' 2) In bibliography: Arnold, J. P., S. ...
29
votes
2answers
24k views

URL with tilde character?

I'm trying to make a URL with a tilde character (~) in it: \usepackage{url} ... \url{http://lyle.smu.edu/~tspell/jaws} It looks right in the resulting PDF, but when clicking on it the browser goes ...
4
votes
1answer
1k views

Hyperref link spanning two lines

in my tex source file I have a link like that: \href{http://en.wikipedia.org/wiki/Warm_dark_matter}{Warm Dark Matter} This link starts on one line and ends on the next line. The problem is that ...
4
votes
1answer
661 views

(small) incompatibilities between LuaTeX+hyperref (pdftitle)+accents

The following ECM works fine when compiled with XeLaTeX, but if compiled with LuaLaTeX there is a minor problem : accented letter produces garbage in the pdftitle — but it's fine in the document . I ...
6
votes
2answers
1k views

Quotation marks in section titles

I have a question similar to that in Cite in the caption of a graphic but not in \listoffigures? I'm using this to create bookmarks in my generated PDFs: \usepackage[pdftex,bookmarks=true]{hyperref} ...
64
votes
2answers
22k views

Hyperref warning - Token not allowed in a PDF string

When compiling a beamer presentation and using the following \author command \author{Name \\ \texttt{my.email@domain.com}} I get the following hyperref warning in my logfile Package hyperref ...
9
votes
6answers
7k views

How to avoid link higlighting when using package hyperref?

I'd like to include some http links in my document. So i Included the hyperref package so that i can use the command \url{} Microsoft Surface\footnote{\url{http://www.microsoft.com/surface}} This ...
44
votes
6answers
21k views

Multiple references to the same footnote with hyperref support - is there a better solution?

According to the Latex wikibook the workaround for having multiple references to the same footnote with hyperref support is this: \footnote{This is the ...
8
votes
1answer
2k views

Multiply defined labels using hyperref

I'm using the stackrel command to indicate important steps in the transformation of formulas. E.g. I would write: A\stackrel{(!)}{=}B so that I can later explain in text why exactly A equals B. I've ...
6
votes
2answers
3k views

How do I make every CheckBox the same size?

I'm using hyperref \CheckBox command to add checkboxes to a document for use on screen and in print. I'm specifying the size of the \CheckBox (as part of command definition): ...
5
votes
2answers
458 views

Using \input vs. \scantokens in section title (with package hyperref)

I meet the following issue when trying to use \scantokens in section titles, together with the hyperref package (whithout this package, all is fine). \protect\input... can appear in a section title. ...
1
vote
1answer
536 views

Defining a custom cross referencing style

I want my cross reference links to look like: Chapter X: Chapter Title To achieve that I have created the following command: \newcommand{\fancyref}[1]{\autoref{#1}: \nameref{#1}} The problem is ...
5
votes
1answer
5k views

hyperref url breaking

References: Forcing linebreaks in \url So, in a plain document with \usepackage{url} \begin{document} You can find this at \url{very-long-url}. \end{document} the URL will be broken down, e.g. ...
10
votes
2answers
367 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.
1
vote
0answers
1k views

Option breaklinks doesn't actually break links pandoc [closed]

\usepackage[ breaklinks=true, unicode=true, urlcolor = blue, colorlinks = true, citecolor = blue, linkcolor = blue]{hyperref} From what I've read, that should work. The other options do ...
3
votes
2answers
550 views

hyperref: new bookmark, full-page floats

The hyperref package automatically creates a list of "Acrobat bookmarks" – a table-of-contents tree that is not part of the printed document, but can be accessed in a PDF reader (typically it is ...
18
votes
4answers
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} ...
21
votes
1answer
3k views

Creating a PDF bookmark that goes straight to a section heading, not above or below it.

Is it possible to create a new bookmark to a section heading that is not listed in the Table of Contents (i.e., using the starred form — \section*{A title})? \pdfbookmark (part of hyperref.sty) or ...
1
vote
1answer
1k views

Generating links from citations for bibliography using BibTeX and Hyperref

I created a LaTeX document on Windows using TeXworks with the MiKTeX package. When I copied the same .tex file over to Linux (Ubuntu 9.10) and tried to compile using TeXLive everything worked fine ...
3
votes
1answer
672 views

Hyperref and Sideways Figures

I was wondering if anyone could help me. I don't know much about LaTeX, but I'm trying to reference sideways figures in my text. When I click on the links in the pdf they take me to completely ...
4
votes
1answer
625 views

Hyperref links linking to the wrong label.

I'm currently trying to write up some solutions to a set theory text, but some of my labels don't seem to be working correctly. I've uploaded it here, if it's perhaps helpful to look at. Anyway, I ...