typst / biblatex

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

Allow parsing of "raw" numbers in bibliographic entries #10

Closed emarsden closed 3 years ago

emarsden commented 3 years ago

For example, entry fields such as "year = 2021".

This syntax is accepted by standard bibtex tools. In the current code, such entries are parsed correctly to a RawEntry, but numbers are taken as a RawChunk::Abbreviation so don't get pulled into an Entry struct.

reknih commented 3 years ago

These changes look great, thanks for contributing!

I'll push a release with them next week since I'm on the road right now.