Skip to content
Back to formatted view

Raw Message

Message-ID: <XFMail.111205185856.ted.harding@wlandres.net>
Date: 2011-12-05T18:58:56Z
From: (Ted Harding)
Subject: adding hyperlinked text to pdf plot
In-Reply-To: <CAKZHBxEw2kJpo_wYXnbqnU38u0-dVK6ft1Rfhc1ttCnmr8JFcg@mail.gmail.com>

On 05-Dec-11 18:39:21, Justin Fincher wrote:
> Howdy,
>    I have read that if you put a URL in the text of a plot
> being saved into pdf, the result is a functional hyperlink.
> I am interested in having text in a plot that is linked to
> a URL, but I would like the text to be something other than
> the URL. Is this possible? Thank you.
> 
> - Fincher

The "kosher" method of doing this kind of thing (and a host
of other interactive elements in a PDF file) would be to
incorporate a so-called PDFmark into the PDF code. See for
instance:

http://www.pdflib.com/developer/technical-documentation/
books/pdfmark-primer/

There are various ways of doing this in some document-preparation
programs, but I don't know whether it would be easy to do this
when creating a PDF in R. In mt experience, this involves first
passing via PostScript.

Any comments, anyone?

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <ted.harding at wlandres.net>
Fax-to-email: +44 (0)870 094 0861
Date: 05-Dec-11                                       Time: 18:58:53
------------------------------ XFMail ------------------------------