[racket] Reading bibtex files
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: read-entry:
Parsing entry, expected , or }, got #\return; label is
"hochreiter_long_1997"; atag is "pages"; aval is "1735--1780" @ line 9
column 0 byte 219
The offending bib entry, which is the first in the file, is:
@article{hochreiter_long_1997,
author = {Hochreiter, S. and Schmidhuber, J.},
title = {Long {Short-Term} Memory},
volume = {9},
number = {8},
journal = {Neural Computation},
year = {1997},
pages = {1735--1780}
}
but all other entries I tested alone failed too.
I tried adding "," after the pages, after the last "}", change {} to "",
but no success.
Do I use it incorrectly?
(Plus I'd like to use it in slideshow, if anyone has something for that...)
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120521/cb9452ee/attachment.html>