Open jiucenglou opened 1 month ago
JabRef puts the line @Comment{jabref-meta: databaseType:bibtex;} at the end of the bib by design. It seems lua-bibtex-parser does not parse this line, since print(#library.comments) prints 0.
@Comment{jabref-meta: databaseType:bibtex;}
lua-bibtex-parser
print(#library.comments)
0
The original BibTeX skips to the next @ character if it meets an @comment (see bibtex.web#L5485-L5494) and this Lua parser currently follows BibTeX.
@
@comment
JabRef puts the line
@Comment{jabref-meta: databaseType:bibtex;}
at the end of the bib by design. It seemslua-bibtex-parser
does not parse this line, sinceprint(#library.comments)
prints0
.