On Fri, Feb 15, 2013 at 3:36 PM, David Van Horn <dvanh...@ccs.neu.edu> wrote:
> On 2/15/13 3:34 PM, Matthew Flatt wrote:
>>
>> #lang scribble/base
>>
>>   @(define (fig name)
>>      (collection-file-path name "book" "figures"))
>>
>>   @image[#:suffixes '(".png" ".pdf") (fig "quick-lists1")]
>
>
> Excellent!  Thank you, this works (I figured I was making things worse than
> they had to be, but man is it intimidating when you start reading about
> paths in the docs).

If this works, then the docs need some clarification. I'm not exactly
sure what, or I'd do it, but the docs for `image` say: "The path
argument also can be a result of path->main-collects-relative."

Sam
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to