{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

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 ...
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 ...
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 ...
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} ...
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
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 ...
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 ...
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 ...
2
votes
1answer
42 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{} ...
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 ...
2
votes
1answer
53 views

linebreak in long URL? Breakurl won't break it

There are several questions on this site (for example here and here) where people are struggling with overfill hboxes when making clickable URLs. I have read and tried the answers there and none of ...
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} ...
0
votes
2answers
67 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: ...
3
votes
1answer
50 views

Phone symbol/ Website logo in XeLatex

\texttt{ÔÑã}~\href{tel:\myphone}{\myphone}\\ produce a mobile icon on the pdf file and this one href{https://www.linkedin.com/in/\myweb} {\texttt{ÔÇå}~\myweb} generate the little nice Linkedin logo ...
1
vote
1answer
29 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} ...
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 ...
5
votes
3answers
74 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 ...
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 ...
2
votes
1answer
39 views

How to separate glossary entries from section references in hyperref

I have a document, a glossary and references. I am using the hyperref package to create hyperlinks \usepackage[colorlinks = true, linkcolor = red, urlcolor = green, citecolor ...
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 ...
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 ...
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, ...
3
votes
1answer
41 views

Nested enumerate items are missing some periods when cross-referencing

I am writing a rulebook and need to reference clauses and sub-clauses throughout. When I have a nested enumerate item to the level of 5.4.2.3, the cross-reference displays as 5.4.2.23. ...
3
votes
0answers
60 views

Centering list issue with Enumerate+Hyperref+Varwidth

I want to center an enumerated list so i've tried to use the answer of this question given by the Great David Carlisle. But using hyperref, varwidth and enumerate (in any order in the preamble) cause ...
2
votes
1answer
21 views

xr-hyper link color does not follow hypersetup

I am using the xr-hyper package to reference labels in another document. The linking is working properly. However, I noticed that colors of the xr-hyperlinks are not following the colors defined in ...
1
vote
1answer
23 views

How can I use hyperref hyperlinks inside of description list keys?

I already asked a related question, How can I label / reference description items that contain macros by name? Now I am having difficulty compiling description lists using hyperref's hyperlinks. ...
1
vote
1answer
23 views

How to make the text in front of the eqution or figure number become a hyperlink?

I found that in many journals not only the number but also the text such as Fig or Eq can be a hyperlinked so one can be directed to the equation or figure by clicking the hyperlink. This is what is ...
4
votes
2answers
48 views

How to use \nameref with xstring package to check string length

I need to measure a number of characters in string, that I returned from label through \nameref command. Here is my MWE: \documentclass{article} \usepackage{hyperref} \usepackage{xstring} ...
3
votes
1answer
28 views

glossaries references produce two hyperref links

I'm trying to achieve the effect from this existing question: \gls should produce hyperlinks, but without the distracting frames, while all other links behave as usual. The answer to that question ...
2
votes
0answers
44 views

footnote with a link split into next page makes all of the text clickable

I have this weird issue where my footnote containing a link is split into the next page because the link URL is too long. This would be fine. What is weird is that the text on the next page where the ...
1
vote
0answers
15 views

hyperref author and year biblatex with multiple keys

I am using the solution in hyperlink name with biblatex authoryear (biblatex 1.4b) to have links on author and year when using \citet. This solution does not work if I have supply \citet with ...
7
votes
2answers
347 views

Why is escaped # breaking my command?

I have created the following two commands: \newcommand{\termExplanation}[1]{\item[#1]\label{#1}} \newcommand{\newTerm}[1]{\hyperref[#1]{\emph{#1}}} In my text, I use \newTerm{Term 3}, and somewhere ...
2
votes
2answers
42 views

Knitr: How to make a crossreferences to figures and tables generatrd by code chunks?

I would like to make cross-references to images and tables generated from knitr code chunk in the same way as to standard figures and tables. In a standard figure I use control sequence \label, but i ...
4
votes
1answer
33 views

Getting a hyperlink to automatically break at punctuation marks

In the example below, how can I get the hyperlink that prints as "doi:10.2307/1968102" to automatically break at any of the punctuation marks, i.e., the :, ., or /? Note: I am compiling directly from ...
2
votes
1answer
50 views

No hyperlink borders for any kind of glossaries entries but still hyperreferred

I would like to have the default behaviour of hyperref for all links excepted the ones from glossaries: for them, they should be still links but without borders I started playing with ...
2
votes
1answer
33 views

Why does clickable link get cut off when defining \href color?

I am using \href{} from the hyperref package. Here's a MWE: \documentclass{article} \usepackage[colorlinks]{hyperref} \hypersetup{} \begin{document} \href{http://google.com}{Click me!} ...
5
votes
1answer
38 views

Wrong references to another chapters

My problem is when you click on the reference to the first definition from chapter 2 you will return to the first definition from chapter 1. Of course, I want to see definition 1 from the second ...
1
vote
0answers
13 views

glossaries package: hyperlink only on first use of acronym [duplicate]

I use the glossaries package to define and use acronyms in my text. I use \newacronym{} to define my acronyms. In the text I use \gls{} to refer to these acronyms. In order to improve readibility of ...
0
votes
0answers
51 views

Beamer: hyperlinks not working with show notes on second screen

I want to make a beamer presentation with navigation at the top of the slides and with notes on a second screen. The problem is that, with the option show notes on second screen, the hyperlinks do ...
0
votes
1answer
23 views

Include Page Numbering into Table of Contents Hyperref

I want to make the page number listed in table of contents also clickable. Does anybody know how to do this? At the moment I use the following code to hyperlink my table of contents. ...
3
votes
2answers
66 views

No accents and ¿ ¡ in pdf bookmarks

I'm doing a book with LateX in spanish language and I'm having some problems with spanish accents and symbols ¿ and ¡. Here's my preamble, sorry, it's very huge: ...
0
votes
0answers
27 views

hyperref not working when a citation cross a page boundary

When I compile my LaTeX file with hyperref enabled I'm receiving a bunch of the following errors: Citation `xxx' on page \thepage undefined This error shows up I if use \clearpage before the ...
5
votes
0answers
46 views

References: Remove white space in front of doi

In my references, there is a problem with the doi. When using \usepackage{doi} I get hyperlinks, which is what I want. In combination with \usepackage{apacite} however, I then have to suppress the doi ...