{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

2
votes
1answer
72 views

Is it possible to access command parameters?

I use hyperrefs extensively in my document and I define them like this: \hyperref[label]{some text \ref*{label}} It's really annoying that I need to repeat the label twice. Is it possible to ...
3
votes
1answer
53 views

Opening a non-PDF file clicking on a bookmark

I know it is possible to open a PDF file using bookmarks. But is it possible to open a non-PDF file by clicking on a bookmark? I've read all documentation from hyperref and bookmark packages but ...
5
votes
1answer
48 views

Issue with hyperref and appendix packages

I can't use both (hyperref and appendix) packages together. When I try to compile my code with these two packages, the following errors arise: This is my MWE: \documentclass{book} ...
1
vote
1answer
41 views

My float items are linked to wrong entities

I am using a .sty file from my university to prepare my dissertation. In this file, there is a float for "Algorithms" that I use to define Algorithm 1, Algorithm 2, ... My problem is that, no matter ...
1
vote
0answers
22 views

Expand bookmark by single-clicking on it

Probably being too pedantic but is it possible to expand a bookmark by single clicking on it? Emphasis on single clicking! I know it is possible to expand a bookmark by double clicking, but I want to ...
0
votes
0answers
22 views

Varioref and Cleveref inconsistent while redefining page

I am trying to use cleveref and varioref. I read here how should be the correct order of loading the packages. Also saying that \vref and friends would become clever since cleveref changes the ...
2
votes
2answers
65 views

htlatex causes hyperref package not to load completely

The following code runs perfectly fine when using the regular latex command. \documentclass[a4paper,11pt]{book} \usepackage{hyperref} \renewcommand{\sectionautorefname}[1]{Section~} \begin{document} ...
2
votes
1answer
61 views

hyperref not working. It goes to wrong page

I dont understand why my hyperref is not going to the page I wanted when I click it on my table of content? \documentclass[12pt, a4paper, oneside]{report} \usepackage[T1]{fontenc} ...
0
votes
0answers
44 views

doi package inserting http:/dx.doi.org/\let… instead of http:/dx.doi.org/… in bibliography hyperlinks

When I use the doi package, the links in my bibliography are: http://dx.doi.org/%5Clet%20... instead of http://dx.doi.org/... Any ideas? MWE: \documentclass[preprint,12pt]{elsarticle} ...
2
votes
0answers
69 views

Bibliography style elsarticle-num-names with DOI and hyperlinks but no explicit url

I prepared my article with elsarticle, using \citep & \citet throughout. I originally used apalike bibliographystyle but now need to change it to elsarticle-num-names for citation formatting ...
1
vote
1answer
42 views

Modify hyperlinks in table of contents

I'm using hyperref package so that \tableofcontents has clickable links. Is there a way to force one hyperlink in \tableofcontents to refer to a given page instead of the automatically selected page? ...
2
votes
0answers
40 views

Display shortcuts other than urls with href

Big picture, I am trying to develop an approach that will allow me to store the latex commands and labels (pre-expansion) that I use to typeset dynamic text (bib entries with cite, cross referencing ...
2
votes
2answers
57 views

Add PDF title to bookmark using hyperref + Colour equation reference

I want to add a PDF title to the PDF bookmark using hyperref package. However it does not work. As shown in the picture, I want to add a title above the Introduction. Moreover, I want to make ...
3
votes
1answer
67 views

Manually added hypertargets are shifted by one line in PDF

I'm using the hyperref package to create links and targets between citations in the main text and references at the end of my document. Clicking on one of these hyperlinks leads to displaying the ...
4
votes
2answers
45 views

\nameref with quotes

How can I redefine the \nameref command to have the referenced caption in quotes? Here is what I have tried: \documentclass{article} \let\oldnameref\nameref ...
2
votes
1answer
50 views

Appendix labels in small caps and hyperref

I'm using the book class and I'd like appendix labels (letters) to be in small caps everywhere, particularly those generated by \ref and \autoref. I've tried doing it by redefining \thechapter after ...
1
vote
1answer
37 views

Texcount error 'could not recognise package list'

using texcount in the command line interface produces the error 'could not recognise package list'. I'm using texcount -1 -sum -inc mymainfile.tex which includes several files in a two different ...
6
votes
3answers
959 views

Hyperlink in moderncv with acrobat reader

The hyperref in moderncv for urls and the email address cannot be opened with adobe acrobat reader. The links are working in other pdf readers. It's only an issue with moderncv opened in adobe acrobat ...
1
vote
1answer
20 views

Changing the colour of *some* references

I am using \usepackage[colorlinks=true,linkcolor=black,linktoc=page]{hyperref} and the citations come out green, while the page numbers in the table of contents, figure and equation numbers come out ...
1
vote
0answers
23 views

Using cleveref with 2 different styles

I like to style my \cref as following (Geophysical Prospecting): Type 1: Fig. 1, Fig. 1(a), Fig. 1(a,b), Figs 1 and 2 Type 2: (Fig. 1), (Fig. 1a), (Fig. 1a,b), (Figs 1 and 2) I have tried with ...
1
vote
1answer
28 views

toc-like forward storage for captions

Dear experts: how does one write out the table captions for use later? Think \documentclass{article} \newcommand{\mycaption}[2]{\caption{#2}\label{#1}\savecaptioncontent{#1}{#2}} ...
5
votes
2answers
172 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
5
votes
1answer
25 views

Wrong autoref names when using babel's `main=` feature

I have just tried out the main=<language> package option to babel and found that it seemingly does not play nicely with hyperref's \autoref. Using the traditional syntax works nicely: ...
2
votes
1answer
19 views

Hyperref Working; Need to add additional cover page bookmark, not included in the contents

Currently \usepackage[bookmarks]{hyperref} is working. PDFs I've viewed in the past, however, include bookmarks for pages prior to the Contents (e.g. Cover, Copyright, etc.) Is there a way to add a ...
2
votes
2answers
36 views

hyperref and loading accents

Here's my MWE : \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[frenchb]{babel} ...
2
votes
1answer
33 views

Question on why hyperlinks are not aligned with adjusted page counting

When I adjust the page countering the hyperreference under the hyperref package shows the correct page, but when the hyperlink is clicked it takes me to the page which had been indicated without the ...
132
votes
11answers
12k views

Which packages should be loaded after hyperref instead of before?

The hyperref documentation says: "Make sure it comes last of your loaded packages". The reason is that it redefines many LaTeX commands. It's a rule of thumb that helps to avoid errors. However, ...
2
votes
2answers
85 views

Hyperref causes error in auto-pst-pdf (used by chemstyle)

While waiting for useful tips to improve my other question, I'm facing another problem with chemstyle package: the MWE of my other question does work with the explicit [TMP1] optional argument passed ...
0
votes
1answer
29 views

Hyperref linking to first page when using \captionlistentry

On my document, I have defined a new trivfloat environment in order to make a list of equations. To add elements to this list I use \captionlistentry (in order to avoid the caption appearing under the ...
1
vote
1answer
26 views

\autoref is only producing a number. How do I make it include the Theorem/Proposition/Lemma?

\autoref is only producing a number. How do I make it include the Theorem/Proposition/Lemma? Currently I have: \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] ...
1
vote
1answer
33 views

\autoref does not seem to be working properly

\autoref does not seem to be working properly. Whenever I use it I only get the number and not the theorem/proposition/lemma e.t.c. I.e., It follows from \autoref{aaa} comes up as It follows ...
2
votes
1answer
34 views

How to refer to (or avoid) a numbered entity in section title

I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then write ...
0
votes
1answer
122 views

Edit BibTeX items appearance to add line break

I'm using BibTeX with a style called "hispa-annote" (source file), and @Misc items (that I use to link to websites) currently look like this: I'd like to have the title in one line and the URL in ...
1
vote
1answer
46 views

Why am I receiving this package hyperref error?

Error is: Argument of \@secondoftwo has an extra }. <inserted text> \par l.4 ...{$g(x)$} of the form \texorpdfstring{$ax$}} MWE to get the error is: \documentclass{article} ...
4
votes
1answer
25 views

Hyperref and fullname (citations on captions)

I am using fullname.sty but it seems that, if I activate hyperref, it complains on all \cite commands that are used inside a \caption with this message: Illegal parameter number in definition of ...
0
votes
0answers
31 views

PDF Bookmark Hierarchy is wrong [duplicate]

I am having trouble with bookmarks. The hierarchy is not correct. It is giving me something like below. How can I get it corrected? Acknowledgement Chapter 1 Chapter 2 Chapter 3 Chapter 4 ...
58
votes
4answers
42k views

How can I make a clickable Table of Contents? [duplicate]

Possible Duplicate: How to make clickable links and cross-references in pdfs produced by LaTeX? I need links for the Table of Contents, so that I can navigate fast to different sections. I ...
0
votes
0answers
49 views

usepackage hyperref error

I'm writing my thesis with LaTeX. When I add the hyperref package, I face with this error: ! TeX capacity exceeded, sorry [input stack size=5000]. This is my preamble and document structure: ...
3
votes
0answers
22 views

How to get a version of \autoref that uppercases the first letter [duplicate]

So I'm using hyperref for all my referencing needs because it works very, very nicely. However, what I would like is to be able to choose whether the reference text is capitalised or not, so e.g. see ...
0
votes
0answers
26 views

Double hyperlinks do not work

In the following code, I use hyperref to realize hyperlinks from conventions to pages: \documentclass[12pt]{book} \usepackage{thmtools} \usepackage[nottoc]{tocbibind} \usepackage{tocloft} ...
1
vote
1answer
24 views

hyperref for symbols

I have the following code, which prints a list of symbols in the end. \documentclass[12pt]{book} \usepackage{hyperref} \usepackage{thmtools} \usepackage[nottoc]{tocbibind} \usepackage{tocloft} ...
16
votes
3answers
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} ...
2
votes
2answers
50 views

Change URL Hyperlink color but not other hyperref colors

Building on the question asked here, I just wanted the web hyperlink to be blue but the other hyperlinks to remain the color it was. \documentclass[11pt,fleqn]{book} \usepackage{etex} ...
3
votes
1answer
34 views

bibliography hyperlink to show up blue

In my MWE example: \documentclass[11pt,fleqn]{book} % Default font size and left-justified equations \usepackage{etex} \usepackage[svgnames]{xcolor} % Required for specifying colors by name ...
2
votes
3answers
4k views

Installing xcolor

I get the error: ! Package hyperref Error: This color specification is not supported (hyperref) without package `xcolor' in (hyperref) `linkbordercolor=111'. See the ...
3
votes
1answer
54 views

How to refer to pgfplot legend labels with hyperref?

I would like to \refer to a pgf legend label in the caption of a figure (to explain symbols). I create my figures with externalization. Without the hyperref package, everything works fine. But as soon ...
1
vote
0answers
12 views

How to tell cleveref to use the correct label type [duplicate]

I'm trying to use cleveref to reference some figures, but it is incorrectly labelling them as sections. (i.e. It will say something like Section 5.12 instead of Figure 5.1 in the text) I'm also using ...
14
votes
2answers
11k 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} ...
6
votes
2answers
2k views

Placing a PDF bookmark to the index page?

Using \usepackage{hyperref}and the \pdfbookmark[0]{...}{...} command you can place a PDF bookmark just before the index page generated with \printindex (Sometimes it will point to the empty page ...
5
votes
1answer
64 views

Suppress hyperlinks to current page

Is it possible to suppress hyperlinks pointing to the same page as the hyperlink? I currently use the hyperref and cleveref packages for the hyperlinks, but I don't find any option to disable ...