commit 9e662ec656ab9b87ef1328310b5e568cfdcc0826
parent a525409f9b10355ed938ae6f35e379d04dcc6563
Author: Matthew Flatt <mflatt@racket-lang.org>
Date: Wed, 1 Oct 2008 15:59:46 +0000
fix docs for bib-entry
svn: r11921
original commit: 6c2f070bb80a3fda26267730da577d10e72ae430
Diffstat:
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/collects/scribblings/scribble/manual.scrbl b/collects/scribblings/scribble/manual.scrbl
@@ -970,9 +970,9 @@ order as given}
@defproc[(bib-entry [#:key key string?]
[#:title title any/c]
[#:is-book? is-book? any/c #f]
- [#:author author any/c]
- [#:location location any/c]
- [#:date date any/c]
+ [#:author author any/c #f]
+ [#:location location any/c #f]
+ [#:date date any/c #f]
[#:url url any/c #f])
bib-entry?]{
@@ -990,18 +990,21 @@ the entry:
order (as opposed to ``last, first''), and separate multiple
names with commas using ``and'' before the last name (where
there are multiple names). The @scheme[author] is typeset in
- the bibliography as given.}
+ the bibliography as given, or it is omitted if given as
+ @scheme[#f].}
@item{@scheme[location] names the publication venue, such as a
conference name or a journal with volume, number, and
pages. The @scheme[location] is typeset in the bibliography as
- given.}
+ given, or it is omitted if given as @scheme[#f].}
@item{@scheme[date] is a date, usually just a year (as a string). It
- is typeset in the bibliography as given.}
+ is typeset in the bibliography as given, or it is omitted if
+ given as @scheme[#f].}
@item{@scheme[url] is an optional URL. It is typeset in the
- bibliography using @scheme[tt] and hyperlinked.}
+ bibliography using @scheme[tt] and hyperlinked, or it is
+ omitted if given as @scheme[#f].}
}}