bkyk8rc3zvpnsf5inmcqq4n3k98cv6hj-my-site-hyper-literate-git.test.suzanne.soy-0.0.1

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b65585a126348e186a255a2d0daf86596515d81d
parent 8e4e2e3405fa5eae17da4bc1ca2071d44951ea99
Author: Asumu Takikawa <asumu@ccs.neu.edu>
Date:   Tue, 16 Dec 2014 16:58:25 -0500

Add an example showing how to cite a page/section

Diffstat:
Mscribble-doc/scriblib/scribblings/autobib.scrbl | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/scribble-doc/scriblib/scribblings/autobib.scrbl b/scribble-doc/scriblib/scribblings/autobib.scrbl @@ -37,6 +37,16 @@ function. See below for an example. @(generate-bibliography) }| +For citations that reference a page number or section, the @racket[in-bib] +function can be used. For example, the following snippet: + +@codeblock[#:keep-lang-line? #f]|{ + #lang scribble/base + Racket has a contract library.@~cite[(in-bib plt-tr1 ", ยง8")] +}| + +includes a citation to section 8 of the Racket reference. + @defform/subs[(define-cite ~cite-id citet-id generate-bibliography-id option ...) ([option (code:line #:style style-expr)