more scribble layers edits

svn: r8248

original commit: 315dc915f53a31455e747f67d15aa16b96ada293
This commit is contained in:
Matthew Flatt 2008-01-07 14:26:55 +00:00
parent 9b95d8fc0c
commit c274ee270d

View File

@ -29,6 +29,7 @@ A module written as
@verbatim[#<<EOS @verbatim[#<<EOS
#lang scribble/doc #lang scribble/doc
@(require scribble/manual)
@(define to-be "To Be") @(define to-be "To Be")
@ -43,6 +44,7 @@ reads as
@schemeblock[ @schemeblock[
(module #,(nonterm "name") scribble/doc (module #,(nonterm "name") scribble/doc
(require scribble/manual)
"\n" "\n"
(define to-be "To Be") "\n" (define to-be "To Be") "\n"
"\n" "\n"
@ -60,7 +62,9 @@ into a document bound to the provided identifier @scheme[doc]. That
is, the module is transformed to something like this: is, the module is transformed to something like this:
@schemeblock[ @schemeblock[
(module #,(nonterm "name") scribble/doc (module #,(nonterm "name") scheme/base
(require scribble/decode
scribble/manual)
(define to-be "To Be") (define to-be "To Be")
(define doc (define doc
(decode (decode
@ -101,9 +105,9 @@ The value bound to @scheme[doc] in the example above is something like
....) ....)
] ]
Notice that @litchar{'tis} in the input has turned into Notice that the @litchar{'} in the input's @litchar{'tis} has turned
@scheme['rsquo] (a curly apostrophe) followed by @scheme["tis"]. The into @scheme['rsquo] (a curly apostrophe). The conversion to use
conversion to use @scheme['rsquo] was performed by @scheme[decode] via @scheme['rsquo] was performed by @scheme[decode] via
@scheme[decode-flow] via @scheme[decode-paragraph] via @scheme[decode-flow] via @scheme[decode-paragraph] via
@scheme[decode-content] via @scheme[decode-string]. @scheme[decode-content] via @scheme[decode-string].