{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

0
votes
0answers
8 views

Latex - Miktex cross references linking back to ref point [duplicate]

Using pdftex i can cross ref to a label say \ref{label1} for example. Clickin on it in the .pdf document you 'll be linked to the label. I'd like there to be a "back reference link" to the point that ...
6
votes
1answer
197 views
+100

Beautiful table of contents with hyperref

I really don't like the red box which indicates a link. I would like to have some filled rectangle rendered which shows up when someone hovers. Obviously before the text gets rendered as you cannot ...
6
votes
1answer
54 views

Getting an optional title with nameref and xparse

Suppose I defined an environment with an optional argument (using xparse) as in \documentclass{article} \usepackage{hyperref,xparse} \newcounter{exercisecounter} \stepcounter{exercisecounter} ...
0
votes
0answers
14 views

Classicthesis and LyX: Color of citation Author [#ID, p. 10]

I am using classicthesis with LyX. Usually, citations are colored in green. But when I choose the type Author [#ID, p. 10], that is, I add p. 10 in the Text afterwards box, the whole citation apart ...
3
votes
1answer
30 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
3
votes
1answer
42 views

links to theorem-environments take me to first page

I'm currently creating a big document in multiple TeX-files and used dozens of links to parts I put into theorem-environments. However, only some of the links do not work, they take me to the first ...
1
vote
1answer
11 views

hyperref with breaklinks option + hypdvips give unexpected output

Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage[hmargin=2.4cm]{geometry} % to get margins which create a line break within the link ...
10
votes
3answers
646 views

Cross-references in headers, clash between fancyhdr and hyperref

I am writing my thesis and using fancyhdr for the headers. Just the standard "Chapter name on odd pages and section name on even pages". I also need to use the hyperref package to break up long urls ...
1
vote
1answer
17 views

Put \ref{} within \aaalphanum

I'm trying to ref a label using \ref and output an alphabetical letter (e.g. 'A') rather than the number (e.g. 1). I have read somewhere to use \AAAlphanum{\ref{my_label}} but this command fails ...
4
votes
2answers
36 views

Issues with using \nameref (hyperref) and \mdtheorem (mdframed) together

When using the \mdtheorem command (from mdframed) with \nameref (from hyperref), it seems that labels applied to an theorem made using \mdtheorem will not appropriately take the title given to the ...
4
votes
1answer
66 views

Customize hyperref package to only link references and not any other field like equations and tables

I am using hyperref package to internally link the references. The package automatically links equations, tables, and appendices as well. How can make it not to link any other field other than ...
2
votes
1answer
16 views

Setting hyperref reference with xstring

I am trying to generate hyperref links programmatically, using xstring. For example, in the code below I would like \hyperref[reference\FirstNumber{1,2}]{first line} to be equivalent to ...
1
vote
1answer
23 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
3
votes
1answer
49 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
5
votes
1answer
38 views

How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref

There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ...
4
votes
2answers
41 views

Ask `\autoref` to display environment name without number

I'm using the memoir class and I define theorems with thmtools. Theorems often have a name, besides being numbered. I'm looking to write a \fullref command that outputs the name of the environment ...
2
votes
1answer
87 views

Broken automatic line breaking in section titles when ulem and hyperref are used

I am trying to use the ulem package to underline section titles while still being able to have automatic line breaking: \documentclass{scrartcl} \usepackage[normalem]{ulem} \begin{document} ...
8
votes
3answers
109 views

Ensure phantomsection doesn't occur at the bottom of a page

In my document I have boxes that cannot be broken across pages, and which therefore often leave blank space on the preceding pages. When I create a \phantomsection before one of these boxes, the ...
2
votes
1answer
64 views

How tell hyperref to insert a “target” in the resulting \href

I am using the hyperref package to insert links to websites in my documents. The Adobe reader opens a new tab for each link in the PDF, and that is what I want. Next I want to get the same behavior ...
2
votes
0answers
274 views

Mysterious error message regarding missing reference [closed]

At the very end of my pdflatex compilation, I get the following error messages: (see the transcript file for additional information)pdfTeX warning (dest): name {theorem.10.2} has been referenced but ...
4
votes
2answers
37 views

Subfig subcaption labels have wrong spacing with KOMAScript and colored labels

I observe a problem with the labels of subcaptions generated by the subfig package. The distance between label and caption is wrong, but only if I change the color with \addtokomafont and if the color ...
0
votes
0answers
15 views

Autoref uses wrong name [duplicate]

Here is my MWE: \documentclass{amsart} \usepackage[all]{xy} \usepackage[colorlinks]{hyperref} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \theoremstyle{definition} ...
2
votes
2answers
47 views

Line thickness of links

Links coming from ref or gls are accompanied by boxes (I know about colorlinks and the possibility to switch them off). I somehow like the idea of the boxes but the lines are way to thick in my ...
2
votes
1answer
38 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
31 views

pdf link does not work with latex/dvips/pstopdf execution

I have this simple LaTeX file: \documentclass{book} \usepackage{hyperref} \hypersetup{% linkcolor=blue, colorlinks=true,% hyperlinks will be black pdfborderstyle={/S/U/W 1}% border style with ...
3
votes
2answers
43 views

hyperref targets without \refstepcounter

I am trying to create a document-internal link using the hyperref package. At the position where the link should point to, I execute the following command (as part of the setup of a LaTeX ...
0
votes
0answers
46 views

To have math in section's name with doi -package (hyperref) [duplicate]

This thread evolves from my discussion here. Minimal example \documentclass{article} \usepackage{mathtools} \usepackage{polyglossia} % also loads package fontspec \usepackage{unicode-math} % if you ...
1
vote
1answer
14 views

pdf viewed with Adobe Acrobat displays box with URL link generated with hyperref preceded by local path to current file

I want (if at all possible) to suppress display of the path to the current open pdf file generated by pdflatex in a link generated with package hyperref. The problem occurs when the pdf is viewed with ...
0
votes
0answers
16 views

! Missing \endcsname inserted. Because of Turkish [duplicate]

When I try to build and view my .tex document. I get the error. I have viewed at the topics like the problem. How can I fix the problem ? Thank you for all appreciated answers. Error: ! Missing ...
4
votes
1answer
26 views

PDF Form Fields; charsize=auto?

I'm using hyperref to write a fillable form, but my users have a tendency to overfill the text boxes causing the text to be invisible on the printed sheet. Acrobat allows for a definition of the ...
2
votes
1answer
276 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: ...
1
vote
1answer
25 views

breakurl doesn't work with xelatex

I'm trying to use the breakurl package with xelatex but can't get even the following minimum working example to compile. \documentclass{article} % dvips added as per breakurl manual % also fails ...
3
votes
0answers
75 views

Table of contents in a separate file with correct hyperlinks to many files

It's my first question here. Sorry if it doesn't follow the rules. I have: I'm writing a manual in the book class with pdflatex (MiKTeX under Linux). Each chapter is stored in a separate tex-file ...
3
votes
1answer
22 views

hyperref pointing to the wrong equation using subequations

I'm using the following code to write an article, but I'm having some problems cross-referencing the equations with hyperref. The \eqref{} code returns the right equation's number. But the hyperlinks ...
5
votes
2answers
105 views

Long URL extends into margin - it breaks at underscore, but too late

In my dissertation I have a long URL containing many underscore characters as word separators (Wiki software did this). These URLs break at an underscore (good!), but too late, causing the line of ...
0
votes
0answers
23 views

Hyperlink is going to the wrong page [duplicate]

When I click in the Contents--Bibliography it goes to the page 134 - the correct one is page 135 as showed in the table, attached picture. How could I fix the link to the right page? Thank you all ...
5
votes
2answers
40 views

How do i put verbatim text as the body of a link?

Is there a way i can have verbatim text inside a link? \href{www.numpy.org}{\verb|numpy|} does not work. I tried using cprotect; \cprotect\href{www.numpy.org}{\verb|numpy|}, but then I end up with ...
1
vote
0answers
13 views

How to make refcheck work with autoref? [duplicate]

I have just discovered refcheck and would love it to bits if my document wasn't full of \autoref's. According to refcheck's documentation, it works with hyperref in general, as long as the latter is ...
3
votes
0answers
59 views

Links in mindmap as table of contents in beamer

I decided to use a mindmap to show the ToC of my presentation and the section outline. I'd like to have the nodes clickable like the standard ToC, but I couldn't find any command like ...
4
votes
1answer
57 views

Is it possible to redefine \url in such a way that it works without or with http

This question is related to the question How to avoid the "http:" part in hyperref's \url? and the solutions http://tex.stackexchange.com/a/139934/39306 and ...
0
votes
0answers
33 views

How to add a link to a PDF file in Beamer? [duplicate]

I'd like to insert a link to a PDF file into a Beamer presentation. How can I do that? With which specific command?
1
vote
0answers
26 views

How can I make a hyperlink underlined only when the cursor is hovering over it?

I'm using the moderncv document class along with the hyperref package, and I have some hyperlinks in my document. I've made my hyperlinks a different color, to ensure that the reader knows they are ...
1
vote
1answer
67 views

LaTeX extra } issue

I'm trying to compile a document that uses BibLaTeX with the Biber backend, but I keep getting these errors on the last line of my document: ! Argument of \hyper@anchorstart has an extra ...
1
vote
1answer
22 views

Cannot get hyperlinks in elsart.cls documents

When formatting a document with the class elsart.cls provided by Elsevier, hyperlinks to sections, equations, items... don't work. I know that elsart.cls is supposed to be obsoleted by elsarticle ...
72
votes
6answers
43k 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 ...
0
votes
0answers
10 views

Footnotes via hyperref points underneath the footnote, not on it

Using the hyperref package, I expected the links of my footnote numbers to point right to the corresponding footnote line. But this never actually happens. It always points right underneath it! Here ...
2
votes
2answers
33 views

hyperrefs in textcolor

I have used hyperref (with xcolor) and \hypersetup{ linkcolor=black, filecolor=black, urlcolor=black, citecolor=black } for quite some time now. However, in a coloured text this looks ...
274
votes
7answers
69k views

Remove ugly borders around clickable cross-references and hyperlinks

I know that I can use hyperref to make cross-references and hyperlinks clickable. That makes the clickable areas outlined in fluorescent green, however. How can I make the green boxes go away?
10
votes
1answer
3k views

No hyper refs from citation to bibliography using BiBTeX, hyperref and harvard

I am trying to get internal hyperrefs from citation to the bibliography page. I am using BiBTeX, the harvard package, the hyperref package with optional [hidelinks]. The latter works fine to me on the ...
0
votes
1answer
146 views

Hyperlinks on moderncv not working Adobe Acrobat Pro

So, I know there's already a question about this (Hyperlink in moderncv with acrobat reader) but I have tried the solutions there (updating and security settings) and it still doesn't work and I don't ...