[racket] Help generating PDF documents with Scribble

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Mar 21 16:37:41 EDT 2013

I guess that `scribble --pdf' normally works for you, and

     scribble --latex example_paper2.scrbl

similarly hangs?

Does interrupting Scribble with Ctl-C provide a stack trace?

At Thu, 21 Mar 2013 16:30:48 -0400, "George Rudolph" wrote:
> Matt,
> I am running Racket 5.3.1 on Windows 7.
> 
> When I include the style parameter as you have shown, either in your document 
> or mine:
> 1. command line 
>         scribble example_paper2.scrbl
>     generates the expected html document.
> 2. command line
>     scribble --pdf example_paper2.scrbl
> hangs.
> 
> George
> 
> -----Original Message-----
> From: Matthew Flatt [mailto:mflatt at cs.utah.edu] 
> Sent: Tuesday, March 19, 2013 7:17 PM
> To: George Rudolph
> Cc: users at racket-lang.org
> Subject: Re: [racket] Help generating PDF documents with Scribble
> 
> 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[]
> 
> 
> 
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users

Posted on the users mailing list.