typst / biblatex

A Rust crate for parsing and writing BibTeX and BibLaTeX files.
Apache License 2.0
129 stars 17 forks source link

Improve error messages #47

Open LasseRosenow opened 10 months ago

LasseRosenow commented 10 months ago

When using typst, the error messages received by the biblatex crate are not good yet.

For example this code:

@article{asdf,
  month     = {Sep--Oct},
}

Produces the following error in typst:

Failed to parse BibLaTeX file (test.bib:1: invalid number)

In issue typst/typst#2849 I was informed, that this partially relies on the biblatex crate not yet being able to return good error messages.

This issues purpose is to track this :)