File 'english-ieee.lbx' not found! Ignoring mapping 'english' -> 'english-ieee'
File 'english-ieee.lbx' not found! Ignoring mapping 'english' -> 'english-ieee'
I believe an update has been made on biblatex
package in recent past. The following code gives Package biblatex Warning: File 'english-ieee.lbx' not found! Ignoring mapping 'english' -> 'english-ieee
warning which was not there a few weeks ago. Any suggestion on how to remove it please?
biblatex
Package biblatex Warning: File 'english-ieee.lbx' not found! Ignoring mapping 'english' -> 'english-ieee
% !TEX TS-program = pdfLaTeX
documentclass[12pt,a4paper]article
beginfilecontentsjobname.bib
@articleeinstein,
author = "Albert Einstein",
title = "Zur Elektrodynamik bewegter K"orper. (German)
[On the electrodynamics of moving bodies]",
journal = "Annalen der Physik",
volume = "322",
number = "10",
pages = "891--921",
year = "1905",
doi = "http://dx.doi.org/10.1002/andp.19053221004"
endfilecontents
usepackage[T1]fontenc % Use 8-bit encoding that has 256 glyphs
usepackageamsmath,amsfonts,amssymb
usepackage[%
style=ieee,
citestyle=numeric-comp,
sortcites=true,
natbib=true,
backend=bibtex,
]biblatex
addbibresourcejobname
begindocument
Einstein journal paper~citeeinstein.
printbibliography
enddocument
1 Answer
1
The warning is benign and can be ignored.
Since version 1.3 biblatex-ieee
comes with a Hungarian localisation file, see https://github.com/josephwright/biblatex-ieee/pull/40 (and the long discussion in https://github.com/plk/biblatex/issues/717 for background). This file is loaded with a generic DeclareLanguageMappingSuffix-ieee
and not with a specific DeclareLanguageMappingmagyarmagyar-ieee
. That means that all languages try to resolve the language mapping, but all languages except magyar
fail to find a corresponding -ieee.lbx
file.
biblatex-ieee
DeclareLanguageMappingSuffix-ieee
DeclareLanguageMappingmagyarmagyar-ieee
magyar
-ieee.lbx
It has been discussed whether or not this warning should be downgraded to an info message, but when this last was suggested I thought it more useful to have this message be a warning. See https://github.com/plk/biblatex/issues/745. At the time I thought that such a situation would not occur as often since I did not really expect styles with single localisation files, plus those styles could use an explicit mapping to avoid the warning. If this is a big problem, we may have to reconsider this decision. Comments are appreciated.
If you are very bothered by the warning you can suppress it with the silence
package:
silence
documentclassarticle
usepackagesilence
WarningFilterbiblatexFile 'english-ieee.lbx'
usepackage[style=ieee]biblatex
addbibresourcebiblatex-examples.bib
begindocument
Lorem citesigfridsson.
printbibliography
enddocument
Update
A while ago https://github.com/josephwright/biblatex-ieee/pull/43 was merged into biblatex-ieee
and so the style now uses an explicit
biblatex-ieee
DeclareLanguageMappingmagyarmagyar-ieee
instead of the catch-all
DeclareLanguageMappingSuffix-ieee
In the next release of biblatex-ieee
the warning should be gone.
biblatex-ieee
magyar
magyar
@Khaaba The Hungarian language needs special treatments of some fields that made it necessary to ship a
magyar-ieee.lbx
with biblatex-ieee
(you can read more about that in the links mentioned in the answer). As I explained the person who implemented this used the generic all-language mapping ``DeclareLanguageMappingSuffix-ieee` instead of a language specific DeclareLanguageMappingmagyarmagyar-ieee
mapping.– moewe
Sep 17 '18 at 9:12
magyar-ieee.lbx
biblatex-ieee
DeclareLanguageMappingmagyarmagyar-ieee
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy
Now I can understand why I received such a warning nowadays which were never there. However, I could not understand why it should be merged only with
magyar
language, rather there should be a way to putmagyar
or other languages with a problem free inclusion on English language (in my opinion).– Khaaba
Sep 17 '18 at 7:07