There is a tool called biblint, which checks the quality of .bib files and fixes most of the typical bugs. However, it's not powerful enough. Would be great to extend it with semantic rules, to catch the bugs such as (on top of what biblint can catch):
The booktitle mentions the year
The names of authors are not abbreviated right (spaces and dots at wrong places)
Not all major words are capitalized in titles and booktitle
The title and booktitle must be in double parenthesis
The usage of inproceedings is wrong, b/c booktitle is missing
Single dash instead of triple dash is used in the title
First name of author is abbreviated to a single letter
Journal name is abbreviated, like CACM
Conference name is abbreviated, like OOPSLA
Maybe we can improve biblint or create a new one from scratch (let's call it bibcop). It should be a command line tool, which runs like this:
$ tlmgr install bibcop
$ bibcop my.bib
or
$ bibcop -a my.bib
where -a means --autofix.
Also, would be nice to have a LaTeX package, which would be the front-end of this linter. I should be able to use it inside my document:
\documentclass{article}
\bibliography{foo} % foo.bib is my file
\usepackage{bibcop} % here, a LaTeX warning will be issued for each problem in the .bib file
\begin{document}
Hello, world!
\end{document}
There is a tool called biblint, which checks the quality of
.bib
files and fixes most of the typical bugs. However, it's not powerful enough. Would be great to extend it with semantic rules, to catch the bugs such as (on top of what biblint can catch):booktitle
mentions the yeartitles
andbooktitle
title
andbooktitle
must be in double parenthesisinproceedings
is wrong, b/cbooktitle
is missingCACM
OOPSLA
Maybe we can improve biblint or create a new one from scratch (let's call it
bibcop
). It should be a command line tool, which runs like this:or
where
-a
means--autofix
.Also, would be nice to have a LaTeX package, which would be the front-end of this linter. I should be able to use it inside my document: