Scribble:   include text
include-text
1 Example
8.16

Scribble: include text๐Ÿ”—โ„น

Put the full contents of one document into another.

syntax

(include-text filename)

Read the contents of the file filename into a syntax object and inject it into the current Scribble document.

Example:

side.scrbl
This file has some text,
and calls a @emph{Scribble} function,
and references a @|variable|.

top.scrbl
#lang scribble/manual
@require[scribble-include-text]
 
@title{Example}
 
@(define variable "cat")
 
@include-text{side.scrbl}
 
The end.

The section below is the rendered output.

1 Example๐Ÿ”—โ„น

This file has some text, and calls a Scribble function, and references a cat.

The end.