Fantastic, thank you very much!<br><br>Laurent<br><br><div class="gmail_quote">On Mon, May 28, 2012 at 7:53 PM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com" target="_blank">jay.mccarthy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I just pushed a fix for all this. Including all the examples linked.<br>
<br>
However, it still doesn't support ()s as the entry delimiter as it should.<br>
<span class="HOEnZb"><font color="#888888"><br>
Jay<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, May 21, 2012 at 4:07 PM, Laurent <<a href="mailto:laurent.orseau@gmail.com">laurent.orseau@gmail.com</a>> wrote:<br>
><br>
><br>
> On Tue, May 22, 2012 at 12:01 AM, Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>><br>
> wrote:<br>
>><br>
>> I'll get on it. As you know, BibTex is a very poorly described format.<br>
>> It can parse my humongous Bibtex file, but I haven't spent a ton of<br>
>> tiny searching for problematic ones in the wild.<br>
><br>
><br>
> It parses mine too, except mostly for one thing: anything except @...<br>
> outside bib entries should be treated as comments.<br>
> With that it would be sufficient for me (my file is generated by Mendeley<br>
> which always adds some comments at the top).<br>
><br>
> Thanks!<br>
> Laurent<br>
><br>
><br>
>><br>
>><br>
>> Jay<br>
>><br>
>> On Mon, May 21, 2012 at 10:15 AM, Danny Yoo <<a href="mailto:dyoo@hashcollision.org">dyoo@hashcollision.org</a>><br>
>> wrote:<br>
>> > On Mon, May 21, 2012 at 11:42 AM, Danny Yoo <<a href="mailto:dyoo@hashcollision.org">dyoo@hashcollision.org</a>><br>
>> > wrote:<br>
>> >> I think there's a bug in the library. There appears to be a missing<br>
>> >> call to (slurp-whitespace ip) in the parsing library. I'll send a bug<br>
>> >> report and a patch to the Racket developers. A diff follows below for<br>
>> >> those who like looking at patch files. :)<br>
>> ><br>
>> > Until the library gets patched, here's a possible workaround: put the<br>
>> > trailing "}" on the same line, like this:<br>
>> ><br>
>> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%<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>
>> ><br>
>> > The bug involves the parser not properly discarding the whitespace<br>
>> > right after reading the value "{1735--1780}".<br>
>> ><br>
>> ><br>
>> > I agree with you that the parser needs to be a bit better. It does<br>
>> > not currently follow the description in:<br>
>> ><br>
>> ><br>
>> > <a href="http://artis.imag.fr/%7EXavier.Decoret/resources/xdkbibtex/bibtex_summary.html" target="_blank">http://artis.imag.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html</a><br>
>> ><br>
>> > so it will reject some bibtex files that it shouldn't.<br>
>> ><br>
>> ><br>
>> ><br>
>> > I've submitted the bug report as:<br>
>> ><br>
>> > <a href="http://bugs.racket-lang.org/query/?cmd=view&pr=12779" target="_blank">http://bugs.racket-lang.org/query/?cmd=view&pr=12779</a><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>
>><br>
>><br>
>> --<br>
>> Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
>> Assistant Professor / Brigham Young University<br>
>> <a href="http://faculty.cs.byu.edu/%7Ejay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
>><br>
>> "The glory of God is Intelligence" - D&C 93<br>
><br>
><br>
<br>
<br>
<br>
--<br>
Jay McCarthy <<a href="mailto:jay@cs.byu.edu">jay@cs.byu.edu</a>><br>
Assistant Professor / Brigham Young University<br>
<a href="http://faculty.cs.byu.edu/%7Ejay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>
"The glory of God is Intelligence" - D&C 93<br>
</div></div></blockquote></div><br>