<div dir="ltr">I gave this a try and I'm just getting "???" in the image docs. Below is my change to the image library. Does anyone know where the ???s come from?<div><br></div><div>Robby</div><div><br></div>
<div><div>☕  git diff | cat</div><div>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</div><div>index 8a625611..d66c922 100644</div>
<div>--- a/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl</div><div>+++ b/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image-guide.scrbl</div><div>@@ -12,7 +12,9 @@</div><div>           "img-eval.rkt"</div>
<div>           scribble/decode</div><div>           scribble/manual</div><div>-          scribble/eval)</div><div>+          scribble/eval</div><div>+          scribble/core</div><div>+          scribble/html-properties)</div>
<div> </div><div> @(define guide-eval (make-img-eval))</div><div> </div><div>@@ -35,8 +37,8 @@</div><div> @(interaction-eval #:eval guide-eval </div><div>                    (require racket/list racket/local))</div><div> </div>
<div>-</div><div>-@title[#:tag "image-guide"]{Image Guide}</div><div>+@title[#:style (style "svg" (list (render-pict-as 'svg-images)))</div><div>+               #:tag "image-guide"]{Image Guide}</div>
<div> </div><div> This section introduces the @racketmodname[2htdp/image] library</div><div> through a series of increasingly complex image constructions</div><div>diff --git a/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image.scrbl b/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image.scrbl</div>
<div>index 9c7d447..6f3cb39 100644</div><div>--- a/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image.scrbl</div><div>+++ b/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings/image.scrbl</div><div>@@ -34,7 +34,7 @@</div>
<div>      (img-eval '(extra-margin 0))))</div><div>      </div><div> </div><div>-@teachpack["image"]{Images}</div><div>+@teachpack[#:svg? #t "image"]{Images}</div><div> </div><div> @(define mode/color-and-nitty-text</div>
<div>    (make-splice</div><div>diff --git a/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt b/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt</div><div>index 82ade26..b2c1b40 100644</div><div>
--- a/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt</div><div>+++ b/pkgs/htdp-pkgs/htdp-doc/teachpack/htdp/scribblings/shared.rkt</div><div>@@ -1,12 +1,17 @@</div><div> #lang racket/base</div><div> </div><div>
-(require scribble/manual)</div><div>+(require scribble/manual </div><div>+         scribble/core</div><div>+         scribble/html-properties)</div><div> </div><div> (provide teachpack</div><div>          beginner-require)</div>
<div> </div><div>-(define (teachpack tp . name)</div><div>+(define (teachpack #:svg? [svg? #f] tp . name)</div><div>   (apply title #:tag tp</div><div>+         #:style (if svg? </div><div>+                     (style "svg" (list (render-pict-as 'svg-images)))</div>
<div>+                     #f)</div><div>          `(,@name ": " ,(filepath (format "~a.rkt" tp))</div><div>            ,(index (format "~a teachpack" tp)))))</div><div> </div><div>☕  [robby@yanpu] ~/git/plt/pkgs/htdp-pkgs/htdp-doc/teachpack/2htdp/scribblings</div>
<div>☕  </div></div><div><br></div></div>