{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

1
vote
0answers
31 views

Underline Hyperlinks Omitting the Descenders

I want to underline links (\url and \vref, \href, ...) omitting descenders in the manner shown in this answer while still supporting wrapping of long URIs (via \UrlBreaks or otherwise). Ideally, I can ...
6
votes
2answers
74 views

Make footnote clickable both ways

Using the hyperref package, footnotes become clickable and lead to the bottom of the page where the footnote is printed. However, clicking on the footnote's number does not bring the reader back to ...
1
vote
0answers
21 views

how to modify backrefalt with selfmade tex command

I would like to change the way that backref presents the list of backreferences. To do so I made a small TeX command \Combine that reads in a list of backreferences like 1,1,2,3,56 and combines it ...
9
votes
3answers
807 views

beamer handout WITH hyperlinks?

How can I have active hyperlinks in multipage beamer handouts? So far, all \url{} and \href{} I have in my document work fine in the resulting PDF if I typeset in presentation mode, but as soon as I ...
3
votes
2answers
37 views

Format with Hyperref but Disable Links

How can I get hyperref to format the link, but not actually link to anything. For instance, in the Legend section in the MWE below I would prefer that clicking on the links not actually attempt to ...
1
vote
1answer
38 views

destination with the same identifier (name{page.}) error when using \input

I have seen that a lot was already written on the error-message "destination with the same identifier (name{page.})". However in my case, no solution does the trick. Here is a MWE that should ...
12
votes
5answers
16k views

How to allow line break in a long hyperlink in a PDF compiled by latex-dvips-ps2pdf?

I am using latex-dvips-ps2pdf steps with -Ppdf option passed to dvips. The following code snippet \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{breakurl} ...
2
votes
1answer
32 views

Getting user defined constants into the preamble

I think this is a problem of expandable content, a concept I haven't quite got the hang of yet... Lets say I have a preamble or cls file that is trying to configure hyperref. If I have manually setup ...
0
votes
0answers
23 views

How to decrease pdf size by commenting out hyperrefs?

In my pdf file I have hundreds of hyperrefs for figures, sections, cited paper authors, urls, and dois, so that when clicking onto one of those frames links, the reader is immediately brought to those ...
2
votes
1answer
19 views

Fixing section numbers to alphabet letters with \theHsection

I researched, and I am having a similar trouble to this one: Reset section numbering between unnumbered chapters My problem is the following. I am using koma-script book class. I want to use ...
3
votes
1answer
28 views

Disable hyperlink on one entry of the ToC

I want to disable hyperlink on only one entry of the table of contents. Actually, I have added a line of text in the table, corresponding to no real section, so I don't want any internal link on this ...
14
votes
3answers
4k 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 ...
2
votes
1answer
42 views

refcheck and \nameref not getting along

Consider the following MWE \documentclass[12pt]{article} \usepackage[colorlinks]{hyperref} \usepackage[norefs]{refcheck} \begin{document} As we will see later (see \nameref{ans}), the answer is 42. ...
0
votes
0answers
9 views

How to prevent hyperlink breaks across columns in a two column layout?

I created a two-column layout document in latex. While doing page layout, name-date cross reference citations are breaking across columns. How can I prevent this?
2
votes
1answer
17 views

autoref inside a section name, using amsthm and thmtools

The following example works well: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[parent=section]{theorem} \usepackage{hyperref} \begin{document} \section{Section} ...
3
votes
1answer
32 views

Reset defaut setup of hyperref after hidelinks

What I want is to disable \hypersetup{hidelinks}. I can use it inside group but this is not a good idea. Here is a MWE. \documentclass{article} \usepackage{hyperref} \begin{document} ...
12
votes
1answer
114 views

microtype expansion leads to error in pdfauthor

The following document gives the error ! Argument of \MT@res@a has an extra }. The source of the error is the accent command \"L (which doesn't make much sense, I only use it in the examples as ...
4
votes
1answer
78 views

Disabling all document interactivity (for PDF/X compliance)

I am working on making my XeLaTeX-compiled PDF file compliant with PDF/X-1a:2001 standard. When I use this answer with TeXLive 2015, document validates fully (in Acrobat Pro DC). However, when I test ...
2
votes
1answer
28 views

(LyX) Disable footnote links

Similar to this question, I have the problem where the hyperref footnote link sends me back to the title page. I'm trying to add "hyperfootnotes=false" as an option in the LyX > Document Settings > ...
1
vote
1answer
78 views

PDF metadata when using XeLaTeX

I have following document that sets up PDF metadata using \hypersetup: \documentclass[11pt]{book} \usepackage{hyperref} \hypersetup{pdfproducer={My producer},% pdfauthor={My author},% ...
3
votes
1answer
47 views

How to use active characters to create hyperlinks with hyperref inside a PDF?

I want to create links inside a pdf and actually I use \hypertarget{label}{target caption} and \hyperlink{label}{link caption} with the package hyperref. Perhaps it's possible to use something like ...
5
votes
1answer
111 views

arxiv citation function

Suppose I have a bibliography entry that looks like this (I'm using biblatex): @article{foo, author = {A. Author}, title = {Super article}, archivePrefix = "arXiv", eprint = ...
1
vote
0answers
17 views

Adding hyperref/links on each entry of list of symbols

I want to add links after each symbol in my list of symbols and also during usage in the text. I did not include option nonumberlist when loading glossaries package, and still, the links don't appear. ...
0
votes
0answers
22 views

package hyperref error for table of contents links

I have a problem when formatting my thesis. I would like to have clickable links for the table of contents, list of tables, and list of figures. I tried to import hyperref package but encounter a ...
0
votes
2answers
66 views

Problems after adding starred sections headings in table of contents

My document has both starred and non-starred version of section, and I want to add both types to my table of contents. I am using titletoc and I tried to solve it as follows: ...
2
votes
1answer
39 views

Exclude sections from bookmarks or get sections with no numbers

Really the question is on Title. I'm creating a book, it has parts, sections and subsections. The TOC contains all sections with their numbers, it's ok. But for bookmarks I'd like to get sections ...
1
vote
1answer
49 views

Problem Hyperref Coloring Only TOC

I would like to use the hypperref to create blue links for only toc sections and subsections. \documentclass[12pt,oneside]{book} ...
63
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 ...
1
vote
1answer
24 views

No autorefname for appendices when using babel with ngerman and appendix package

When using the appendix package together with [ngerman]{babel} changing appendixautorefname or Appendixautorefname has no effect. The error message No autoref name for 'Anhang' [...] persists. How ...
2
votes
1answer
35 views

How to link to sections in a LaTeX document from a picture in the table of contents

I am trying to use work from this answer and this answer to create something that looks similar to the following: However, I would like to be able to actually link to the sections in the document ...
6
votes
2answers
2k views

Hyperref and imakeidx do not work together

I use imakeidx package to generate index in my document. I'd like to add hyperlinks into my Index, but it seems to me that hyperref and imakeidx do not work together. For example, this code doesn't ...
95
votes
7answers
68k views

How to get DOI links in bibliography

I would like to add to all my bibliography items a DOI (Digital Object Identifier) link or a link to a download location. How can I do this with the natbib / BibTeX / hyperref combination? Currently ...
8
votes
3answers
166 views

Write out referenced chapter number

Is it possible to write out the referenced chapter number? Instead of I’m referencing Chapter 1, „Referencing“ I would like to see I’m referencing Chapter one, „Referencing“. MWE: ...
27
votes
4answers
11k views

How to disable links completely using hyperref package?

A have a LaTeX paper I want to submit to the EDAS system. EDAS doesn't want papers to have links and suggests to 'remove the hyperref package from your file'. However, if I do that, my compilation ...
2
votes
1answer
14 views

Citations: Reference year right parenthesis not part of reference

I am using the Chicago package and when using the \shortciteN{} command, the right parenthesis around the year is not linked where as the rest of the reference is. For example, below is my preamble ...
3
votes
1answer
38 views

Coloring toc page numbers

I'm using book class and I'm trying to achieve a toc which titles and page numbers are all clickable and hyperlinked to their corresponding sections, but with the characteristic that the page numbers ...
2
votes
1answer
41 views

Macro For Hyperlinked Citation in Parentheses

I am using the macro below to override the \cite{} command, so that the entire citation is highlighted/hyperlinked. The \cite command gives me a citation of the form "Smith, 2000". The \textcite{} ...
0
votes
0answers
18 views

Natbib cite command extra argument not included in hyperref link

I am using the natbib and hyperref packages for my bibliography with links. The problem is that when I include an optional argument in the \citep command, e.g. \citep[p. 21]{authoryeartitle} it does ...
1
vote
0answers
20 views

References back and forth between exercise and solution

I have been using this nice solution here for building \hyperref references back and forth between and set of Exercises and their Solutions... but there is an annoying requirement, which is, to keep ...
1
vote
1answer
37 views

Clicking Index in table of contents gets last chapter instead of Index

Here is a minimum working example: % !TEX TS-program = pdflatexmk \documentclass{book} \usepackage{xcolor} \usepackage{makeidx} \usepackage{hyperref} ...
5
votes
3answers
73 views

Change page, section, figure, etc identifier avoiding duplicates

Imagine that you want to build a report composed by several papers. Before each paper the titlepage should be displayed. Also, the page number, section number, figure number, etc shall always be reset ...
1
vote
1answer
40 views

Hyperref fails after \thechapter redefinition [closed]

At some point in my (Lua)LaTeX source, I want to redefine \thechapter after chapter 4 to take the value "3b". I then redefine \thechapter to resume its original value ("5"). LaTeX works fine (in any ...
1
vote
1answer
28 views

Hyperlink not working for glossaries in table

I am making a glossary list that appears in a two column table, but the hyperlinks now are no longer working when I use this custom style. Can someone explain how to fix this? \documentclass{article} ...
0
votes
0answers
32 views

Why is hyperref resulting in an error on \begin{document}

\documentclass[11pt,a4paper,sans]{moderncv} \usepackage{hyperref} \moderncvstyle{banking} \moderncvcolor{blue} \usepackage[utf8]{inputenc} \usepackage[scale=0.75]{geometry} ...
1
vote
0answers
38 views

hyperlink name with biblatex authoryear and breaking lines [duplicate]

I'm trying to hyperlink author-year style citations generated by biblatex, such that not only the year is clickable, but the full author name as well. This question was asked before (here) and ...
4
votes
2answers
53 views

Different output of \ref and \cref in lists with enumitem+cleveref

I'm using enumitem and cleveref packages and I would like to enforce a different behaviour of \ref and \cref for {enumerate} lists. More precisely, whenever I have lists in a theorem environment I ...
0
votes
0answers
33 views

How to add a link for a website in report

I am writing my thesis for master and I have to add references to my report. Below is code for main file. I am using \bibliographystyle{ieeetr}. I would like to add links for some website in my ...
2
votes
1answer
22 views

Citations are mentioned separately, not in a group?

I am using "elsarticle" document class, and chapterbib and hyperref for citations. When I group the citation, instead of getting a range in the text, I get all of them mentioned separately. For ...
1
vote
0answers
38 views

Backup multiple slides with navigation button

I am creating a beamer presentation with backup slides(3). I want to put a navigation button from the main slide to backup slide 1 and the navigation button back to main slide from backslide no. 3. I ...
1
vote
1answer
25 views

Link colors are broken inside tabu environments

I have a table built with the tabu environment that doesn't display the correct color for the urls it contains, even if the link itself works (that is, it opens the web page in the browser). However, ...