typst/biblatex

Error when encountering bibtex comments

m-haug opened this issue · 1 comments

I have created a biblatex bibliography file in JabRef and would like to use hayagriva to format reference lists from that. However, with the new version 0.2.1 of hayagriva, I get the following error message:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: [Parse(ParseError { span: 98803..98803, kind: Expected(Comma) })]'

The line indicated by the error span is

@Comment{jabref-meta: databaseType:biblatex;}

which is valid bibtex syntax.

I believe biblatex needs to be updated to support bibtex's @Comment syntax. Previously, with hayagriva version 0.1.1, there was no issue.

Seems to be fixed with biblatex 0.8.0 and hayagriva 0.3.0.