minor layout and prose style adjustments
This commit is contained in:
parent
5ab18e0db8
commit
74d3c5fa99
|
@ -9,22 +9,26 @@
|
||||||
|
|
||||||
@defmodule[scriblib/bibtex]
|
@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[
|
@racketblock[
|
||||||
(begin
|
(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
|
(define-bibtex-cite* bib-pth
|
||||||
autobib-cite autobib-citet
|
autobib-cite autobib-citet
|
||||||
~cite-id citet-id))]
|
~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.
|
Parses @racket[bib-pth] as a BibTeX database, and augments
|
||||||
|
@racket[autobib-cite] and @racket[autobib-citet] into
|
||||||
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.
|
@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.
|
Each string is broken along spaces into citations keys that are looked up in the BibTeX database and turned into @racket[bib?] structures.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user