{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
523 views

Hyperref causing warning with table of contents, list of figures and list of tables

I receive the following warning and managed to figure out that these were due to some interplay between the hyperref package and the commands \tableofcontents, \listoftables and \listoffigures (the ...
0
votes
1answer
52 views

Why doesn't latex recognize my figure

I've got a figure, which is displayed fine: \begin{figure}[htbp] \centering \begin{subfigure}[b]{0.48\textwidth} \includegraphics[width=\textwidth]{xp_potato.eps} ...
2
votes
0answers
37 views

hyperref + subequations warnings

This is a follow up question to How to hide known warnings? Recently I decide to stop ignoring LaTeX warnings :), and start trying to discover what's behind them and how to avoid them in future ...
32
votes
3answers
2k views

Is hyperref really the best way to add metadata to a TeX file?

So I know one of hyperref's features is that it can add metadata to you PDFs. This is a nice feature and if you're putting stuff online, it's good to include metadata. But is the hyperref package ...
4
votes
2answers
61 views

Manual citation formatting

First off: I don't want to use bibtex for this; I want to typeset my bibliography myself. Looking at the source2e.pdf document I found out about redefining \@cite and \@biblabel, and got my citation ...
1
vote
1answer
39 views

Bookmark tables and figures

I'm trying to generate bookmarks for all Tables and Figures in a document using the code below. However, with this code, the Table 1 bookmark points to Figure 1 and the Figure 2 bookmark points to ...
6
votes
1answer
70 views

How to change the color of the short version of the acronym in the list of acronym

I use the Acronym package. In the printed list of acronym (usually put at the beginning of the document) there is the short version of the acronym (in bold font) and after the full name of the acronym ...
8
votes
1answer
89 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 ...
1
vote
1answer
29 views

Open in a new window when using raw action

I'm wondering how to open in a new window an attached file when clicking on a bookmark. The code below links a bookmark to an attached file in the PDF file. But upon cliking it, the attached file is ...
2
votes
1answer
31 views

Hyperref, cleveref and algpseudocode same identifier warning

I get the warning pdfTeX warning (ext4): destination with the same identifier (name{ALG@line.2}) has been already used, duplicate ignored with the MWE down below. \documentclass{article} ...
1
vote
1answer
29 views

\autoref showing subsection and subsubsection

I'm using the \autoref command from the hyperref package. I have the following code: \subsection{Foo} \label{ssec:bar} This is the overview. \subsubsection{Bar} \label{sssec:bar} This is the small ...
3
votes
1answer
36 views

How to escape | character in \index?

While | is the encap character for makeindex, then if I want to use | in \index, e.g. \index{$|F|$}, how to escape it? When I escape it with double quote, i.e. \index{$"|F"|$}, and use hyperref, the ...
1
vote
1answer
46 views

Set the highlight style of a link to “none” instead of “invert”

I've read all documentation possible regarding hyperref but I still don't know how to set the highlight style of a link to "none" instead of "invert" (which is the default by the way). Is there any ...
6
votes
1answer
81 views

xymatrix is broken when inside section

If I use xymatrix inside of a section command, it doesn't compile. Example: \documentclass{article} \usepackage[all,cmtip]{xy} \begin{document} \section{$\xymatrix{A\ar[r]&B}$} \end{document} ...
30
votes
3answers
2k views

Best practice for hyperref link colours?

I'm using the hyperref package with the option colorlinks=true. However, I'm not happy with the default link colours: for instance, citation links appear in a flamboyantly bright green that hurts my ...
5
votes
1answer
54 views

Multiple footnotes within a mdframed to refer to the same text

I am using an mdframed to a display large list of items. In this this list, there is one exception that a few of the items have, and I am trying to make a note of this via a footnote. The text of the ...
2
votes
2answers
51 views

How to add dot after \section number in headline and ToC, without adding dot to \ref command

I need \section (\subsection, \subsubsection ...) titles printed with dot after numbering. Example: My Title For this purpose i use: \renewcommand\thesection{\normalfont \arabic{section}.} ...
6
votes
2answers
2k 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 ...
4
votes
1answer
85 views

LaTeX glossary reference problem

In my master thesis, I use the glossaries package to keep track of all my abbreviations and symbols. To differ between the two, I made two different glossaries. One using the standard abbreviation ...
0
votes
0answers
50 views

Image link clickable in non-white areas (excluding the background)

Consider image sample below. I'm including it using \includegraphics and I have linked it to an url using \href. What I would like is to have it in the pdf file in such a way that the mouse would ...
1
vote
2answers
68 views

\citefield link to bibliography (hyperref & backref)

I would like to know if there is a way to get links and backref links on a \citefield command. For example, I want to cite only the title of a reference: \citefield{ref}{title} or any other field, ...
11
votes
2answers
458 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} ...
4
votes
1answer
36 views

Problem with \% in PDF bookmark under XeLaTeX

A MWE is: % !TeX program = XeLaTeX \documentclass{article} \usepackage{hyperref} \begin{document} \section{\^e\%} \section{20\%} \end{document} It can work fine under pdfLaTeX and LuaLaTeX. But ...
2
votes
1answer
112 views

PDF reference links when using hyperref and (`ruled`) algorithm2e

I was testing some links within my produced PDF file and recognized that all of the links to an algorithm (from the algorithm2e package) will jump to the beginning of the algorithm with skipping half ...
2
votes
0answers
42 views

eforms vs hyperref

I need to create fillable pdf files. In first time I need just to add combox that contains Yes/No in a column of a table. I have looked questions here and I found this : Creating fillable PDFs How ...
8
votes
2answers
183 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: ...
2
votes
1answer
57 views

Prefix “Figure” and giving reference to figures

Is it possible to adjust the font size of the prefix Figure when captioning an included image? Furthermore, is it possible to refer to a picture in a meaningful way without using a caption; I tried ...
3
votes
2answers
54 views

How to have an URL in PDF bookmark

I'm interested in having a PDF bookmark pointing to an attached file in the PDF. At least I know it is possible to have bookmarks pointing to an URL. See for instance the hyperref manual. You can see ...
3
votes
1answer
87 views

What do the first two numbers in the pdfborder option of hyperref do?

for example,\hypersetup{colorlinks=false,frenchlinks=true,pdfborder={0 0 2}} makes the border 2 pixels, but what do the first two numbers do? I tried several values, but could see no difference.
3
votes
1answer
61 views

Contents and Detailed Table of Contents without repetetion and indent

This question has two parts. Part 1 First, I'm interested to create two TOCs, with a reference in the first shorter TOC the longer and more detailed TOC. Without the reference appearing in the ...
4
votes
1answer
23 views

Hyperref - borders arounds (name)ref and no borders around cites and ToC entries

Both cites and references should be clickable. I want to have visible borders around the links (refs and namerefs) and no borders around citations (cites). Yet, there shouldn't be any borders in ToC. ...
2
votes
1answer
47 views

Creating PDF bookmarks when the highest level is below section [duplicate]

I'm producing a small document where only unnumbered subsections and levels below are used, and would like PDF bookmarks to be created for them. I tried hyperref and bookmark packages and did not ...
4
votes
1answer
39 views

\ref{} does not work under certain circumstances

So I know that the problem is at \setcounter{secnumdepth}{0} But I don't know if there is a fix to this (without deleting this line, since I don't want numbered sections), since the link in ...
4
votes
2answers
143 views

Why is hyperref inverting URL /'s to a backslash

This code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \begin{document} \begin{center} ...
3
votes
0answers
52 views

Link to Appendix (from anywhere in the document) goes to the wrong place.

I have several chapters and several appendices. I am using the hyperref package, and everything is numbered (all the chapters, appendices, etc...) My appendices also have sections within them and I ...
3
votes
2answers
2k views

hyperref: How to open a directory view with href{…}?

I wrote a small LaTeX file which describes the contents of some directories. Now I try to provide a direct link to the described files and directories. I successfully use \href{filename.ext}{Link ...
28
votes
4answers
2k views

Pop-up references in PDF output

I once saw a maths journal which offered PDFs of published papers, where the bibliographic references were formatted as PDF annotations: if you moused over a reference in the text, the bibliography ...
1
vote
0answers
46 views

How to generate document with 6 grid images, chapter header and table of contents

I am trying to generate a booklet with a grid of 6 or less images in a grid, and a text caption below it. I would like each page to display the chapter in the header, and have the table of contents ...
2
votes
1answer
35 views

Change how hyperlinks are displayed

By using \usepackage{varioref} \usepackage{hyperref} \usepackage{cleveref} one automatically gets hyperlinks in a red box or a green box . Is it possible to change this? For example instead of ...
3
votes
1answer
69 views

Hypersetup settings to get glowing text in firefox PDF viewer

The hyperref package has a readme with settings to make all links glow (with a yellow background) when hovering over them (with the mouse) in Mozilla Firefox. See the link here. I can't find the ...
3
votes
1answer
68 views

Controlling Theorem tags in Beamer

I am writing slides which follow a textbook, and it is obviously desirable for the theorem and equation numbering to coincide with that in the text. I have no problem \tag-ing equations and linking ...
3
votes
0answers
62 views

Color in Url list [duplicate]

I find this code I 've done few changes but I have some troubles with color. I would like to have in my List of urls (liste de liens) "lien 1 : " in black with spaces and the links in blue. ...
6
votes
2answers
105 views

biblatex style “bibtex key”

I'd like the text that links to the references to be simply the bibtex key. So, with a bibtex entry like @ARTICLE{Author1:2000:Topic, author = {A. Author1 and B. Author2}, title = ...
2
votes
1answer
36 views

Disable autofollow hyperlinks

EDIT: This topic is related to a bug in my pdf reader Foxit 4.3.1. So the Question should be more: "How to get this MWE working in Foxit?" How can solve that hyperlinks are not auto followed? ...
9
votes
1answer
246 views

Making hyperlinked graphs with the TikZ graphdrawing package

This question here garnered an interesting response on how to make TikZ node text clickable. I am using the graphdrawing package in order to automatically set up the graph, so I am unable to use the ...
10
votes
1answer
83 views

`\input`ting contents of a file into a `hyperref`'s `pdfkeywords`

I use git to manage the development of my LaTeX documents, and I have a makefile I use to build a PDF from the LaTeX source. For the sake of provenance, I would like to embed the most recent git ...
1
vote
1answer
52 views

Modifying backreference page numbers in references

One can use the optional in hyperref package \usepackage[pagebackref=true]{hyperref} so that at the end of the each reference in the list of references there is something like 2 appended if that ...
6
votes
2answers
60 views

hyperref or equivalent - I just want to generate clickable external links

I am hoping this is an easy question with a straightforward answer, but I have been poking around for a while now and I haven't seen any instructions for how to do this: I just want to add clickable ...
5
votes
1answer
101 views

Hyperref: Include part number for cross-references to chapters

I have the following code \documentclass{scrreprt} \usepackage{hyperref} \begin{document} \part{First Part} \chapter{First Chapter} \label{inner} Some text. \part{Second Part} ...
4
votes
1answer
71 views

How to find only headwords (entries of a foreign language dictionary) using text search in PDF Reader?

I'm working on a two language dictionary (german-french) with some thousand entries (headwords). Each entry has the following structure: \hypertarget{headword}{} \index{headword} ...