[racket] Help generating PDF documents with Scribble

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 19 19:16:31 EDT 2013

At Thu, 14 Mar 2013 16:52:20 -0400, "George Rudolph" wrote:
> 2. Where/how can I set the option to use number-style in the bibliography?
> I assumed it was an option in (define-cite....), but I cannot figure out how
> to specify it correctly.

Yes, it's an option in `define-cite'.

Here's an example:

----------------------------------------

#lang scribble/base
@(require scriblib/autobib)

@(define-cite ~cite citet generate-bibliography 
              #:style number-style)

@(define a (make-bib #:author "Alpha" #:title "A" #:date 2013))
@(define b (make-bib #:author "Beta" #:title "B" #:date 2014))

@title{Example}

The first letter@~cite[a] and the second@~cite[b].

@generate-bibliography[]


Posted on the users mailing list.