► |  | 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

top ← prev up next →

##### 4.2.13`` Manual Rendering Style

Using #lang scribble/manual for the main part of a document associates style properties on the doc export to select the Racket manual style for rendering.

A html-defaults style property is added to doc, unless doc’s style already has a html-defaults style property (e.g., supplied to title). Similarly, a latex-default style property is added if one is not already present. Finally, an css-style-addition property is always added.

For HTML rendering:

- The document’s prefix file is set to "scribble-prefix.html", as usual, in html-defaults.

- The document’s style file is set to "manual-style.css" from the "scribble" collection in html-defaults.

- The file "manual-files.css" from the "scribble" collection is designated as an additional accompanying file in html-defaults.

- The file "manual-racket.css" from the "scribble" collection is added as a css-style-addition.

To obtain this configuration without using #lang scribble/manual, use manual-doc-style.

top ← prev up next →