Closed Denubis closed 1 year ago
Thanks for you feedback. I think it's the same issue as #18. The infinite loop error should be fixed in 2c747da.
However the provided .bib example is still not fully correctly parsed. I'll look into it.
[
{
"citation-key": "haltest",
"id": "haltest",
"type": "chapter"
}
]
@Denubis I've rewritten the BibTeX parser with lpeg
(c720941) and the provided example parses correctly. See https://github.com/zepinglee/citeproc-lua/blob/52d6e3bd7e0574d2f54e0fcf0a1ccee86f41e532/test/bibtex_test.lua#L664-L715.
In a very long .bib, my colleague has collected many items. One item had two keys in it:
When I run this in texlive 2022 (on overleaf, but it's been reproduced outside), it fails to compile with a timeout.
When I remove those two keys, it runs.
Here is a MWE: