use deprecated from manual for teachpacks

This commit is contained in:
Matthias Felleisen 2012-04-28 13:19:09 -04:00
parent 2992fa122d
commit f95798c7b5
3 changed files with 9 additions and 18 deletions

View File

@ -11,9 +11,10 @@
The teachpack provides two sets of functions: one for drawing into a canvas The teachpack provides two sets of functions: one for drawing into a canvas
and one for reacting to canvas events. and one for reacting to canvas events.
@bold{Warning:} @emph{This teachpack is deprecated. Unless you're solving exercises @deprecated[(list @racketmodname[2htdp/image] " (probably in conjunction with " @racketmodname[2htdp/universe] ")")]{
taken from @emph{How To Design Programs}, we strongly encourage You may continue to use the library for solving exercises
you to use the world teachpack instead; see @secref{world}.} from @emph{How To Design Programs, First Edition} but do consider
switching to @link["http://www.ccs.neu.edu/home/matthias/HtDP2e/"]{How To Design Programs, Second Edition} instead.}
@section[#:tag "drawing"]{Drawing on a Canvas} @section[#:tag "drawing"]{Drawing on a Canvas}

View File

@ -6,8 +6,8 @@
@defmodule[#:require-form beginner-require htdp/image] @defmodule[#:require-form beginner-require htdp/image]
@italic{This teachpack is deprecated. Please use @racketmodname[2htdp/image] for @deprecated[@racketmodname[2htdp/image]]{For the foreseeable time, we will
any new code.} continue to support the teachpack for your existing programs.}
The teachpack provides functions for constructing and manipulating The teachpack provides functions for constructing and manipulating
images. Basic, colored images are created as outlines or solid images. Basic, colored images are created as outlines or solid

View File

@ -12,19 +12,9 @@
@defmodule[#:require-form beginner-require htdp/world #:use-sources (htdp/image)] @defmodule[#:require-form beginner-require htdp/world #:use-sources (htdp/image)]
@(make-table (make-with-attributes 'centered @deprecated[@racketmodname[2htdp/universe]]{
`((cellspacing . "6") For guidance on how to convert your @racketmodname[htdp/world] programs
(height . "600") to use @racketmodname[2htdp/universe], see @secref[#:tag-prefixes '("2htdp")]{htdp-port}}
(width . "70%")))
(list (list (list (make-paragraph
(list "This teachpack is deprecated. Use "
(racketmodname 2htdp/universe)
" instead. See the"
" " (secref "htdp-port"
#:tag-prefixes '("2htdp")
;#:doc '(lib "teachpack/teachpack.scrbl")
)
" section for information on how to adapt old code to the new teachpack."))))))
@emph{Note}: For a quick and educational introduction to the teachpack, see @emph{Note}: For a quick and educational introduction to the teachpack, see
@link["http://www.ccs.neu.edu/home/matthias/HtDP/Prologue/book.html"]{How @link["http://www.ccs.neu.edu/home/matthias/HtDP/Prologue/book.html"]{How