adjust `scriblib/gui-eval' docs

since it's no longer needed for `racket/draw' images

original commit: 8e289018c8c3f56336417d6b0d41b7d3ca68f4b5
This commit is contained in:
Matthew Flatt 2011-04-04 10:43:38 -06:00
parent c9595e0a7a
commit 09a020b547

View File

@ -1,15 +1,16 @@
#lang scribble/manual #lang scribble/manual
@(require (for-label scribble/eval scriblib/gui-eval)) @(require (for-label scribble/eval scriblib/gui-eval))
@title[#:tag "gui-eval"]{Writing Examples with Pict Results} @title[#:tag "gui-eval"]{Examples Using the GUI Toolbox}
@defmodule[scriblib/gui-eval]{The @defmodule[scriblib/gui-eval]{The
@schememodname[scriblib/gui-eval] library support example @schememodname[scriblib/gui-eval] library support example
evaluations with results that are @schememodname[slideshow] picts.} evaluations that use @schememodname[racket/gui] facilities (as opposed
to just @racketmodname[racket/draw]) to generate text and image results.}
The trick is that @schememodname[racket/gui] is not generally The trick is that @schememodname[racket/gui] is not generally
available when rendering documentation, because it requires a GUI available when rendering documentation, because it requires a GUI
context. The picture output is rendered to an image file when the context. Text and image output is rendered to an image file when the
@envvar{MREVAL} environment variable is set, so run the enclosing @envvar{MREVAL} environment variable is set, so run the enclosing
document once with the environment varibale to generate the document once with the environment varibale to generate the
images. Future runs (with the environment variable unset) use the images. Future runs (with the environment variable unset) use the