Scribble:   include text
include-text
1 Example
8.12

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.