Something that was also bothering me was that each time you called to_bibtex_string or to_biblatex_string it generated a different output, because the fields of each entry were being iterated on in random order. So, I made two extra methods that take a vec of &str's specifying the ordering of the fields. For example, if the vec is vec!["title", "author"] the functions will place the title and author fields first, and order the rest alphabetically.
Something that was also bothering me was that each time you called
to_bibtex_string
orto_biblatex_string
it generated a different output, because the fields of each entry were being iterated on in random order. So, I made two extra methods that take a vec of &str's specifying the ordering of the fields. For example, if the vec isvec!["title", "author"]
the functions will place the title and author fields first, and order the rest alphabetically.