If I delete all the newlines and spaces (aside from spaces around &quot;=&quot; signs) it works... Maybe there&#39;s some feature to ignore whitespace?<br><br><div class="gmail_quote">On Mon, May 21, 2012 at 10:36 AM, Laurent <span dir="ltr">&lt;<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(replying to list)<br><br>Thanks, that was a good idea,  but conversion to unix format (I&#39;m on linux) did not help unfortunately.<br>
Now the message is &quot;...got #\newline;...&quot; instead.<br><br>Laurent<br><br><div class="gmail_quote">

On Mon, May 21, 2012 at 4:28 PM, J. Ian Johnson <span dir="ltr">&lt;<a href="mailto:ianj@ccs.neu.edu" target="_blank">ianj@ccs.neu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Not a user of this library, but this looks like a crlf issue. Are you in windows?<br>
<span><font color="#888888">-Ian<br>
</font></span><div><div class="h5"><div><div>----- Original Message -----<br>
From: Laurent &lt;<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>&gt;<br>
To: Racket Mailing List &lt;<a href="mailto:users@lists.racket-lang.org" target="_blank">users@lists.racket-lang.org</a>&gt;<br>
Sent: Mon, 21 May 2012 09:46:54 -0400 (EDT)<br>
Subject: [racket] Reading bibtex files<br>
<br>
Hi,<br>
<br>
I would like to use scriblib/bibtex which looks like a wonderful tool, but<br>
I can&#39;t seem to have it work:<br>
<br>
#lang racket<br>
(require scriblib/bibtex)<br>
<br>
(define-bibtex-cite<br>
  &quot;biblio.bib&quot;<br>
  ~cite citet generate-bibliography)<br>
<br>
fails with:<br>
<br>
../../usr/lib/racket-5.3.0.8/collects/scriblib/bibtex.rkt:84:9: read-entry:<br>
Parsing entry, expected , or }, got #\return; label is<br>
&quot;hochreiter_long_1997&quot;; atag is &quot;pages&quot;; aval is &quot;1735--1780&quot; @ line 9<br>
column 0 byte 219<br>
<br>
The offending bib entry, which is the first in the file, is:<br>
@article{hochreiter_long_1997,<br>
    author = {Hochreiter, S. and Schmidhuber, J.},<br>
    title = {Long {Short-Term} Memory},<br>
    volume = {9},<br>
    number = {8},<br>
    journal = {Neural Computation},<br>
    year = {1997},<br>
    pages = {1735--1780}<br>
}<br>
<br>
but all other entries I tested alone failed too.<br>
I tried adding &quot;,&quot; after the pages, after the last &quot;}&quot;, change {} to &quot;&quot;,<br>
but no success.<br>
<br>
Do I use it incorrectly?<br>
<br>
(Plus I&#39;d like to use it in slideshow, if anyone has something for that...)<br>
<br>
Laurent<br>
<br>
</div></div></div></div></blockquote></div><br>
<br>____________________<br>
  Racket Users list:<br>
  <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br>