From: daniel watson Date: Thu, 17 Dec 2015 23:59:27 +0000 (-0800) Subject: find path relative to file including image X-Git-Url: http://challenge-bot.com/repos/?p=ozzloy%40gmail.com%2Fscribble-multiple-dir-example;a=commitdiff_plain find path relative to file including image --- diff --git a/subdir/some-section.scrbl b/subdir/some-section.scrbl index 58c20f0..7ec082b 100644 --- a/subdir/some-section.scrbl +++ b/subdir/some-section.scrbl @@ -1,4 +1,6 @@ #! /usr/bin/env racket #lang scribble/base +@require[racket/runtime-path] -@image{image.png} +@define-runtime-path[image-path]{image.png} +@image[image-path]