{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

9
votes
2answers
819 views

autoref names messed up when defining certain ntheorem theoremstyles

I define a theorem style pretty innocuously, to get things looking a bit more like amsthm theorems. But - my \autoref{}s become messed up with optional arguments of theorem environments. ...
9
votes
1answer
525 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 ...
9
votes
1answer
503 views

Possible incompatibility between biblatex and hyperref's pdfmark?

I am trying to use biblatex's \citetitle inside a \pdfmark so that the title of a citation pops up as a tooltip in PDFs. Code looks like this: %% A tooltip macro using pdfmark \newcounter{tooltip} ...
9
votes
2answers
470 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 ...
9
votes
2answers
150 views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
9
votes
1answer
613 views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
9
votes
3answers
376 views

Extended reference for enumerate item using parent environment

I want to reference an item of an enumerate list by it's normal label, if we are still in that same enumeration and by an parent.item syntax if we are somewhere else in the document. For example: ...
9
votes
2answers
1k 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 ...
9
votes
2answers
2k views

Is it possible to use hyperref, subfigure, and memoir together?

I asked a question about how to use subfigure with memoir. I got some great tips, but now pdflatex is making all subfigure hyper-refs point to the first couple subfigures. It also gives me this ...
9
votes
1answer
1k 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 ...
9
votes
1answer
618 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 ...
9
votes
1answer
170 views

Bad page break with \newenvironment, \refstepcounter and hyperref

I tried to define some environment but came across bad page breaks sometimes. The minimal working example is as follows: \documentclass[b5paper]{article} \usepackage{hyperref} % page break is correct ...
9
votes
1answer
139 views

\ref with tight box surrounding the reference

How can I make the colored box around a reference appear completely tight? MWE: \documentclass[a4paper,twoside,openright,final,12pt]{book} \usepackage{etex} \usepackage[english]{babel} ...
9
votes
1answer
1k views

How to hyperlink only the year part when using natbib and hyperref

I am using the natbib and hyperref packages: \usepackage{natbib} \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, ...
9
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} ...
9
votes
1answer
775 views

bibtex: URL and DOI line breaks on different characters

In my references, I want to allow DOI's to break on a slash '/' character (or as a last resort on any character) to avoid underfull lines like the third reference below. Note that URL's are already ...
9
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 ...
9
votes
1answer
175 views

How to lock the back reference at the top left corner of the bibliography entry?

Anybody knows how to lock the back reference at the top left corner of the bibliography entry by employing BibTeX? The result should be like this: It works to me when using \bibitem (yes, it goes ...
8
votes
3answers
885 views

Incompatibilities of cmap with fontenc/hyperref?

The following code doesn't compile (with pdflatex) \documentclass{article} \usepackage{cmap} \usepackage[T1]{fontenc} \usepackage[pdfa=true]{hyperref} \begin{document} Hello. \end{document} ...
8
votes
5answers
2k views

Greek pdf bookmarks

I am puzzled with sections titled with Greek characters. They do appear in the pdf's Content list, though not correctly. For example, in my thesis--written in English with LyX, based on the ...
8
votes
2answers
21k 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 ...
8
votes
2answers
322 views

Why hyperref doesn't like commands set via \let in section titles?

pdflatex returns on below document \documentclass[a4paper]{article} \usepackage{hyperref} \let\code\texttt \begin{document} \section{\texttt{first}} \section{\code{second}} \end{document} following ...
8
votes
2answers
2k 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 ...
8
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 ...
8
votes
2answers
192 views

How to strip “eq.” from cleveref?

How can I make cleveref output (1) instead of eq. (1) when referencing equations only?
8
votes
2answers
168 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 ...
8
votes
2answers
841 views

Changing the hyperref target for back references in biblatex bibliography

In my bibliography style, I have added a trigger to change the biblatex bibliography back reference mechanism to refer to the paragraph numbers in the margins ("runners") instead of pages. ...
8
votes
3answers
203 views

Can I force hyperref to use a custom driver?

As part of a project to get LaTeX to output something useful, I found myself wanting to write a new hyperref driver for the desired format. The documentation explains what a driver needs to do, but ...
8
votes
2answers
190 views

How can I programmatically populate a PDF's pdfcreator field?

As I understand it, embedding (as metadata) the typesetting engine that was used to produce a PDF document is good practice. Here is an example of how this can be done using the hyperref package: ...
8
votes
2answers
262 views

How to refer back to a point in the document with custom counters?

The easiest way to explain what I would like to have is to show the desired output and I would like to get this by writing something like: \begin{document} Draw point B \STEP{drawb}. Connect A and ...
8
votes
2answers
484 views

How to write properly an accent in a web address?

I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
8
votes
4answers
5k 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. ...
8
votes
1answer
8k views

Further customize color of hyperref links

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
8
votes
1answer
99 views

How to avoid the hyperlink on a particular \ref

I use hyperref and I produce the pdf via pdflatex. Everytime I use \ref I get in the pdf a clickable link and I am happy with it... but I would like to disable the hyperlink in the pdf for one ...
8
votes
1answer
192 views

Referring to specific list item with hyperref

using the following code, when I click on references (having red boxes), they do not refer to proper places. \documentclass{article} \usepackage{array,longtable} \usepackage{hyperref} ...
8
votes
2answers
232 views

Key Value option in package

I trying to write a package, and I'd like to specify whether there should be colour or not. I'd like to do: \usepackage[color=false]{foo} and have this set \RequirePackage[color=false]{hyperref} ...
8
votes
3answers
893 views

Page number of glossary while using hyperref

I want to reference the glossary in the text. The solution given to this question on this website works for me. But adding \usepackage{hyperref} before \usepackage{glossaries} makes it not work ...
8
votes
2answers
466 views

referencing main subequation

In the following example i labeled each subeqnation. \begin{subequations} \begin{gather} R_0 = 0 \label{subeqn:ini-cond-r} \\ N_0 = 0 \label{subeqn:ini-cond-n} \end{gather} ...
8
votes
1answer
846 views

Avoiding inelegant splits on URLs

I am using biber and biblatex to process my bibliography. URLs are handled with breaklinks=true under hyperref. I have found an inelegant breakup of a hyperlink resulting in a reference like this ...
8
votes
2answers
842 views

Hyperlink's bad navigation of sub-figures on click

I am using hyperref package to have hyperlinks automatically generated for figures, equations, table of contents, etc... My problem is if I have a big figure consisting of sub-figures and then have a ...
8
votes
1answer
186 views

Why I shouldn't load pdftex option with hyperref?

According to @percusse in this post, I shouldn't load the pdftex option with the hyperref package. Why is it?
8
votes
2answers
1k 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 ...
8
votes
3answers
891 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} ...
8
votes
1answer
180 views

Changing case of URL in \href argument

I would like to write a macro similar to the \href command from the hyperref package, but which takes a single argument. The URL is generated by making the argument lowercase. Here is a minimal ...
8
votes
1answer
4k 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} ...
8
votes
2answers
1k views

“Reference does not exist” warning with \includeonly

I am in the process of writing my thesis and am using the \include command to separate the files. But when I use the \includeonly command to select on the current chapter which has references to ...
8
votes
1answer
94 views

Bookmark with a link to open the attachments pane

Is it possible to have a bookmark with a link to open the attachments pane? If you carefully read hyperref packege you'll see that the \Acrobatmenu alows you to have links that enables you to open and ...
8
votes
2answers
258 views

PDF keywords from Expl3 clist

I’m trying to add PDF keywords to my résumé. In the custom class file, I have these lines: \clist_new:N \jcsres_keywords_clist \NewDocumentCommand \keywords {m} { \clist_gset:Nn ...
8
votes
1answer
750 views

One way links to glossaries

Is there any way to have hyperlinks to the glossaries/acronyms (using glossaries package) in only one direction? What I want is a link to the page where an acronym is used, in the list of acronyms. ...
8
votes
1answer
715 views

Hyperref to external pdf that will open at particular label

Suppose you have a tex file (lets call it B) with some labels, and another one file (call it A) , xr package will allow us to make hyperref from A->B , but I previously found couple cases (I don't ...