[racket] Fwd: URLs in slideshows
It worked!
#lang slideshow
(require (only-in browser/external send-url))
(slide
#:title "FizzBuzz"
(clickback (tt "Racket home") (λ () (send-url "http://racket-lang.org"))))
Well, not that I am in the need, but how would I go about to make clickable
URLs in PDF files?
If that is possible, then I could (try to) write something like (url "
http://racket-lang.org" "Racket home") that does its best to work in both
cases :)
[]'s
Rodolfo
On Tue, May 17, 2011 at 12:28, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> There's not currently a clickable-URL function provided with Slideshow.
> You'd have to use a combination of `clickback' and `send-url', and it
> would only work when running the show (as opposed to PDF output from
> printing the slides).
>
> At Tue, 17 May 2011 12:23:36 -0300, Rodolfo Carvalho wrote:
> > How do I write URLs with hyperlinks in a slideshow?
> >
> > I tried something like:
> >
> >
> > (require (only-in scribble/base url))
> > (slide
> > #:title "Want more?"
> > (t (url "http://racket-lang.org")))
> >
> > => but it is a "contract violation"...
> >
> > []'s
> >
> > Rodolfo Carvalho
> >
> > (PS: previous message was waiting for moderation because I was subscribed
> > with a different email address)
> > _________________________________________________
> > For list-related administrative tasks:
> > http://lists.racket-lang.org/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110517/436282a6/attachment.html>