@require[....]* to @(require ...*)

svn: r8269

original commit: cec8fbbd5f7190f7921b624b4878ad5c53f6c51b
This commit is contained in:
Matthew Flatt 2008-01-09 13:47:11 +00:00
parent 431bcb9055
commit 50b3a68191
10 changed files with 30 additions and 30 deletions

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require["utils.ss"] "utils.ss"
@require[(for-syntax scheme/base)] (for-syntax scheme/base))
@define-syntax[def-section-like @define-syntax[def-section-like
(syntax-rules () (syntax-rules ()

View File

@ -1,6 +1,6 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require["utils.ss"] "utils.ss")
@title[#:tag "decode"]{Decoding Text} @title[#:tag "decode"]{Decoding Text}

View File

@ -1,6 +1,6 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require["utils.ss"] "utils.ss")
@title[#:tag "doclang"]{Document Language} @title[#:tag "doclang"]{Document Language}

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require[scribble/bnf] scribble/bnf
@require["utils.ss"] "utils.ss")
@title[#:tag "docreader"]{Document Reader} @title[#:tag "docreader"]{Document Reader}

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual @(require scribble/manual
scribble/bnf] scribble/bnf
@require["utils.ss"] "utils.ss")
@title{How to Scribble Documentation} @title{How to Scribble Documentation}
@ -154,13 +154,13 @@ means
For more information on the syntax of @litchar["@"], see For more information on the syntax of @litchar["@"], see
@secref["reader"]. @secref["reader"].
In a document that starts @tt{#lang scribble/doc}, In a document that starts @hash-lang[] @schememodname[scribble/doc],
the top level is a text-mode sequence. The parsed sequence is further the top level is a text-mode sequence. The parsed sequence is further
decoded to turn it into a hierarchy of sections and paragraphs. For decoded to turn it into a hierarchy of sections and paragraphs. For
example, a linear sequence of @scheme[section] declarations with example, a linear sequence of @scheme[section] declarations with
interleaved text is turned into a list of @scheme[part] instances with interleaved text is turned into a list of @scheme[part] instances with
all text assigned to a particular part. See @secref["decode"] for more all text assigned to a particular part. See @secref["layers"] for more
information on the decoding process. information on these layers.
@; ---------------------------------------- @; ----------------------------------------
@section[#:tag "scheme-hyperlinks"]{Scheme Typesetting and Hyperlinks} @section[#:tag "scheme-hyperlinks"]{Scheme Typesetting and Hyperlinks}

View File

@ -3,7 +3,7 @@
scribble/bnf scribble/bnf
"utils.ss") "utils.ss")
@title{Scribble Layers} @title[#:tag "layers"]{Scribble Layers}
Scribble is made of independently usable parts. For example, the Scribble is made of independently usable parts. For example, the
Scribble reader can be used in any situation that requires lots of Scribble reader can be used in any situation that requires lots of

View File

@ -1,9 +1,9 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require[scribble/bnf] scribble/bnf
@require[scribble/eval] scribble/eval
@require["utils.ss"] "utils.ss"
@require[(for-syntax scheme/base)] (for-syntax scheme/base))
@(define read-eval (make-base-eval)) @(define read-eval (make-base-eval))
@interaction-eval[#:eval read-eval (require (for-syntax scheme/base))] @interaction-eval[#:eval read-eval (require (for-syntax scheme/base))]

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require["utils.ss"] "utils.ss"
@require[(for-label scheme/class)] (for-label scheme/class))
@(define-syntax-rule (defmodule/local lib . content) @(define-syntax-rule (defmodule/local lib . content)
(begin (begin

View File

@ -1,6 +1,6 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require["utils.ss"] "utils.ss")
@title[#:tag "scheme"]{Scheme} @title[#:tag "scheme"]{Scheme}

View File

@ -1,7 +1,7 @@
#lang scribble/doc #lang scribble/doc
@require[scribble/manual] @(require scribble/manual
@require[scribble/bnf] scribble/bnf
@require["utils.ss"] "utils.ss")
@title{@bold{Scribble}: PLT Documentation Tool} @title{@bold{Scribble}: PLT Documentation Tool}