2
votes
2answers
45 views

Correct use of hyperref and addcontentsline

I am having some issues with the hyperref package. I would like to create a Introduction chapter without a number so I use \chapter*{Introduction} and \addcontentsline{toc}{chapter}{Introduction} ...
4
votes
1answer
55 views

Problem with hyperref and hypdvips

In my table of contents, there are entries that span more than one line. Since I compile with LaTeX -> PS -> PDF, the links created by hyperref are not correctly displayed in the output file (pdf). To ...
0
votes
0answers
32 views

How to display text of reference [duplicate]

If I put \usepackage{hyperref} % ... % \begin{align} Label \label{lab:one} \end{align} Reference: \ref{lab:one} I get a hyperlink to my label (puts "Reference: 1" with a clickable 1). Instead, ...
5
votes
1answer
56 views

No hyperlink for server name part of multi email text

I am trying to have something like {name1, name2}@server.com where name1 and name2 have hyperlinks of name1@server.com and name2@server.com. This is my code: \usepackage{hyperref} ...
8
votes
1answer
99 views

Bookmark with a link to open the attachments pane

Is it possible to have a bookmark with a link to open the attachments pane? If you carefully read hyperref packege you'll see that the \Acrobatmenu alows you to have links that enables you to open and ...
1
vote
1answer
30 views

Open in a new window when using raw action

I'm wondering how to open in a new window an attached file when clicking on a bookmark. The code below links a bookmark to an attached file in the PDF file. But upon cliking it, the attached file is ...
1
vote
1answer
53 views

Set the highlight style of a link to “none” instead of “invert”

I've read all documentation possible regarding hyperref but I still don't know how to set the highlight style of a link to "none" instead of "invert" (which is the default by the way). Is there any ...
5
votes
1answer
57 views

Multiple footnotes within a mdframed to refer to the same text

I am using an mdframed to a display large list of items. In this this list, there is one exception that a few of the items have, and I am trying to make a note of this via a footnote. The text of the ...
5
votes
1answer
84 views

Constant height and depth of hyperref link boxes

For boxes around links which the hyperref package creates, their height/depth seems to be dependent on the maximum height and depth not of letters of the enclosed material (see top example pair below) ...
3
votes
0answers
56 views

Link to Appendix (from anywhere in the document) goes to the wrong place.

I have several chapters and several appendices. I am using the hyperref package, and everything is numbered (all the chapters, appendices, etc...) My appendices also have sections within them and I ...
5
votes
1answer
56 views

cannot compile when using acronym package \Iac command multiple times

When using the acronym package (current version 2012/10/29 v1.38) with hyperref, the upper case indefinite article command \Iac does not compile in some cases. This code \documentclass{article} ...
5
votes
1answer
62 views

Removing hyperref for acronym starred commands

In the acronym package, the starred commands \ac* and \acp* omit the acronym from the list of acronyms with option "printonlyused". My problem is that acronyms inserted like this are still hyperref ...
1
vote
0answers
28 views

Problem with hyperref and umlauts in the path of a link

I use hyperref to put links to external files into a TeX-document. That works fine until thera are german umlauts in the name of the external file. Is there any workaround? P.S. It is a problem of ...
6
votes
1answer
161 views

Hyperlinks from a TikZ tree

I am trying to combine this answer on how to create hyperlinks with a tree hierarchy taken from the filesystem tree example. While the basic hyperlinking works, I get an error message as soon as I ...
1
vote
0answers
72 views

How to insert hyperlink to web site in ConTeXt?

I need the analogue of latex's \href in context. I need a link when clicking on which pdf viewer would open a browser with it's url.
1
vote
1answer
40 views

href adds unwanted '.pdf' to path provided

I have following code in my tex file. \\href{DEListComparison/inputFilesForGENE_E/}{link caption} \\ The link in the output pdf file turn out to be *DEListComparison/inputFilesForGENE_E/.pdf*. I ...
3
votes
1answer
80 views

How to customize mouse-over behavior of the url links in the PDF files?

Does any one know if I provide an url in LaTex say \href{url}{Frank} When I generate the actual pdf, if I put the mouse cursor over Frank but not click it, I want the description to be "Find me on ...
3
votes
1answer
165 views

Using uppercase command for acronyms in Glossary

I often use the term range expansion in a text. Thus I'd like to abbreviate it using RE. When it first occurs in a chapter, The abbreviation should be expalained like this: Range expansion (RE). In my ...
7
votes
2answers
467 views

How to make a link open multiple pages when clicked?

I have to create a hyperlink which opens two links with one click. Is it possible using LaTeX? I'm using \href{<url>}{Open two links}.
4
votes
2answers
693 views

Did anybody succeed in opening a text file at a certain line from a PDF link?

In my attempt to clarify some inconclusive topics and a part of the series "did anybody succeed" (e.g. Did anyone succeed in playing embedded movies inside Acrobat in Linux?), here it is a new ...
2
votes
1answer
117 views

Create a table of contents

I'm new in LaTeX, and I want to create a TOC like this one TIP: every red box is a link to a certain area in the article.
3
votes
2answers
111 views

how to link previous section

I have a document with multiple sections and a clickable TOC. I belive the TOC to be created by the following command in a package that I use. \tableofcontents As I wanted the TOC to be ...
4
votes
0answers
50 views

Anchor to left margin of the page instead of beginning of line

This may be a very minor thing, but when I click on an internal link within the document (produced by hyperref), the link takes me to the beginning of the line of text, moving the page horizontally ...
1
vote
2answers
899 views

Why website link doesn't show in bibliography

I don't know why the bib reference of website link does not show up. Any solutions? Thanks. @article{brunet2005grant, title={Grant funding to state and local governments and systematic assessment ...
8
votes
1answer
574 views

How to create email hyperlink with predefined subject in LaTeX?

I´m wondering if you can include an email hyperlink in a PDF, that will not only open my mail application with the specified mail address, but also insert a subject, which I specified in LaTeX? I ...
3
votes
1answer
71 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
0answers
291 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 ...
3
votes
1answer
255 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
197 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 ...
7
votes
1answer
292 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
238 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
96 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 ...
13
votes
1answer
784 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
643 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
80 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
963 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 = ...
5
votes
2answers
72 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 ...
6
votes
1answer
159 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 ...
4
votes
3answers
833 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
98 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} ?
30
votes
3answers
2k 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 ...
1
vote
1answer
241 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: ...
8
votes
1answer
8k 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
674 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
302 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
36 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 ...
2
votes
1answer
915 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 ...
13
votes
1answer
249 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 ...
7
votes
1answer
254 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 ...
8
votes
1answer
334 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 ...