Excellent!<br>Great job Matthew!<br><br><div class="gmail_quote">On Sat, Nov 27, 2010 at 15:54, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
In the latest development version:<br>
<br>
The `slideshow/pict' library no longer depends on `racket/gui' --- just<br>
`racket/draw', which can be used without a GUI display (e.g., an X<br>
connection).<br>
<br>
<br>
Scribble now renders picts directly for HTML or PDF output. The<br>
document source<br>
<br>
#lang scribble/base<br>
@(require slideshow/face)<br>
<br>
@title{Faces}<br>
<br>
@section{Happy}<br>
<br>
@(face 'happy "yellow")<br>
<br>
@section{Not So Happy}<br>
<br>
@(face 'unhappy "lightblue")<br>
<br>
produces what you'd expect.<br>
<br>
<br>
More precisely, Scribble renders values that are convertible to PNG<br>
(and optionally PDF format) via the new `file/convertible' protocol.<br>
The protocol is simple, but the indirection keeps Scribble from<br>
depending directly on the pict library or vice versa. Plain `bitmap%'s<br>
are convertible to PNG, too, so a bitmap in a Scribble document renders<br>
as its image.<br>
<br>
As an example, the "Quick" document now mostly uses the plain<br>
`interaction' form with an evaluator that has `slideshow/pict' loaded.<br>
In the Slideshow docs, some ASCII art in the description of the pict<br>
datatype has been replaced by a real picture (that is implemented as a<br>
pict, of course).<br>
<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/users" target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
</blockquote></div><br>