From 74d3c5fa997755c3c9ea3903f2cfb4cf4671180b Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 26 Mar 2015 13:36:29 -0600 Subject: [PATCH] minor layout and prose style adjustments --- scribble-doc/scriblib/scribblings/bibtex.scrbl | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scribble-doc/scriblib/scribblings/bibtex.scrbl b/scribble-doc/scriblib/scribblings/bibtex.scrbl index c89853ab..80464e54 100644 --- a/scribble-doc/scriblib/scribblings/bibtex.scrbl +++ b/scribble-doc/scriblib/scribblings/bibtex.scrbl @@ -9,22 +9,26 @@ @defmodule[scriblib/bibtex] -@defform[(define-bibtex-cite bib-pth ~cite-id citet-id generate-bibliography-id . options)]{ +@defform[(define-bibtex-cite bib-pth ~cite-id citet-id generate-bibliography-id + option ...)]{ -This expands into: +Expands into: @racketblock[ (begin - (define-cite autobib-cite autobib-citet generate-bibliography-id . options) + (define-cite autobib-cite autobib-citet generate-bibliography-id + option ...) (define-bibtex-cite* bib-pth autobib-cite autobib-citet ~cite-id citet-id))] } -@defform[(define-bibtex-cite* bib-pth autobib-cite autobib-citet ~cite-id citet-id)]{ +@defform[(define-bibtex-cite* bib-pth autobib-cite autobib-citet + ~cite-id citet-id)]{ -Parses @racket[bib-pth] as a BibTeX database. - -Augments @racket[autobib-cite] and @racket[autobib-citet] into @racket[~cite-id] and @racket[citet-id] functions so that rather than accepting @racket[bib?] structures, they accept citation key strings. +Parses @racket[bib-pth] as a BibTeX database, and augments +@racket[autobib-cite] and @racket[autobib-citet] into +@racket[~cite-id] and @racket[citet-id] functions so that rather than +accepting @racket[bib?] structures, they accept citation key strings. Each string is broken along spaces into citations keys that are looked up in the BibTeX database and turned into @racket[bib?] structures.