[racket] Racket website "Generate HTML or PDF" example.

From: Harry Spier (vasishtha.spier at gmail.com)
Date: Tue May 1 21:06:24 EDT 2012

On the Racket website "Start Quickly" section there is an example to
generate an HTML or PDF page through Scribble.

#lang scribble/base
@; Generate a PDF or HTML document
@title{Bottles --- @italic{Abridged}}
@(apply itemlist
  (for/list ([n (in-range 100 0 -1)])
    @item{@(format "~a" n) bottles.}))

When I load this into DrRacket a button comes up in DrRacket "Scribble
HTML" which when pressed causes an HTML page to be displayed in my
browser but how do I use this code to create a PDF page.


Posted on the users mailing list.