1 How to Scribble Documentation
2 Scribble Layers
3 @-Reader
4 Structures And Processing
5 Renderer
6 Decoding Text
7 Document Language
8 Document Reader
9 Basic Document Forms
10 Scheme
11 Manual Forms
12 Evaluation and Examples
13 BNF Grammars
14 Cross-Reference Utilities
15 Text Preprocessor
Index
On this page:
image
image/ plain
Version: 4.0.2

 

11.9 Images

(image

 

filename-relative-to-source

 

 

 

 

 

 

pre-element ...)

 

 

flow-element?

  filename-relative-to-source : string?

  pre-element : any/c

Creates a centered image from the given relative source path. The decoded pre-content serves as the alternate text for contexts where the image cannot be displayed.

The path is relative to the current directory, which is set by setup-plt and scribble to the directory of the main document file.

(image/plain

 

filename-relative-to-source

 

 

 

 

 

 

pre-element ...)

 

 

element?

  filename-relative-to-source : string?

  pre-element : any/c

Like image, but the result is an element to appear inline in a paragraph.