Re: [racket] Reading bibtex files

2012-05-28 Thread Laurent
Fantastic, thank you very much! Laurent On Mon, May 28, 2012 at 7:53 PM, Jay McCarthy wrote: > I just pushed a fix for all this. Including all the examples linked. > > However, it still doesn't support ()s as the entry delimiter as it should. > > Jay > > On Mon, May 21, 2012 at 4:07 PM, Laurent

Re: [racket] Reading bibtex files

2012-05-28 Thread Jay McCarthy
I just pushed a fix for all this. Including all the examples linked. However, it still doesn't support ()s as the entry delimiter as it should. Jay On Mon, May 21, 2012 at 4:07 PM, Laurent wrote: > > > On Tue, May 22, 2012 at 12:01 AM, Jay McCarthy > wrote: >> >> I'll get on it. As you know, B

Re: [racket] Reading bibtex files

2012-05-21 Thread Norman Gray
Jay, hello. On 2012 May 21, at 23:01, Jay McCarthy wrote: > I'll get on it. As you know, BibTex is a very poorly described format. > It can parse my humongous Bibtex file, but I haven't spent a ton of > tiny searching for problematic ones in the wild. This discussion prompted me to find a relat

Re: [racket] Reading bibtex files

2012-05-21 Thread Laurent
On Tue, May 22, 2012 at 12:01 AM, Jay McCarthy wrote: > I'll get on it. As you know, BibTex is a very poorly described format. > It can parse my humongous Bibtex file, but I haven't spent a ton of > tiny searching for problematic ones in the wild. > It parses mine too, except mostly for one thing

Re: [racket] Reading bibtex files

2012-05-21 Thread Jay McCarthy
I'll get on it. As you know, BibTex is a very poorly described format. It can parse my humongous Bibtex file, but I haven't spent a ton of tiny searching for problematic ones in the wild. Jay On Mon, May 21, 2012 at 10:15 AM, Danny Yoo wrote: > On Mon, May 21, 2012 at 11:42 AM, Danny Yoo wrote:

Re: [racket] Reading bibtex files

2012-05-21 Thread Danny Yoo
On Mon, May 21, 2012 at 11:42 AM, Danny Yoo wrote: > I think there's a bug in the library.  There appears to be a missing > call to (slurp-whitespace ip) in the parsing library.  I'll send a bug > report and a patch to the Racket developers.  A diff follows below for > those who like looking at pa

Re: [racket] Reading bibtex files

2012-05-21 Thread Laurent
Indeed, thank you all! It seems the lib is not very robust w.r.t. the very bad bibtex "standard". I think it should skip everything that does not begin with "@" outside entries, but instead wants only "@" and %-comments. Laurent On Mon, May 21, 2012 at 5:42 PM, Danny Yoo wrote: > I think there

Re: [racket] Reading bibtex files

2012-05-21 Thread Danny Yoo
I think there's a bug in the library. There appears to be a missing call to (slurp-whitespace ip) in the parsing library. I'll send a bug report and a patch to the Racket developers. A diff follows below for those who like looking at patch files. :) ##

Re: [racket] Reading bibtex files

2012-05-21 Thread Luke Vilnis
windows? >> -Ian >> - Original Message - >> From: Laurent >> To: Racket Mailing List >> Sent: Mon, 21 May 2012 09:46:54 -0400 (EDT) >> Subject: [racket] Reading bibtex files >> >> Hi, >> >> I would like to use scriblib/bibtex w

Re: [racket] Reading bibtex files

2012-05-21 Thread Laurent
looks like a crlf issue. Are you in > windows? > -Ian > - Original Message - > From: Laurent > To: Racket Mailing List > Sent: Mon, 21 May 2012 09:46:54 -0400 (EDT) > Subject: [racket] Reading bibtex files > > Hi, > > I would like to use scriblib/bibtex wh

[racket] Reading bibtex files

2012-05-21 Thread Laurent
Hi, I would like to use scriblib/bibtex which looks like a wonderful tool, but I can't seem to have it work: #lang racket (require scriblib/bibtex) (define-bibtex-cite "biblio.bib" ~cite citet generate-bibliography) fails with: ../../usr/lib/racket-5.3.0.8/collects/scriblib/bibtex.rkt:84:9