I'm running biber on a new MacBook Pro, and I am struggling to understand the errors I'm getting. When I try to run biber on a beamer handout, I get the following errors:
Running `Biber' on `handout' with ``biber handout''
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
INFO - This is Biber 2.12
INFO - Logfile is 'handout.blg'
INFO - Reading 'handout.bcf'
INFO - Found 0 citekeys in bib section 0
WARN - The file 'handout.bcf' does not contain any citations!
INFO - Writing 'handout.bbl' with encoding 'UTF-8'
INFO - Output to handout.bbl
INFO - WARNINGS: 1
Can anyone help me understand these? Here's an example of a test document
\documentclass[12pt,a4paper]{article} % or whatever
\usepackage[
backend=biber,
bibstyle=biblatex-langsci-unified,
useprefix=true,
citestyle=langsci-authoryear-comp,
maxcitenames=3,
maxbibnames=99]{biblatex}
\addbibresource{bib.bib}
\begin{document}
This is a test \parencite{kutschlojenga94}.
\printbibliography
\end{document}
And the bib.bib file contains
@Article{kutschlojenga94,
author = {Kutsch Lojenga, Constance},
title = {Kubudu},
subtitle = {A {Bantu} language with nine vowels},
journal = {African Languages},
year = 1994,
volume = 9,
pages = {127--34}}
UPDATE: Thanks to those that have been helping. I've added the \addbibresource{bib.bib}. After running LaTeX, biber, LaTeX, LaTeX the .blg file reads
[0] Config.pm:304> INFO - This is Biber 2.12
[0] Config.pm:307> INFO - Logfile is 'test.blg'
[47] biber-darwin:315> INFO - === Tue Jul 16, 2019, 10:29:52
[71] Biber.pm:371> INFO - Reading 'test.bcf'
[158] Biber.pm:889> INFO - Found 0 citekeys in bib section 0
[166] Utils.pm:193> WARN - The file 'test.bcf' does not contain any citations!
[173] bbl.pm:636> INFO - Writing 'test.bbl' with encoding 'UTF-8'
[173] bbl.pm:739> INFO - Output to test.bbl
[173] Biber.pm:110> INFO - WARNINGS: 1
The .tex, .bib, .blg, and .log files are available on github at https://github.com/JJSandstedt/Biber_issue_stack_exchange
en_DE.UTF-8
is a bit of an odd locale (the English spoken in Germany ...) and so it does not surprise me too much that the locale can not be found. A search foren_DE.UTF-8
leads to askubuntu.com/q/710955/57634, which explains what is going on. There is also stackoverflow.com/q/44243909 and stackoverflow.com/q/9991603 which mention some issues with locales specifically on a Mac. I don't have a Mac, so I can't test, but you may want to double check your system language/locale settings. ... – moewe Jun 17 '19 at 18:45export LANG=de_DE.UTF-8
. and then runbiber
in the same terminal. – user187802 Jun 18 '19 at 7:05en_DE.utf8
? – moewe Jun 25 '19 at 6:15