► |  | Scribble: PLT Documentation Tool

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

▼ | 11 | Manual Forms

11.1 | Typesetting Code
11.2 | Documenting Modules
11.3 | Documenting Forms, Functions, Structure Types, and Values
11.4 | Documenting Classes and Interfaces
11.5 | Documenting Signatures
11.6 | Various String Forms
11.7 | Links
11.8 | Indexing
11.9 | Images
11.10 | Bibliography
11.11 | Miscellaneous
11.12 | Index-Entry Descriptions

On this page:

image
image/ plain

Version: 4.1.4
top← prev up next →

#### 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.

When generating Latex output, if the filename has a ".gif" suffix, then the suffix is changed to ".png" (so a PNG file must exist in addition to the GIF 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.

top← prev up next →