adjust document names
svn: r7968
This commit is contained in:
parent
6b2be05771
commit
a559a710d4
|
@ -4,7 +4,7 @@
|
||||||
(require scribble/manual)
|
(require scribble/manual)
|
||||||
]
|
]
|
||||||
|
|
||||||
@title{PLT DrScheme: Programming Environment Manual}
|
@title{@bold{DrScheme}: PLT Programming Environment Manual}
|
||||||
|
|
||||||
Nothing yet.
|
Nothing yet.
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
(define (item/cap x . ys) (apply item (bold (format "~a" x)) ": " ys)) ;; indexing missing
|
(define (item/cap x . ys) (apply item (bold (format "~a" x)) ": " ys)) ;; indexing missing
|
||||||
|
|
||||||
]
|
]
|
||||||
@title{PLT Plugins: DrScheme Extension Manual}
|
@title{@bold{Plugins}: Extending DrScheme}
|
||||||
|
|
||||||
@section{This Manual}
|
@section{This Manual}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
(require scribble/manual)
|
(require scribble/manual)
|
||||||
]
|
]
|
||||||
|
|
||||||
@title{PLT Framework: GUI Application Framework}
|
@title{@bold{Framework}: PLT GUI Application Framework}
|
||||||
|
|
||||||
Nothing yet.
|
Nothing yet.
|
||||||
|
|
||||||
|
|
|
@ -1527,10 +1527,10 @@
|
||||||
s)
|
s)
|
||||||
s))
|
s))
|
||||||
|
|
||||||
(define (secref s #:doc [doc #f])
|
(define (secref s #:underline? [u? #t] #:doc [doc #f])
|
||||||
(make-link-element #f null `(part ,(doc-prefix doc s))))
|
(make-link-element (if u? #f "plainlink") null `(part ,(doc-prefix doc s))))
|
||||||
(define (seclink tag #:doc [doc #f] . s)
|
(define (seclink tag #:underline? [u? #t] #:doc [doc #f] . s)
|
||||||
(make-link-element #f (decode-content s) `(part ,(doc-prefix doc tag))))
|
(make-link-element (if u? #f "plainlink") (decode-content s) `(part ,(doc-prefix doc tag))))
|
||||||
(define (*schemelink stx-id id . s)
|
(define (*schemelink stx-id id . s)
|
||||||
(make-link-element #f (decode-content s) (or (register-scheme-definition stx-id)
|
(make-link-element #f (decode-content s) (or (register-scheme-definition stx-id)
|
||||||
(format "--UNDEFINED:~a--" (syntax-e stx-id)))))
|
(format "--UNDEFINED:~a--" (syntax-e stx-id)))))
|
||||||
|
|
|
@ -390,6 +390,11 @@
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plainlink {
|
||||||
|
text-decoration: none;
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
.techlink {
|
.techlink {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: black;
|
color: black;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#lang scribble/doc
|
#lang scribble/doc
|
||||||
@(require "utils.ss")
|
@(require "utils.ss")
|
||||||
|
|
||||||
@title{PLT Foreign Interface Manual}
|
@title{@bold{FFI}: PLT Foreign Interface}
|
||||||
|
|
||||||
@defmodule[scheme/foreign]
|
@defmodule[scheme/foreign]
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@require["common.ss"]
|
@require["common.ss"]
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "scribblings/gui/gui.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/gui/gui.scrbl")
|
||||||
#:tag "top"]{PLT Scheme GUI: MrEd}
|
#:tag "top"]{@bold{GUI}: PLT Graphics Toolkit}
|
||||||
|
|
||||||
@declare-exporting[scheme/gui/base scheme/gui]
|
@declare-exporting[scheme/gui/base scheme/gui]
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@require["guide-utils.ss"]
|
@require["guide-utils.ss"]
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "scribblings/guide/guide.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/guide/guide.scrbl")
|
||||||
#:tag "top"]{A Guide to PLT Scheme}
|
#:tag "top"]{@bold{Guide}: PLT Scheme}
|
||||||
|
|
||||||
This guide is intended for programmers who are new to Scheme, new to PLT
|
This guide is intended for programmers who are new to Scheme, new to PLT
|
||||||
Scheme, or new to some part of PLT Scheme. It assumes
|
Scheme, or new to some part of PLT Scheme. It assumes
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@(require "utils.ss")
|
@(require "utils.ss")
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "scribblings/inside/inside.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/inside/inside.scrbl")
|
||||||
#:tag "top"]{Inside PLT Scheme}
|
#:tag "top"]{@bold{Inside}: PLT Scheme C API}
|
||||||
|
|
||||||
This manual describes PLT Scheme's C interface, which allows the
|
This manual describes PLT Scheme's C interface, which allows the
|
||||||
interpreter to be extended by a dynamically-loaded library, or
|
interpreter to be extended by a dynamically-loaded library, or
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#lang scribble/doc
|
#lang scribble/doc
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "quick.scrbl" "scribblings/quick")
|
@title[#:tag-prefix '(lib "quick.scrbl" "scribblings/quick")
|
||||||
#:tag "top"]{An Introduction to PLT Scheme with Pictures}
|
#:tag "top"]{@bold{Quick}: An Introduction to PLT Scheme with Pictures}
|
||||||
|
|
||||||
@; ----------------------------------------------------------------------
|
@; ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
@require["mz.ss"]
|
@require["mz.ss"]
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "scribblings/reference/reference.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/reference/reference.scrbl")
|
||||||
#:tag "top"]{PLT Scheme Reference}
|
#:tag "top"]{@bold{Reference}: PLT Scheme}
|
||||||
|
|
||||||
This manual defines the core PLT Scheme language and describes its
|
This manual defines the core PLT Scheme language and describes its
|
||||||
most prominent libraries. The companion manual @|Guide| provides a
|
most prominent libraries. The companion manual @|Guide| provides a
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
@require["utils.ss"]
|
@require["utils.ss"]
|
||||||
|
|
||||||
@title[#:tag-prefix '(lib "scribblings/scribble/scribble.scrbl")
|
@title[#:tag-prefix '(lib "scribblings/scribble/scribble.scrbl")
|
||||||
#:tag "top"]{Scribble}
|
#:tag "top"]{@bold{Scribble}: PLT Documentation Tool}
|
||||||
|
|
||||||
The @filepath{scribble} collection provides libraries that can be used to
|
The @filepath{scribble} collection provides libraries that can be used to
|
||||||
create documents from Scheme.
|
create documents from Scheme.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
@define[paper-url "http://www.cs.utah.edu/plt/publications/jfp05-ff.pdf"]
|
@define[paper-url "http://www.cs.utah.edu/plt/publications/jfp05-ff.pdf"]
|
||||||
|
|
||||||
@title{Slideshow}
|
@title{@bold{Slideshow}: PLT Figure and Presentation Tools}
|
||||||
|
|
||||||
Slideshow is a library for creating presentation slides. Unlike
|
Slideshow is a library for creating presentation slides. Unlike
|
||||||
Powerpoint, Slideshow provides no WYSIWYG interface for constructing
|
Powerpoint, Slideshow provides no WYSIWYG interface for constructing
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
(resolve "gui")
|
(resolve "gui")
|
||||||
'blank))
|
'blank))
|
||||||
|
|
||||||
|
(define ending-ones
|
||||||
|
(list 'blank
|
||||||
|
(resolve "foreign")
|
||||||
|
(resolve "inside")))
|
||||||
|
|
||||||
(let* ([dirs (find-relevant-directories '(scribblings))]
|
(let* ([dirs (find-relevant-directories '(scribblings))]
|
||||||
[infos (map get-info/full dirs)]
|
[infos (map get-info/full dirs)]
|
||||||
[docs (apply append
|
[docs (apply append
|
||||||
|
@ -40,7 +45,7 @@
|
||||||
(list (make-flow (list (make-paragraph (list
|
(list (make-flow (list (make-paragraph (list
|
||||||
(if (eq? doc 'blank)
|
(if (eq? doc 'blank)
|
||||||
(hspace 1)
|
(hspace 1)
|
||||||
(secref #:doc doc "top"))))))))])
|
(secref #:doc doc #:underline? #f "top"))))))))])
|
||||||
|
|
||||||
(make-delayed-flow-element
|
(make-delayed-flow-element
|
||||||
(lambda (renderer part resolve-info)
|
(lambda (renderer part resolve-info)
|
||||||
|
@ -49,12 +54,14 @@
|
||||||
(append (map line initial-ones)
|
(append (map line initial-ones)
|
||||||
(sort
|
(sort
|
||||||
(map line
|
(map line
|
||||||
(remove* initial-ones
|
(remove* (append initial-ones
|
||||||
(remove (resolve "start")
|
ending-ones)
|
||||||
docs)))
|
(remove (resolve "start")
|
||||||
|
docs)))
|
||||||
(lambda (a b)
|
(lambda (a b)
|
||||||
(let ([a (car (paragraph-content (car (flow-paragraphs (car a)))))]
|
(let ([a (car (paragraph-content (car (flow-paragraphs (car a)))))]
|
||||||
[b (car (paragraph-content (car (flow-paragraphs (car b)))))])
|
[b (car (paragraph-content (car (flow-paragraphs (car b)))))])
|
||||||
(string-ci<? (element->string a renderer part resolve-info)
|
(string-ci<? (element->string a renderer part resolve-info)
|
||||||
(element->string b renderer part resolve-info))))))))))
|
(element->string b renderer part resolve-info)))))
|
||||||
|
(map line ending-ones))))))
|
||||||
]
|
]
|
||||||
|
|
|
@ -307,21 +307,21 @@ with some syntactic and name changes.
|
||||||
|
|
||||||
(define-struct posn (x y)) ; does not declare `set-posn-x!'
|
(define-struct posn (x y)) ; does not declare `set-posn-x!'
|
||||||
|
|
||||||
Specify the #:mutable optional for either the entire structure type
|
Specify the #:mutable optional for either the entire structure type
|
||||||
or an individual field:
|
or an individual field:
|
||||||
|
|
||||||
(define-struct posn (x y)
|
(define-struct posn (x y)
|
||||||
#:mutable) ; => `set-posn-x!' and `set-posn-x!'
|
#:mutable) ; => `set-posn-x!' and `set-posn-x!'
|
||||||
(define-struct posn ([x #:mutable] y) ; => just `set-posn-x!'
|
(define-struct posn ([x #:mutable] y) ; => just `set-posn-x!'
|
||||||
|
|
||||||
Use the #:inspector option to specify an inspector, such as
|
Use the #:inspector option to specify an inspector, such as
|
||||||
specifying #f to make the structure type tranparent:
|
specifying #f to make the structure type tranparent:
|
||||||
|
|
||||||
(define-struct posn (x y) #:inspector #f)
|
(define-struct posn (x y) #:inspector #f)
|
||||||
|
|
||||||
Other keyword options such as #:property and #:procedure enable
|
Other keyword options such as #:property and #:procedure enable
|
||||||
`define-struct' to reflect all of the funtionality of the underlying
|
`define-struct' to reflect all of the funtionality of the
|
||||||
`make-struct-type' function.
|
underlying `make-struct-type' function.
|
||||||
|
|
||||||
* One-armed `if' is prohibited; use `when', instead.
|
* One-armed `if' is prohibited; use `when', instead.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user