► |  | Scribble: The Racket Documentation Tool

1 | Getting Started
2 | @ Syntax
3 | High-Level Scribble API
4 | Scribbling Documentation
5 | Literate Programming
6 | Low-Level Scribble API
7 | Running scribble
| Index

► | 4 | Scribbling Documentation

4.1 | Getting Started with Documentation
4.2 | Manual Forms
4.3 | Racket
4.4 | Evaluation and Examples
4.5 | In-Source Documentation
4.6 | BNF Grammars
4.7 | Compatibility Libraries

▼ | 4.2 | Manual Forms

4.2.1 | Typesetting Code
4.2.2 | Documenting Modules
4.2.3 | Documenting Forms, Functions, Structure Types, and Values
4.2.4 | Documenting Classes and Interfaces
4.2.5 | Documenting Signatures
4.2.6 | Various String Forms
4.2.7 | Links
4.2.8 | Indexing
4.2.9 | Bibliography
4.2.10 | Version History
4.2.11 | Miscellaneous
4.2.12 | Index-Entry Descriptions
4.2.13 | Manual Rendering Style

On this page:

indexed-racket
indexed-scheme
idefterm
pidefterm
indexed-file
indexed-envvar

top ← prev up next →

##### 4.2.8`` Indexing

See also Indexing for scribble/base.

> syntax (indexed-racket datum ...)

A combination of racket and as-index, with the following special cases when a single datum is provided:

- If datum is a quote form, then the quote is removed from the key (so that it’s sorted using its unquoted form).

- If datum is a string, then quotes are removed from the key (so that it’s sorted using the string content).

> syntax (indexed-scheme datum ...)

Compatibility alias for indexed-racket.

> procedure (idefterm pre-content ...) → element?
> pre-content : pre-content?

Combines as-index and defterm. The content normally should be plural, rather than singular. Consider using deftech, instead, which always indexes.

> procedure (pidefterm pre-content ...) → element?
> pre-content : pre-content?

Like idefterm, but plural: adds an “s” on the end of the content for the index entry. Consider using deftech, instead.

> procedure (indexed-file pre-content ...) → element?
> pre-content : pre-content?

A combination of file and as-index, but where the sort key for the index iterm does not include quotes.

> procedure (indexed-envvar pre-content ...) → element?
> pre-content : pre-content?

A combination of envvar and as-index.
top ← prev up next →