Tagged Questions

{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
1answer
11 views

Why hyperref's \url may be used in preamble within a macro but not within a box?

The following MWE, where a macro involving hyperref's \url is defined in the preamble, works like a charm: \documentclass{article} \usepackage{hyperref} % ...
1
vote
0answers
6 views

LyX XeTeX and hyperref error hline

I have a main LyX document with a number of child documents, which have English, Hebrew and Greek text. On compilation, I get an error: ! Undefined control sequence. <argument> \@currentHref ...
0
votes
0answers
28 views

\paragraph inexplicably turns into clickable link

I have a weird LaTeX problem. When inserting the \ref{} link to the \subparagraph flagged as "crucial line" in the following MWE, the preceding \paragraph headline inexplicably turns into a clickable ...
3
votes
1answer
45 views

can't \hyperlink{\includepdf

I'm making a image grid that links to pdfs. I want the pdf to link to the image too. Neither the hypertarget to the image nor the hyperlink to the pdf work. Are there any jump to page instructions ...
0
votes
0answers
15 views

using hyperref, change chapter to section in ToC

I would like to change the level in the PDF bookmarks using hyperref of some entries in the appedix. In my appendix I have several chapters, the first one being "appendix" and then some more... In ...
10
votes
1answer
108 views

Why can't I expand \ref*{} as a string?

In the following code, if you change \def to \edef the code crashes. Nor can you perform normal string operations or tests. Removing hyperref (and replacing \ref* with \ref) works fine with \edef. ...
0
votes
0answers
23 views

Having a problem generating a command that make chapter and label in one line

I'm writing my thesis, modifying the ezthesis template. I did a new command that mix chapter and label in one line. \newcommand{\chaptercolored}[2]{\textcolor{colorchap}{\chapter{\textbf{#2}}}% ...
1
vote
0answers
16 views

Problem with citation in \thanks using amsart and hyperref with pagebackref

I'm writing a paper using amsart and the pagebackref option of hyperref. I want to use the \thanks command to acknowledge someone for pointing me to a specific reference. But I get an error. ...
2
votes
2answers
13 views

Bookmarks to the second part leads to the wrong page (page of the first part)

The bookmark/link in PDF to the second part ("Quels impacts ?") leads to the wrong page (one early). This is also true for the ToC in the PDF (the page number here is correct, just the hyperlink is ...
0
votes
0answers
16 views

How to hyperlink to files relative to the current file with hyperref?

I cannot get relative links to files to work when using: \usepackage[pdftex]{hyperref} I can only get the following to work: /href{file://full-path/filename}{text} I have tried the following ...
2
votes
1answer
41 views

newcommand with \href [duplicate]

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
39 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
25 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} ...
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
33 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
48 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
39 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
30 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
397 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
41 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
14 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
48 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
29 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
35 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
19 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
33 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
88 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
27 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
39 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
35 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
28 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
92 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
85 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
49 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
49 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
45 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
59 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
270 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
50 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
71 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} ...