I use \usepackage[english]{babel}, but I am keeping getting error:
Package babel Error: You haven't defined the language EN yet.
while parsing bibliography with \bibliographystyle{apsrev4-1} (curiously enough, for some other bibliography styles I don't get this problem).
I've discovered that in some bib entries there are lines
language = {en},
Changing en to english does solve the problem.
However, as I get the bib file generated from other tool (Mendeley) it would be annoying.
Is there a way to define language en as a synonym of english?
Note:
There is a similar question Unable to get rid of error babel: You haven't defined the language en yet?, but it is closed as unclear.
Example:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{natbib}
\bibliographystyle{apsrev4-1}
\usepackage{doi}
\begin{document}
\cite{Renyi1961}
\bibliography{notwrk}
\end{document}
And notwrk.bib
@inproceedings{Renyi1961,
author = {R\'{e}nyi, Alfr\'{e}d},
booktitle = {Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Contributions to the Theory of Statistics},
issn = {0097-0433},
language = {en},
publisher = {The Regents of the University of California},
title = {{On Measures of Entropy and Information}},
url = {http://projecteuclid.org/euclid.bsmsp/1200512181},
year = {1961}
}
enas a synonym ofenglish?"? In any case, as of now I am working on a phd thesis, so it would take me time to create a "minimal (not) working example". – Piotr Migdal Sep 03 '14 at 10:46