[racket] Scribble: Different output for LaTeX and HTML backends

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue Dec 7 10:27:42 EST 2010

Hi All,

I have a YouTube video, that I'd like to embed in the HTML output using the
following code:

<iframe title="YouTube video player" class="youtube-player"
type="text/html" width="480" height="390"

In the PDF version, I'd like to use:

@hyperlink["http://www.youtube.com/watch?v=J3WIPS3Uh_A"]{Proof for the
cosine relation in an acute trinagle}

How can I detect whether pdf or html is being generated?
Is there a parameter I can use?

Jens Axel Søgaard

Posted on the users mailing list.