projects
/
ozzloy@gmail.com
/
scribble-multiple-dir-example
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
find path relative to file including image
[ozzloy@gmail.com/scribble-multiple-dir-example]
/
subdir
/
some-section.scrbl
diff --git
a/subdir/some-section.scrbl
b/subdir/some-section.scrbl
index 58c20f044c1da9a8b58a64d90b9e8d1564a28f2e..7ec082b8e411e994b3f0901780de06acf8857f00 100644
(file)
--- 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]