As the title suggests, I'm using Mendeley as my reference manager (which automatically generates a .bib
file for the entire bibliography) and biblatex
with BibTeX as the backend to handle the bibliography. As I've seen in related threads, biblatex
wants the month field as in integer between 1 and 12; however Mendeley only exports months as the standard 3 letter BibTeX-compatible abbreviation. Bearing in mind that I can't really play around with the .bib
file as it's auto generated, is there any way I can get biblatex
to play nice with three letter abbreviated months? (N.B. it still compiles, just throws a lot of warnings)
MWE
\documentclass[a4paper,12pt]{report}
\usepackage[sorting=none,backend=bibtex]{biblatex}
\bibliography{mwebib}
\begin{document}
foo\cite{bar}
\printbibliography
\end{document}
With mwebib.bib
@article{bar,
archivePrefix = {arXiv},
arxivId = {astro-ph.IM/1107.4806},
author = {{The Pierre Auger Collaboration}},
eprint = {1107.4806},
journal = {ArXiv e-prints},
month = {jul},
primaryClass = {astro-ph.IM},
title = {{The Pierre Auger Observatory IV: Operation and Monitoring}},
year = {2011}
}
Best Answer
The standard BibTeX abbreviations should not be given in braces, but bare as in
only then does BibTeX understand their special meaning.
You can read a bit about this in Tame the Beast where we find (on p. 13)
There it is not that clear that the abbreviation needs to be give without braces or quotation marks.
on p. 44 it says
So
month = {jul},
is not the format recommended by Tame the Beast.Have a look at the following BibTeX example
The month wrapped in braces does not give the expected result.
The same holds if you use
biblatex
with the BibTeX back-end. The new back-end Biber is so clever that it can even deal with bracedmonth
fieldsSo the following MWE will give the expected output (with
backend=bibtex
though, it won't work as expected).Even though Biber has no problems with the file exported from Mendeley I still consider the export faulty, since BibTeX cannot properly deal with this.
So if you cannot change the
.bib
file and still want to get rid of the warnings you should try and use Biber.