{links} is specifically about dealing with hyperlinks. If your question is generally about {urls} or about the {hyperref} package, use the respective tag instead.

learn more… | top users | synonyms (1)

7
votes
2answers
567 views

How can I add every glossary entry to the index?

I know, there are similar questions around, but I couldn't find a solution to what I want. E.g. here, all acronyms in the document are set to the index. I think, indexing should be done manually so ...
3
votes
1answer
85 views

hyperref : how to color the whole “Figure 4” and not just the “4”?

I have a simple question: how can I make hyperref link (and color) the whole "Figure X" or "Table X" instead of just the "X"? I use it as : \usepackage{hyperref} \hypersetup{colorlinks=true, ...
5
votes
1answer
289 views

Automatic hyperlinks within document?

I'm new to TeX (and I'm still trying to get my hear around it.) I was wondering is there a package that automatically creates links within the document I am writing - like hyperlinking from the ...
5
votes
0answers
616 views

Changing/disabling the mouse over/hover text of a hyperlink

I am using hyperref package to create links in my tex file. To define a link, I do \href{https://www.google.com}{google} When mouse is over the text, the destination, https://www.google.com in this ...
9
votes
1answer
7k views

Is it possible to open a video file via a link in beamer?

I have searched through posts like "embedded video in PDF", it seems that this feature is only available in Adobe Acrobat. So I just thought the alternative solution: open a video file (using system ...
3
votes
1answer
632 views

\input{glyphtounicode} with \pdfgentounicode=1 creates unwanted hyperlinks from link-like text

I often use \input{glyphtounicode} \pdfgentounicode=1 to generate PDF-files whose contents paste with the correct Unicode codepoints. However I noticed that as a side effect of these commands, some ...
4
votes
3answers
435 views

What's a better way to define individual link colours for a url in a macro?

I've got a document where I'd like two colours of links - cyan for links in headers that since it's brighter, and navy blue for links in the main body which is more subtle/less distracting. I already ...
8
votes
1answer
663 views

Switch between box and color links with hyperref

How can I have both boxed and color links in the same document? I know I can use \usepackage[colorlinks]{hyperref} and have colored links instead of boxes, but how do I have both in the same ...
1
vote
1answer
500 views

Adding a cover image to an existing pdf file breaks th links of the original pdf [duplicate]

We have a main.pdf, and a cover image and a tex file. When we use texlive2013 to add the cover image and the contents of the tex file in the main pdf, the links in the main pdf breaks, in the sense ...
2
votes
2answers
188 views

How to use an hyperlink as a paragraph title?

I want to use the hyperref package to create hyperlinks in my pdf output. I have a global table and I would like to link each line to a more detailed table further down the document. And for each ...
18
votes
1answer
3k views

How to turn on/off certain types (e.g. citation, url, file) of hyperref links?

The hyperref manual doesn't seem to document a way of turning different types of links (citation, url, cross-reference, file, ToC, footnote) on/off independently. One possible scenario would be to ...
19
votes
1answer
980 views

TikZ image with hyperlinks --> GIF/PNG image + HTML image map

I have a (complex) TikZ-based figure with hyperlinks. Now I need a web version of this figure that preserves all hyperlinks. Converting the PDF to GIF or PNG is trivial, but for the hyperlinks I ...
4
votes
1answer
113 views

Making a theorem into a link

A link to another file can be created using the code \href{run:/path/to/my/file.ext}{text displayed} Now I'm use the amsthm package. What I'd like is for the phrase 'Theorem X' to be a link to ...
4
votes
2answers
2k views

Single link in (Author, Year) citation style using natbib and hyperref

natbib and hyperref create by default two links to the bibentry in the reference section|chapter of the document: \begin{filecontents}{\jobname.bib} @book{author08, title = {{A Title}}, publisher = ...
2
votes
1answer
137 views

placing invisible links at certain coordinates?

Does anybody know if this is possible using TikZ? I'm trying to create links over a picture that i have layed on the background of a frame or at least placing them on some nodes in a TikZ code.
2
votes
1answer
472 views

how to make mindmap nodes links within presentation

Wanting to make secondary and tertiary nodes links to other frames within presentation. A great example would be linking the mountain bicycle node to the frame titled "mountain bicycle". The code I ...
6
votes
2answers
164 views

\href macro in \section conflicts with local hyperref linking in ToC

If I have a section like so \section{Section 1} then in the ToC, so long as I use the hyperref package, it is linked to that particular section. However, if I use an href tag as the section ...
5
votes
1answer
2k views

latex, how to put superscript and link to URL downpage

In a document, how do we do this: i.e. how to put a superscript and then link it to a link as shown in the diagram?
18
votes
1answer
27k views

How to create internet link in PDF?

Let us consider the following example : \documentclass[11pt,twoside,a4paper]{book} \usepackage{hyperref} \begin{document} For more information about 'TikZ' click on the following link : ...
3
votes
1answer
450 views

High-quality LaTeX output format for website display with flexibility

I would like to display a document on my webpage that has a quality of a LaTeX output, such as PDF, PS, DVI. (Plain HTML does not have that quality -- the text is not as "nice" to read.) However, I ...
4
votes
1answer
225 views

Is there a \urlstyle{tt} (or something else) for \href to make it the same font as \url links?

Is there a \urlstyle{tt} (or something else to that effect) for \href to make it the same font as \url links? I'm happy with any monospace font, as long as they both (\url and \href) show up the same. ...
7
votes
1answer
251 views

How to carry long text of \href to the next line while ocgcolorlinks is present?

This simplest code \documentclass[a4paper]{book} \usepackage[ocgcolorlinks]{hyperref} \begin{document} \href{"some URL"}{"long text"} \end{document} by compiling with pdflatex puts the "long ...
7
votes
3answers
3k views

Links do not lead to right pages

The problem is that the links (as well as the PDF bookmarks) of abstract, explanation, CV and appendix do not lead to the right pages. abstract leads to the titlepage and appendix to introduction etc. ...
1
vote
0answers
101 views

How to make a link to a chapter in a local pdf file? [duplicate]

The title is self-explanatory. Anything of that sort \href{run:path/to/file.pdf#chapter2}{go to chapter 2 of file.pdf} ?
40
votes
3answers
6k views

Best practice for hyperref link colours?

I'm using the hyperref package with the option colorlinks=true. However, I'm not happy with the default link colours: for instance, citation links appear in a flamboyantly bright green that hurts my ...
3
votes
1answer
157 views

How to make a really basic reference?

I'm trying to make a really basic reference. Let's say I have theses lines in my document : Lorem Ipsum ... Lorem Ipsum ... [1] here ... Lorem Ipsum ... Lorem Ipsum ... I want to anywhere in my ...
3
votes
2answers
125 views

Toggle links globally using macro

I'm writing a CV for my wife using moderncv. We're not sure whether her supervisor wants links in the document, so every time a link might be required, I write the text twice: PhD student at the ...
1
vote
1answer
395 views

Hyperref link jumps to the first entry of the bibliography entry rather than to its title [duplicate]

This is a follow-up question to Gonzalo Medina's answer of Bibliography in table of contents. One of his solutions for including the bibliography in the ToC is to use the following code: ...
3
votes
1answer
157 views

Include links for certain paragraphs

I would like to include links/reference points in my latex document, e.g. The situation is the following: There is a certain paragraph on, say page 11, and on page 13 there is a link and when the ...
21
votes
1answer
33k views

Further customize color of hyperref links

I have tried to find a way to customize how internal links are colored, but I don't yet have the expertise in finding and redefining commands. In the LaTeX example below, I describe how I would like ...
6
votes
2answers
1k views

Postscript commands in TeX using \special

It is possible to include a graphic image and place a hyperlink reference within it, directly in TeX? I've created a M(non)WE example below to try and demonstrate what I'm thinking. (This becomes a ...
2
votes
1answer
497 views

Adobe Acrobat misinterprets pdfLaTeX hyperref mailto links as relative paths

The following code works and produces a mailto link within a pdf document. However, when opened with Adobe Acrobat, the link becomes file:///path/to/document/%22mailto:foo@bar.abc%22. ...
2
votes
0answers
38 views

How to label a special slide instead of the whole frame in beamer presentation? [duplicate]

Possible Duplicate: Referencing items while using uncover Is it possible in a beamer presentation to achieve that a hyperlink points to a certain slide of a frame? For example, in the MWE ...
4
votes
1answer
490 views

LaTeX - Insert thumbnail with link to fullsize image contained in appendix

What is the best way to include a small thumbnail image which links to the fullsize image which should be contained in the appendix? Ideally it would be nice to have a macro which created a thumbnail ...
4
votes
1answer
119 views

Making section headers link to local files

I want to make the section titles in my document link to external files on my machine, so that when you click on the section title, an external document (a pdf-file) is opened. What is the nicest way ...
2
votes
1answer
2k views

Special character in url link

I would like to insert the following text: \href{http://en.wikipedia.org/wiki/List_of_successful_coups_d'état}{http://en.wikipedia.org/wiki/List\_of\_successful\_coups\_d'état} However, that ...
4
votes
2answers
145 views

PDF links generated by \cite do not work when using project component files

When using the project files shown below, links generated by \cite[…] are displayed as links, but when I click on them nothing happens. But when \completepublications[…] is directly written in ...
1
vote
1answer
1k views

Harvard Citation Styles “et al.” and hyperlinking citations to references [duplicate]

I am using the Harvard package and a Journal of Finance bst file (downloaded from the home page of Ivo Welch) in a LaTeX document. Here's my code: \documentclass{report} \usepackage{harvard} ...
13
votes
1answer
267 views

Box around raggedright links spanning two lines extends to right margin

I need to use boxed links and ragged right text. The problem is that when a link spans two lines, though the link is broken correctly (when using pdflatex) the box around the linked text extends until ...
5
votes
1answer
386 views

Netography for managing links

To manage my links used in my thesis, I wanted to use a netography so that I can cite links that are listed (with time stamp of the last visit!) at the end, like a bibliography. I couldn't find any ...
2
votes
0answers
230 views

Glossaries creates wrong link when using titlepage [closed]

I experienced that glossaries generates a wrong link when my document contains a titlepage... Here is my code: \documentclass{article} \usepackage{hyperref} \usepackage[acronym]{glossaries} ...
8
votes
2answers
472 views

Distinguish \nameref references in print version

I used the \nameref command to reference to names of captions etc. I also used the option colorlinks=true so I have colored references which can be distinguished form "normal" text. In my print ...
11
votes
1answer
565 views

Vertical position after navigating to hyperref hypertargets from hyperlinks seems too low

The vertical scroll position after navigating to a \hypertarget from a \hyperlink (described in the hyperref manual) seems to be too low. The scroll position is at the baseline of the \hypertarget, so ...
6
votes
1answer
401 views

adjusting a constant in a *.bst file (plainurl.bst)

I am using plainurl.bst style, Miktex 2.8, pdflatex to generate a pdf file. It gives explicitly the URL of my bib file. I would like to get this link attached to the title (i.e. embedded below the ...
11
votes
1answer
352 views

Is it a good practice if we always locally precede \href with \sloppy?

Is it a good practice if we always locally precede \href with \sloppy as follows? if you are interested to know the details, please contact me at {\sloppy ...
2
votes
0answers
357 views

Beamer section/subsection links do not work with impressive [closed]

I am currently creating a presentation for my university with Beamer. I decided to use the Impressive script mainly because I wanted a clock counter and the fade-in-fade-out effect impressive provides ...
2
votes
1answer
476 views

Probem with Bookmarks and Linking and page numbering

I have several problems with my latex book: I want the appendix bookmark as an extra bookmark on part level, now it is under my second part. In the table of content its is right, but not on the pdf ...
2
votes
0answers
370 views

How to create glossary entry with link to glossary and appearance in footnote? [closed]

I want each "first-time-used" glossary entry to appear in the footnote with its description and each "used" entry (the short term) being linked to the entry with its description in the glossary. ...
5
votes
1answer
755 views

Link to index in TOC points does not point to index, but to whatever is right before index

My LaTeX document contains an index which is also referenced in the table of contents via \addcontentsline. The page number displayed in the TOC is correct. The link, however, is not. (If I view the ...
5
votes
2answers
437 views

How to make the hyperlink point to the top of linked figure and item of enumeration?

I want to create a problem booklet. Each problem numbered by enumerate has at most one figure that may either be in marginpar or float and occupy the full width. The caption for each figure has a ...