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

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Dec 7 10:40:57 EST 2010

You can just set up a new command and give it different
implementations in a style.tex and for the HTML output. There is a
section on this in the docs I believe.


On Tuesday, December 7, 2010, Jens Axel Søgaard <jensaxel at soegaard.net> wrote:
> 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"
> src="http://www.youtube.com/embed/J3WIPS3Uh_A?rel=0"
> frameborder="0"></iframe>
> In the PDF version, I'd like to use:
> @hyperlink["Mathematical Proofs: The Cosine Rule <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
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.