{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

3
votes
1answer
43 views

Putting appendix outside the last part

I have the following LaTeX structure: \documentclass{book} \usepackage{hyperref} \begin{document} \tableofcontents \chapter{Introduction} \part{Fruits} \chapter{The Apple} \chapter{The Peach} ...
3
votes
3answers
46 views

Remove all pdf hyperlinks while maintaining hyperref formatting

I want to split a pdflatex pdf document into two parts. The second part has references to the first part, which are hyperlinks and which I want to remove, without changing the visual appearance. So I ...
2
votes
1answer
43 views

Roman numbering > setcounter to zero > hyperref confused in pdf bookmarks

I have the following problem: For my Master thesis I want to create some sections with a \Roman numbering (for toc, lof, lot, appendix...) and some with \arabic numbering (for the main text part). My ...
3
votes
2answers
3k views

Inserting a clickable URL into moderncv not working anymore

I tried inserting a clickable URL into ModernCV but somehow the output doesn't feature a clickable URL. This has worked in the past(on Ubuntu 12.04; with few changes such as including hyperref. Not ...
1
vote
1answer
26 views

\titlespacing* with a negative before-sep makes PDF bookmark aim too low

When I use \titlespacing* with a negative before-sep to make the chapter title higher, clicking the title in the PDF bookmark will navigate to a lower position. With the following MWE, the title will ...
1
vote
2answers
24 views

hyperref : break long lines in pdftitle and other fields

I have a problem with hyperref: how to break long lines in pdf fields : the pdftitle is very long and I want hyperref to begin a new line, just like it does for key-words. I compile with pdflatex, ...
2
votes
1answer
14 views

hyperref - print \today as pdftitle in languages other than English

I have a problem with hyperref: it does not take into account the language when I use the macro \today in my pdftitle. In fact, I use this macro in other pdf fields too. The date in the pdftitle ...
3
votes
1answer
46 views

Load PDF metadata from an external file

I see here that it's nice to put the entire \hypersetup command in an external .tex file. In my case, only a snippet is required, which has been generated by an external program and will change ...
2
votes
2answers
83 views

Inserting URLs without the hyperlink

I know already that \usepackage{url} and then using the \url{} command will allow me to insert URLs without the hyperlink, but, I do not even use this package and used the \url{} command and it gives ...
3
votes
1answer
28 views

Hyperref link to bibliography entry?

Is it possible to create a link to a particular bibliography item? I'm hoping for something like: This \hyperref[MyKey]{link} takes you to the same place as \cite{MyKey}. A full (non-working) ...
1
vote
1answer
42 views

Hyperlinked footnote and footcite markers automatically separated by raised commas

The posting Incompatibility between footmisc-option multiple and hyperref contains a solution to having consecutive footnote markers hyper-linked and automatically separated by raised commas. How to ...
2
votes
2answers
50 views

\phantomsection inside tabular: alignment problems

I would like to use \ref and \label for two lines in a table, which can be done using \phantomsection: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \begin{document} ...
1
vote
1answer
103 views

Change cite color to blue in the Legrand Orange Book template

In the code below, that was derived from the Legrand Orange Book template, I wanted to be able to change the cite color. However, when I activated the colorlinks=true, the table of contents (TOC) got ...
1
vote
0answers
29 views

forward referencing in a listof tocloft; from the text to the content line [closed]

I use tocloft extensively to extract things like priorities and actions; and make cross referenced todo style indexes in the Appendix. Which then nicely reference the place in the main text where they ...
7
votes
3answers
291 views

\autoref doesn't work correctly when used in tufte-book

i want to use the \autoref command (from the hyperref package) in the document-class tufte-book. mini-example: \documentclass{tufte-book} \usepackage{hyperref} \begin{document} ...
1
vote
0answers
45 views

Hyperlink to top of the page with given hypertarget

I need to create hyperlink that points to the top of the page on which given hypertarget is located. By default, hyperlink referencing hypertarget goes to the line of text where referenced hypertarget ...
2
votes
1answer
43 views

Open another pdf file at referenced label/page

I am having two documents, call them A and B. I want to make several cross-references from file A to file B and by clicking on the hyperlink, I want to open file B at the respective page. In my ...
6
votes
1answer
160 views

Why do these three changes fix this equation-numbering error?

When I use \equation...\endequation instead of \begin{equation}...\end{equation}, all equations have the same number (I know this isn't best practice for environments; I'm trying to understand the ...
8
votes
1answer
193 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 ...
2
votes
0answers
40 views

too much spacing between equations and text if line before equation is full [duplicate]

I have a problem when equations appear in the text without a linebreak. It seems like an additional spacing before an equation is inserted, when the line before the equation is just full until the ...
5
votes
1answer
32 views

Hyperref (+answers) points to chapter instead of page

I've this problem where an Exercise environment automatically generates a reference to its Solution, and while the page displayed is correct, clicking on it leads to the Solution's chapter (if any) or ...
5
votes
1answer
90 views

Named destinations by hyperref broken for XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015/dev/Debian)

We have this testcase which works fine with pdflatex \documentclass[en]{article} \usepackage[ pdfauthor={Silly testcase maker}, pdftitle=, pdfsubject=, ]{hyperref} ...
1
vote
1answer
15 views

How to sort and compress reference numbers in FLDAUTH.cls or document classes other that elsarticle.cls?

The option sort&compress does not work simultaneously with hyperref in FLDAUTH.cls. As a result, by eliminating sort&compress, I cannot compress the reference numbers. How should I do that?
1
vote
1answer
88 views

Hyperref Doesn't link \cite Command

I am using latex to hyperlink my citations in an article. The problem is that it links figures, equations and sections numbers but not citation links. Here's a MWE, \documentclass[letterpaper, 10 pt, ...
10
votes
1answer
119 views

Set different hyperref color inside frame of tcolorbox

I currently have the following MWE: \documentclass{article} \usepackage[usenames,dvipsnames]{xcolor} \usepackage[colorlinks=true]{hyperref} \hypersetup{allcolors=blue} \usepackage[most]{tcolorbox} ...
5
votes
1answer
62 views

\shortintertext gives wrong equation numbering when used with hyperref package

The following code works fine \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amstext} \usepackage{mathtools} \usepackage{babel} ...
1
vote
0answers
79 views

Local hyperlinks broken after ghostscript compression

I usually compress my tex pdfs with ghostscript: pdflatex -shell-escape file.tex gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/prepress -dNOPAUSE -dQUIET -dBATCH ...
4
votes
1answer
301 views

\nameref breaks for star versions of section/paragraph when titlesec is loaded

\nameref breaks for the star versions of section, paragraph when titlesec is loaded. I have a document that numbers paragraphs by default, but I have a few I do not want to number but would like to ...
4
votes
2answers
242 views

Package incompatibilty between alphalph, and hyperref with amsmath subequations

I have a document which makes use of subequations and alphalph, which compiles without hyperref, but throws an error when using hyperref. Loading hyperref after the alphalph package does not help. ...
5
votes
2answers
6k views

Option clash with hyperref

If anyone has come across this issue when dealing with uploading tex files on arxiv, their experience would be of immense help: I am trying to upload a .tex document to arxiv. I upload my .tex file ...
12
votes
4answers
1k 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 ...
5
votes
3answers
195 views

How to reference chapter names that include counter output?

I want to use a counter in some chapter names, this works fine for the TOC and in the chapter names themselves, but references to the chapter name appear to use the counter at the time of the ...
2
votes
0answers
37 views

\href crossing a page boundary messes up link in second column

I'm using \href (from the hyperref package) to put some links into a document which is being typeset in two languages using the paracol package and XeTeX. To compile it, I'm using texify -p ...
2
votes
1answer
98 views

How to make reference to a codebox?

I am using the clrscode3e package to typeset pseudocode and I want to make reference to the procedures in codeboxes to produce something like "Procedure InsertionSort". How to do that? For example, ...
3
votes
1answer
66 views

Opening a PDF at a specific page

Is it possible unsing the package hyperref to open a PDF that was not created using pdflatex on a specific page? I tried this solution: \href{run./FILE.pdf#page.12}{FILE on page 12}, but that opens ...
1
vote
0answers
28 views

What could be causing hyperref and hanging to undo multicols?

I've created a method to input Norwegian-English translations into a sort of glossary. I need multiple of these little glossaries, later they will be compiled into a big glossary. It doesn't need to ...
11
votes
2answers
853 views

Latex glossaries: Hyperref/Link only the first occurance of an entry in each section?

By default, the glossaries package creates a link to the glossary for each occurrence of an entry (e.g. each time I use \gls{entry}). With the links visualized (e.g. using hyperref colorlinks). This ...
0
votes
1answer
39 views

How to customize link style in Table of contents using titletoc?

I want to customize the links (appearance) in the TOC. In the entire document I use 'hidelinks' in hyperref (to turn of the box), and then have some fancy own link visualization (here for MWE replaced ...
0
votes
0answers
15 views

Temporarily prevent hyperref from decorating links [duplicate]

I have a picture, drawn with tikz, that contains a few slanted hyperrefs (in fact, document-internal references). For these, the colored underline that I have told hyperref to draw are not slanted, so ...
2
votes
1answer
36 views

Link to reference ShareLaTeX

I use this to cite References: \cite{art1} And to declare: \renewcommand{\bibname}{References} \addcontentsline{toc}{chapter}{References} \bibliographystyle{unsrt} \bibliography{refs} ...
2
votes
1answer
77 views

`\Hy@raisedlink` block hyphenation and perturbate line breaking

the \Hy@raisedlink (used because of what explaned in this answer: http://tex.stackexchange.com/a/17138/7712) seems make trouble with hyphenations. Cf this MWE \documentclass[a4paper]{book} ...
4
votes
1answer
132 views

conflict refcheck/subcaption packages for label with underscores

I found a conflict between the hyperref/subcaption/refcheck packages. I was using figures with subfigures and subcaptions, enabling the hyperref package for cross referencing in the document without ...
14
votes
1answer
5k 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 ...
3
votes
1answer
36 views

hyperref and underscores

hyperref seems not to work with \_ in the first argument of either hypertarget or hyperlink: \hypertarget{foo\_}{foo\_} \hyperlink{foo\_}{foo\_} When clicking on the hyperlink it always jumps to ...
2
votes
1answer
48 views

How to hyperref prefixed URLs?

Is it possible to define URL prefixes and correctly provide hyperrefs for them? For example: \defineprefix{dbo}{http://dbpedia.org/ontology/} \prefixurl{dbo:City} Should have the same effect as: ...
1
vote
0answers
27 views

Table of Contents Hyperlinked to Diary Entry [closed]

I'm using a nice diary template provided by @ferahfeza. It's great, but I'd love a hyperlink from an auto-generated table of contents to the date in the diary entry. I expect that I'll have a very ...
4
votes
2answers
1k views

Pandoc: minimal headers for LaTeX output

I'm taking mediawiki text and trying to convert it to latex in Pandoc. All seems to be reasonably well. However, I had to make sure to use: \documentclass{book} \usepackage{hyperref} ...
1
vote
1answer
52 views

How to change Pandoc's / hyperref's reference format?

\frontmatter As described in a related question, pandoc turns Markdown links such as [TeX.SE](https://tex.stackexchange.com/) into \href{https://tex.stackexchange.com/}{TeX.SE} However, in ...
4
votes
2answers
461 views

How to put \hyperdef{category}{name}{} at the same position as \label{name}?

I am using the hyperref package that comes without the destlabel option (I tried to use the most recent version of hyperref, but it doesn't work with my LaTeX version). So to be able to create named ...
1
vote
1answer
97 views

How to add a link between two word?

I want to be able to click one word A, and then go to word B. It would be good if this was two way. If I click on word B, I go to word A too. I tried: \documentclass[a4paper]{report} ...