find path relative to file including image master
authordaniel watson <ozzloy@gmail.com>
Thu, 17 Dec 2015 23:59:27 +0000 (15:59 -0800)
committerdaniel watson <ozzloy@gmail.com>
Thu, 17 Dec 2015 23:59:27 +0000 (15:59 -0800)
subdir/some-section.scrbl

index 58c20f044c1da9a8b58a64d90b9e8d1564a28f2e..7ec082b8e411e994b3f0901780de06acf8857f00 100644 (file)
@@ -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]