{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

2
votes
0answers
28 views

newcommand with \href

I'm having trouble using newcommand with the \href I would like a newcommand like this: \newcommand\link[2]{\href{#1}{\underline{#2}}} This command works fine quite all, for exemple: ...
2
votes
1answer
35 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 ...
0
votes
0answers
19 views

Hyperreferences broken in case of enumeration in longtabu

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

LyX automatically converts urls to links without asking

I use lyx and I have a weird thing going on there. In the minimal example provided, when I compile it, the text becomes a link. You could export this lyx to a tex file, and this won't happen anymore ...
1
vote
2answers
17 views

Reference list of figures with autoref in continuous text

How can I create a reference with \autoref{} to the list of figures (or glossary, list of tables, etc.) within continuous text? Minimal Example \documentclass{article} \usepackage{caption} ...
0
votes
0answers
31 views

Bookmarks in .out file but not in .pdf

I have a big problem and I would greatly appreciate your help. In order to sumbit my PhD thesis for publication in an online library, I need to add bookmarks. I used the hyperref package with the ...
4
votes
1answer
45 views

incomplete ifnum

I am using a loop to define keys with the xkeyval package, as well as to actually read out the keys inside some self-defined command. Everything works perfectly - but for some reason, as soon as I ...
0
votes
1answer
23 views

Remove paragraph numbers, but still have bookmarks with hyperref

How can I remove the numbers of my paragraphs, but still keep the links within my LateX file using hyperref? It's a bit like this question, but then with paragraphs: No section numbers, but still ...
0
votes
1answer
37 views

Figure reference numbers off by one with cleveref

I am having an issue with generating my dissertation using cleveref, where the figure references are references are off by one, such that the reference to figure 1.1 says Fig. 1.0. Anyone have any ...
2
votes
0answers
23 views

hyperref bookmarksnumbered prefix or suffix

Is there a way to modify the bookmarksnumbered option of hyperref to add a prefix and/or suffix to the section numbers? The option currently changes the bookmark 'Introduction' to '1 Introduction', ...
11
votes
3answers
390 views

Why does hyperref overrule so many things?

One very usefull package is the hyperref-package. However a lot of times this package interferes with other packages or structures within a LaTeX document. So what is it about hyperref that makes it ...
2
votes
1answer
36 views

Edit hyperref PDF metadata and options in external software [closed]

I am looking to figure out whether there is a way to edit options that the hyperref package offers in other software. To be more precise, what I am particularly after are the following ones: ...
0
votes
1answer
13 views

No autoref name for `Appendix'

I get the following warning in LaTeX while trying to automatically refer via \autoref{} to a label in my appendix. No autoref name for `Appendix' I guess it is trying to tell me that it has no ...
2
votes
1answer
47 views

Custumize TOC only for the appendix part

I am currently writing in article class and I would like to do something really specific in my toc. Currently it looks like this: I got the phrase "Appendices" in there by using ...
2
votes
0answers
21 views

Using \vspace (and other macros) in section headers breaks hyperref PDF-index

the following code compiled with pdflatex produces a PDF file with a PDF index. Sadly, the entry in the index id "5mm Test" instead of just "Test": \documentclass{article} \usepackage{hyperref} ...
1
vote
1answer
27 views

url break in biblatex versus url break in \url

I have code. In this code the url break in \printbibliography is not working. The url break in \url is working. Code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{filecontents} ...
0
votes
0answers
27 views

hyperlink with bib.tex

I was wondering if someone can provide a minimal working example of referencing the authors name in the article with a hyperlink to the bibliography of that article? Thank you.
1
vote
1answer
32 views

Linebreak in newcommand and reference to hyperref

I try to define the name of a document and to use this name in hyperref resp. as the file's properties etc., but for some reason the pdftitle and the pdfkeyowrd option seem to clash with the line ...
0
votes
1answer
27 views

Circumflex in a pdf bookmark using \texorpdfstring

In this MWE, how could you add a circumflex inside pdfstring argument of the \texorpdfstring command so it can be displayed in the pdf bookmarks? MWE: \documentclass{article} \usepackage{amsfonts} ...
0
votes
1answer
16 views

compatibility cleveref and varioref amsmath [duplicate]

I try to use cleveref and varioref and ams* packages together. But I get some trouble, equations and sections label type seems to change and that does work well. Here is my example: ...
1
vote
1answer
32 views

Can't get url's to show color [duplicate]

I want to have url's with no background, but still a distinctive color so as to indicate that they are clickable. I am defining \documentclass[line, margin]{res} \usepackage[hidelinks]{hyperref} ...
0
votes
0answers
52 views

What happened to hyperref? No bookmarks?

See the MWE below: \documentclass[aps, prl, twocolumn]{revtex4-1} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage{natmove} \usepackage[hidelinks, ...
5
votes
2answers
86 views

Automatically convert \href URLs to citation and bibliography

Using the wonderful hyperref package, I've been writing PDF files that I've been very happy with that contain links to web-based URLs so that while reading the PDF file using a PDF viewer, when a ...
4
votes
1answer
43 views

Wrong \href anchor location

I use hyperref and pgf packages. I need pgf to include and position an image: \pgfputat{\pgfxy(-0.2, -2.4)}{ \pgfbox[left,base]{ \includegraphics[width=0.19\textwidth]{\@universitylogo} ...
2
votes
1answer
34 views

Open reference to long directories paths

I am trying to link to a directory while being in a tabular environment. The path of the directory usually is pretty long and should linebreak at the boarders of the table. Additionally it would be ...
1
vote
0answers
25 views

Links not showing up in PDF output

I have an odd problem with hyperlinks (using hyperref). When the link description and the url are identical, everything works fine, like so: But when I try to post a url with a description, like so: ...
3
votes
1answer
37 views

One bookmark per longtable

I asked a question about how to generate bookmarks for tables and figures a few month ago and received an excellent answer (solved question). The proposed code works like a charm for normal tables. ...
1
vote
2answers
49 views

hyperref URL using BibTeX

I am trying to hyperrefan URL using class scrartcl, Bibtex, package natbib and bibliography style authordate1. The paper is characterised as @article in the .bibfile and as the URL entry is not used ...
4
votes
1answer
33 views

Problem with multiple sets of radio buttons in PDF generated from hyperref

I know very little about Forms with hyperref, but I have a suspicion that this might be related to the fact that you're supposed to only have one Form in a document. I would essentially like to ...
0
votes
1answer
27 views

Hyperlinks in theorem names

With the following code: \documentclass[a4paper]{report} \usepackage{lipsum,amsthm,thmtools,hyperref} \declaretheoremstyle[ spaceabove=\topsep, spacebelow=\topsep, headfont=\normalfont\bfseries, ...
6
votes
1answer
89 views

Test the hyperlinks of a pdf document

Is there any way to test the hyperlinks of a pdf file ? Suppose I have a pdf file containing a large number of hyperlinks, can I test automatically the response I will have when following those links ...
1
vote
1answer
84 views

What could go wrong if I don't use * in my \hyperref command?

The Latex manual on wikibooks says that you should use the \hyperref command as follows: We use \hyperref[mainlemma]{lemma \ref*{mainlemma} }. Where "mainlemma" is the labelname. It then says: ...
2
votes
1answer
44 views

Hyperlinks in beamer with allowframebreaks

In this answer Heiko Oberdiek showed me how to create anchors that could be later use to generate working hyperlinks in the beamer class. This works very well except in the case where the ...
2
votes
0answers
36 views

How to set bookmark anchor so \section- and \section*-bookmark behaves the same

If I make a \section and \section* bookmark, the anchor points to the two sections in a different place. A small vertical space is added to \section* (see png-files). How can I make sure the anchor is ...
2
votes
1answer
48 views

Footnotes misbehaving in report go to front page but behave correctly in other report

I wonder if anyone can advise me as to what is wrong? I have a LaTeX report where I referencing the same footnote more than once on a page in the Introduction: documentclass[oneside,11pt]{report} ...
4
votes
0answers
43 views

how to define a label in a new environment?

I would like to define a new environment for writing exercices. Moreover, I would like to use \ref and \nameref (with hyperref package) to build a table of exercise numbers and names. I wrote the ...
5
votes
2answers
58 views

Hyperref: wrong links when listof,bibliography and glossaries in ToC

I tried to produce a ToC like this: I Symbol Glossary II Acronyms 1. Chapter 1 1.1 Section 1 2. Chapter 2... ... III List of Figures IV List of Tables V Bibliography So I added ...
2
votes
1answer
213 views

LaTeX error: Option clash for package hyperref

I'm trying to run the code below but I receive this error: "Option clash for hyperref" Please guide me what should I do. Any help appreciated. Here is the code:
2
votes
0answers
41 views

How can I get \framezoom to work in evince?

The \framezoom feature of the beamer class is awesome, but unfortunately it doesn't work correctly in evince (and the TeXworks previewer). When clicking the zoom button, the viewer correctly jumps to ...
3
votes
1answer
49 views

How to modify Bibtex URL tags in Latex?

I want to cut the URL tags defined in a Bibtex file. For example I want to crop the prefix "mailto:" so that it won't be shown. But the hyperlink still has to contain it. The following command does ...
4
votes
1answer
69 views

Hyperlinks (with autoref) color in beamer

Consider the following MWE \documentclass[leqno]{beamer} \usepackage{lmodern} \hypersetup{colorlinks=true,allcolors=blue} \setbeamertemplate{theorems}[numbered] \begin{document} \begin{frame} ...
4
votes
0answers
54 views

Hyperlink with authoryear-comp in beamer

Consider the following MWE: \documentclass{beamer} \usepackage{xpatch} \usepackage{lmodern} \usepackage[style=authoryear-comp,backend=biber]{biblatex} \addbibresource{biblatex-examples.bib} ...
1
vote
0answers
15 views

Extend the clickable area to author name in authoryear style [duplicate]

With the authoryear style the when using hyperref only the year is "clickable" but not the author. What should I change so to have a sigle clickable area author+year? \documentclass{article} ...
6
votes
1answer
55 views

How to get csquotes, polyglossia with german and hyperref work together?

I found a strange problem which seems to be unique to the combination of polyglossia with german language together with csquotes and hyperref. % XeLaTeX \documentclass{article} ...
0
votes
0answers
44 views

referencing papers [duplicate]

In scientific pdfs one often reads sentences with the corresponding papers in ()-brakets from which the information is taken: e.g. blablabla (Super Mario et al. 2005). Often the year is blue painted ...
2
votes
1answer
54 views

How to link a title to display the content in its side?

My question is. How to make a latex code that links, like the titles are on the left side and the content will display in the right side like the html style that you will link for it to easy to ...
2
votes
3answers
64 views

How to get \url{} and \href{} displayed identically [duplicate]

I would like the output of \url{} and \href{} displayed identically. I have changed the color for both to be blue, but it appears as if a different for is being used as well: Code: ...
3
votes
1answer
28 views

Hyperref stops zref from picking the appropriate counter

zref's counter module allows one to track which counter was (ref)stepped, similar in functionality to autoref. The property keeping track of this counter is aptly called counter. Consider the ...
0
votes
0answers
31 views

\ProcessKeyvaloptions{Hyp} can anyone help me with this problem?

I'm a beginner of Tex, I met a problem when trying to run the following code.. 1.3925 \ProcessKeyvaloptions{Hyp} I tried to generate a PDF file using LaTex...maybe this is the problem..the options ...
5
votes
1answer
37 views

amsbook+thmtools: `\listoftheorems` points to first page of document, not to list of theorems

I use the thmtools package in an amsbook document and compile with pdflatex. The hyperlink generated in the table of contents that should point to the list of theorems wrongly points to the first page ...