From 38b0906e48281739ff7fb5a800e3b1ccb9e7d3a1 Mon Sep 17 00:00:00 2001 From: Robby Findler Date: Sun, 10 Nov 2013 15:40:57 -0600 Subject: [PATCH] use now renamed render-convertible-as --- .../htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl | 5 +++-- .../htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl b/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl index c7f71db800..480156466b 100644 --- a/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl +++ b/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl @@ -48,8 +48,9 @@ (only-in racket/draw bitmap%) racket/class)) -@title[#:style (style "svg" (list (render-pict-as 'svg-images))) - #:tag "image-guide"]{Image Guide} +@title[#:style + (style #f (list (render-convertible-as '(svg-bytes png-bytes)))) + #:tag "image-guide"]{Image Guide} This section introduces the @racketmodname[2htdp/image] library through a series of increasingly complex image constructions diff --git a/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt b/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt index b2c1b408d0..dd788cd6f6 100644 --- a/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt +++ b/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt @@ -10,7 +10,7 @@ (define (teachpack #:svg? [svg? #f] tp . name) (apply title #:tag tp #:style (if svg? - (style "svg" (list (render-pict-as 'svg-images))) + (style #f (list (render-convertible-as '(svg-bytes png-bytes)))) #f) `(,@name ": " ,(filepath (format "~a.rkt" tp)) ,(index (format "~a teachpack" tp)))))