[racket-dev] Scribble: feature request - module paths for image

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Fri Feb 15 15:36:24 EST 2013

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).

David


Posted on the dev mailing list.