Questions tagged [hyperref]

{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}.

hyperref is a package capable of producing hypertext links in documents. If your question is about cross-referencing in general, choose . If it's specifically about PDF features, consider to choose .

In addition to the capability of producing hypertext links hyperref can be used to add meta data to PDF files.

4879 questions
292
votes
1 answer

Hyperref - Token not allowed

Possible Duplicate: Hyperref warning - Token not allowed in a PDF string The following code: \subsection{The classes $\mathcal{L}(\gamma)$} generates the errors: Package hyperref Warning: Token not allowed in a PDF string…
Chris
  • 4,965
  • 8
  • 22
  • 19
122
votes
3 answers

Making clickable links to sections with hyperref

I would like to make a word of text, that when clicked upon in the PDF file takes me to some section. I'm using the hyperref package. I rejected \nameref because it produces the section title and I want my own link text. I also rejected…
Thomas
  • 1,927
65
votes
4 answers

How to disable links completely using hyperref package?

A have a LaTeX paper I want to submit to the EDAS system. EDAS doesn't want papers to have links and suggests to 'remove the hyperref package from your file'. However, if I do that, my compilation breaks because of some hyperref options in my tex…
Rabarberski
  • 6,459
55
votes
7 answers

better default colors for hyperref links

Update 2021 In a new driver for hyperref that I'm developing as part of the "LaTeX tagged PDF" project I use the colors suggested by Phelype Oleinik as default colors. All other suggestions have been added as color scheme and can be chosen with an…
Ulrike Fischer
  • 327,261
52
votes
3 answers

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:
Hamid
  • 539
38
votes
0 answers

hyperref does not work

I tried to add hyperref package, but TexWorks has this error: Runaway argument? {\@firstoffive }\fi . \begin {figure}[h!] \centering \includegraphics \ETC. ! Paragraph ended before \Hy@setref@link was complete.
user28990
  • 381
27
votes
1 answer

Changing the \autoref name for Chapter

I'm trying to change the name the function \autoref (from the hyperref package) uses for chapters. By default it outputs "chapter X" (lower case c) but I want it to output "Chapter X" (upper case c). In my document I can successfully redefine the…
Roy T.
  • 373
  • 1
  • 3
  • 6
25
votes
3 answers

hyperref Warning: Draft mode on

I'm trying to get hyperref to work with pdflatex, but I'm getting the error hyperref Warning: Draft mode on and since all hyperrefs are disabled in draft mode, there are no links being created. I tried doing the following:…
Filip Ekberg
  • 2,503
22
votes
2 answers

Hyperref \pageref links point to first page

In answering this question I came across an unusual feature of hyperref. The issue is that sometimes the hyperlinks generated by hyperref and \pageref point back to the first page of the document rather than to the page that they are supposed to go…
user30471
21
votes
2 answers

Linking a text to a page (by page number)

I need to link a text to a page (by page number). I do not want to use labels, but simply to specify the text and the page number. Can I do that with hyperref?
raphink
  • 31,894
20
votes
2 answers

Why does the hyperref documentation suggest using gather instead of equation?

On p39 of the hyperref documentation, there is a rather cryptic suggestion to use gather instead of equation. "the situation for equation is unclear, because nobody is interested in investigating" I understand why eqnarray is not recommended,…
Howard
  • 363
20
votes
3 answers

How to link to specified page of an outer pdf document?

Recently, I made a beamer presentation and I want to link to a pdf I have made before, but I can only link to the first page of pdf document using the command: \href{doc/mydoc.pdf}{thedoc} and I want to link to a specific page. Someone told me to…
TeX.pig
  • 497
19
votes
1 answer

Problem with use of '#' in custom \href command

I'm having a similar problem as described here: How to use \newcommand for \href? However, I want to specify an URL with an # sign in it. I know that I should escape the # by \#, but as we have many links containing the #, it may be nice to be able…
18
votes
2 answers

Click to go to an anchored line

It is possible to make a hyperref to go to page x, but how we can define a custom anchor to go a destination line? For example: \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \lipsum[2] THE DESTINATION LINE (anchor…
Googlebot
  • 4,035
18
votes
4 answers

MacOS X: insert hyperlink to local file (complete path) in LaTeX? (only working with relative path)

I want to add hyperlinks to external pdfs (which are saved in the local file system) and to specific pages of these pdfs to a LaTeX document on MacOS X and opening them with Skim.app (default). My problem is: it works, if the pdf is in the same path…
1
2 3
26 27