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

enumitem & cref: referencing different exercises with cref for different chapters

I am using scrbook along with enumitem for exercises and cref for cross referencing. In my style file, I have set the following new list % Rename enumerate from item to exercise ...
5
votes
2answers
119 views

Error (?): hyperref breaks \crefalias

The below code (exluding the line \usepackage{hyperref}) provides two theorem environments thm and Thm, which use two different theorem styles (with andwithout a line break right after the theorem ...
1
vote
3answers
1k views

titlesec messin' up my hyperref'd table of contents

Please consider the following multipage MWE, which contains page number restarting; made to compile with pdflatex test.tex: \documentclass[12pt]{article} \usepackage{geometry} ...
1
vote
0answers
68 views

reference to local html-file with anchor (hashmark #) via \href [closed]

I try to link to my local html-files with \href from hyperref package. \href{run:relative_path/filename.html#anchor It also works quite well only for the file itself. The anchor is cut off from the ...
0
votes
0answers
86 views

Windows API error 1392 using hyperref

When I compile the following very M(N)WE with pdflatex I get the error message pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable. pdflatex: Data: C:\Program Files ...
4
votes
3answers
111 views

Can I have hyperlinks a different color for printing?

Is it possible to print hyperlinks in the same colour as the surrounding text when printing a hard copy of a PDF? When a PDF is printed on paper I would like the links to be the same colour as the ...
2
votes
2answers
73 views

How can I preserve hyperlinks in a PDF that is a subset of the pages in a larger PDF?

I would like to send my colleague just part of a document. The document includes hyperlinks from the hyperref package for clickable cross-referencing within my document. I have tried to create a PDF ...
4
votes
1answer
59 views

How do I make an attached non-pdf file display like a link?

I'm embedding an external file in my pdf with \usepackage{attachfile2} and \textattachfile[color=1 1 1]{description}{file.txt}. How can I make the text look the same as it would if I had used the ...
3
votes
1answer
30 views

Theorem sub-numbering and hyperref

I want to use sub-numbering for certain theorems. I used the solution provided in the question How do I get sub-numbering for theorems (Theorem 1.A., Theorem 1.B., Theorem 2.)?, which does exactly ...
9
votes
1answer
2k views

How to hyperlink only the year part when using natbib and hyperref

I am using the natbib and hyperref packages: \usepackage{natbib} \usepackage[pagebackref=true, plainpages=false, bookmarks, bookmarksnumbered, colorlinks, linktocpage=true, linkcolor=blue, ...
9
votes
2answers
1k views

How can I add Section numbering and a Contents entry to the PDF bookmarks?

I'm having a bit of trouble with the PDF bookmarks. I am trying to Add "Contents" as an entry to the PDF bookmarking. Have numbering for my sections and subsections. I am looking to achieve ...
0
votes
0answers
59 views

Beamer + hyperref + latex->dvips->ps2pdf

i have a problem with this minimum code (i let all the packages for possible conflict) : \documentclass[10pt,a4paper,dvips]{beamer} %Avec effet de transition \usepackage[utf8x]{inputenc} ...
7
votes
2answers
89 views

Why does hyperref complain about “token not allowed in a PDF string” in my glossary when I've set the default language?

I have a glossary defined with the glossaries package, and I use the hyperref package to control aspects of the generated PDF file. When I set the document's language with polygossia's ...
3
votes
1answer
71 views

Label a word or sentence?

Is it possible to refer to a word in a sentence? Example: Hi, I love\label{Word: Love} learning so I ask a lot of questions. I would like to refer to the word "love" in the above sentence. For ...
0
votes
0answers
33 views

Glossary Page Links with Roman Front Matter

I am having some trouble with the glossaries page number links with documents that contain front matter. The link goes to the absolute page number, i.e. 2 of 10, when page two is actually ii. Minimum ...
1
vote
1answer
21 views

Wrong hyperlink due to the openright empty page

\documentclass[11pt,twoside,openright]{report} \usepackage{hyperref} . . . \clearpage \lhead[\textbf{\thepage}]{\emph{Table des figures}} \rhead[\emph{Table des figures}]{\textbf{\thepage}} ...
1
vote
1answer
72 views

XeLaTeX, bidi, hyperref, longtable conflict

Take a look at this XeLaTeX file: \documentclass{memoir} \usepackage{longtable} \usepackage{hyperref} \usepackage{bidi} \begin{document} \begin{longtable}{l} x \end{longtable} \end{document} ...
4
votes
3answers
154 views

Pagenumbering with romanbar compatible to hyperref

Is there a good way to use the package romanbar also for page numbering, with compatibility to hyperref? The following example works without hyperref but not with it. ...
2
votes
0answers
83 views

hyperref is pointing always the first page

I am typing my thesis in latex. I used hyperref. Two papers are in the bibliography. Paper no 1 is cited in the first page and paper no 2 is cited in the 2nd page. When I am clicking the red ...
1
vote
0answers
45 views

Hyperreferences broken in case of enumeration in longtabu

Hyperref points at enumerated item instead of table caption. Minimal example: \documentclass[14pt,twoside]{extreport} \usepackage{type1ec} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} ...
5
votes
2answers
156 views

Token allowed in PDF string in \section but not in a customized (with \addcontentsline) section command

babel's frenchb option makes active e.g. ! character by making it automatically preceded by a \thinspace. Such active characters are properly supported in sections by hyperref's bookmarks. But, when I ...
3
votes
3answers
87 views

cross references across chapters

I renewed my command for chapter/section...etc So I don't see the chapter number in all (sub)sections name. Also the point was that when I'm in a chapter and I use \ref to reference to a section of ...
2
votes
1answer
183 views

How do I Auto-Label Hyperref Fillable Forms \TextField?

Is there any way to put an automatic label into the hyperref package's \TextField parameters field like this: \newcounter{lexemeCounter} ...
4
votes
1answer
72 views

Remove color of acronyms used in an equation

I use the acronyms package to define mathematic symbols like this: \begin{acronym}[long] \acro{v}[$\vec{v}$]{View direction vector} \end{acronym} I do this with lots of others where it is faster to ...
1
vote
1answer
26 views

Funky interactions of bbm and hyperref packages [duplicate]

I'm trying to use both the bbm (to write my preferred style of indicator variables) and the hyperref packages (to reference web URLs). However, something strange seems to be going on whenever I use ...
4
votes
1answer
90 views

Problem with converting footnotes into endnotes

I'm using endnotes package to create endnotes, and since my existing body of text already contains lots of footnotes, I use \let\footnote=\endnote to convert footnotes into endnotes. ...
0
votes
1answer
22 views

hyperref not linking index pages [duplicate]

Compiling the following MWE with lualatex with makeindex, my index renders with no hyperlinks for page numbers: %!TEX encoding = UTF-8 Unicode %!TEX program = lualatex ...
3
votes
1answer
69 views

Filesize command amount dependent?

When writing a cv I decided to separate tex file from content. I copied the content to a csv file in order to load it with datatool. But this greatly increases the size of the PDF: Complete content ...
2
votes
1answer
351 views

Referencing an article from a beamer document with xr-hyper

I'm trying to link to a label in an article from a beamer file. The reference itself works fine, but the hyperlink doesn't. It gets defaulted to page 1 of the beamer file. This is the article: ...
0
votes
1answer
24 views

icon=Graph in attachment2

Is there any way to add the graph icon of hypdvips package to the attachment2 package Otherwise some features of hypdvips are very nice, is there any way to add the possibility to use it in pdflatex? ...
3
votes
1answer
23 views

Table of contents: Correct hyperllinks to two different “section 1”s

I have a document divided in parts, sections and subsections and each part starts with "section 1". I totally dislike this, but I cannot change that. So sadly, I have to cope with the arising ...
1
vote
1answer
35 views

Anomaly using natbib

I am using the following command in a .cls file: \RequirePackage[numbers,sort&compress]{natbib} for references. I do not know why the output of the compilation shows an additional rectangle. ...
3
votes
2answers
55 views

Href Link Beyond Group

Below is my code \documentclass{article} \usepackage{hyperref} \hypersetup{colorlinks,% citecolor=white,% filecolor=blue,% linkcolor=blue,% urlcolor=blue, } \newcommand\JRNL[1]{#1} ...
8
votes
0answers
240 views

PDF/A with CMYK, how?

Using http://tex.stackexchange.com/a/99666 and http://tex.stackexchange.com/a/136653 I think I have been able to generate (using TeX Live 2014, pdfTeX 3.14159265-2.6-1.40.15) a PDF/A-1b compliant pdf ...
1
vote
0answers
32 views

Error on linking email addresses inside elsarticle template

I am perplexed by the error: Use of \@uad doesn't match its definition. \kernel@ifnextchar ...rved@d =#1\def \reserved@a { #2}\def \reserved@b ...
1
vote
1answer
65 views

How can I get page numbers to link to the table of contents in latex?

Just gonna ask a question from 4 years ago: "I've seen a pdf LaTeX document where the page numbers at the bottom of the page are hyperref links, and clicking them causes you to jump to the contents ...
3
votes
1answer
60 views

looking for equivalent to natbib's `\citepalias` in biblatex with active links using \hypersetup

I recently made the switch from natbib to biblatex. I've been using \hypersetup to make active links with natbib––it helps me navigate my document as I am working on it (see below for example). ...
2
votes
1answer
55 views

How can I hide the reference links in the TOC, LOF, and LOT globally (shared preamble)?

Question How can I use hypersetup{hidelinks} globally, such that the scope is the TOC, LOF, and LOT only? Situation I have many documents that share a common preamble. I am using the \hyperref ...
1
vote
1answer
653 views

pdfpages/hyperref - Contents link jumps to wrong part of page

I'm using pdfpages to combine multiple pdf documents; I would also like a front 'contents' page for the new file, using hyperref to allow me to jump directly to the correct page. The 'addtotoc' option ...
3
votes
1answer
52 views

Multiple \hypertarget overflow the page?

I want to assign individual anchors to a series of paragraphs with \hypertarget, so that each paragraph can be linked to with \hyperlink: \documentclass{article} \usepackage{hyperref} ...
2
votes
1answer
76 views

Making broken references extra visible, redux: interacting with BibTeX (or BibLaTteX)

In Making broken references extra-visible, I asked how to make LaTex's normal ?? and [?] markers for broken references instead render as some super-annoying, colored text, so that in skimming a long ...
4
votes
1answer
67 views

Hyperref not expanding macros in section titles?

I defined a macro that typesets a technical name using math symbols, in my example $\alpha$-thingy. When used in a \section, \hyperref would complain that it cannot use the symbol to compose the ...
2
votes
1answer
30 views

\autoref and linguex

I use the linguex package for linguistics examples, and I'd like to be able to refer to the examples with the \autoref command. This works great for examples with labels: \ex. \label{example} Hi. ...
3
votes
0answers
59 views

Need index to display custom description environment item name

I am trying to accomplish something like in this question and this question. I have several authors contributing solutions to problems that are numbered using an externally imposed scheme, which I ...
5
votes
3answers
43 views

Retrieve link caption of hidden label

What I wish to do is create a (hidden) label in which some text is stored, and retrieve the text by referencing to it, without getting an actual link. For example: \customlabel{refname}{some text} ...
2
votes
1answer
24 views

New level of section, interaction with hyperref

I would like to create a new command \exsec that behaves like \section with the properties below. I am using the book class. It produces a heading with the same formatting as \section, except it is ...
2
votes
1answer
28 views

Having several different colored borders for internal links

My question is: Is is possible to change the color of the borders of one or several internal links in LaTeX, without changing them all? I know it is possible to define a different colored borders for ...
3
votes
0answers
61 views

Where can I find the PDF syntax for texorpdfstring?

I use \texorpdfstring for section commands, but how do I find the PDF syntax? For instance, I recently learned about \texttwosuperior just by chance. Is there a reference for similar symbols?
3
votes
2answers
1k views

hyperref error using latex: “Illegal parameter number in definition of \Hy@temp” [closed]

I have a new laptop and installed Ubuntu 14.04 including TeX Live. A LaTeX file which worked well under Ubuntu 12.04 now gives error "Illegal parameter number in definition of \Hy@temp" when calling ...
0
votes
0answers
44 views

Reverse figure links

I like the way that hyperref provides links from references in the text back to figures or equations but at times I'd actually be interested to have the reverse work as well. Such that figures and ...