From b40f972564d42231d3fb4de562d4c33477e77d81 Mon Sep 17 00:00:00 2001 From: daniel watson Date: Thu, 17 Dec 2015 15:59:27 -0800 Subject: [PATCH] find path relative to file including image --- subdir/some-section.scrbl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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] -- 2.30.2