commit 7146e7130ccbee88fafcde4b2fa85ca645092039
parent 4f3fb99093714660b18309db99c0fb0405954bd4
Author: Robby Findler <robby@racket-lang.org>
Date: Tue, 19 May 2009 19:21:48 +0000
svn: r14873
original commit: 237b2252491c0bafba6532f26f06d779795e0f51
Diffstat:
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/collects/scribblings/scribble/lp.scrbl b/collects/scribblings/scribble/lp.scrbl
@@ -58,9 +58,17 @@ provides core support for literate programming.}
chunks. Normally, @scheme[id] starts with @litchar{<} and ends with
@litchar{>}.
- If @scheme[id] is @schemeidfont{<*>}, then this chunk is used as the main
- chunk in the file. If @schemeidfont{<*>} is never used, then the first chunk
- in the file is treated as the main chunk.
+ When running a scribble program only the code inside the
+ chunks is run; the rest is ignored.
+
+ If @scheme[id] is @schemeidfont{<*>}, then this chunk is
+ used as the main chunk in the file. If @schemeidfont{<*>}
+ is never used, then the first chunk in the file is treated
+ as the main chunk. If some chunk is not referenced from
+ the main chunk (possibly indirectly via other chunks that
+ the main chunk references), then it is not included in the
+ program and thus is not run.
+
}
@section{@schememodname[scribble/lp-include] Module}