I use LaTexila with latexmk and pdflatex and bibtex.
But: Every now and then compiling fails, and obviously due to cites I insert. The following example breaks compilation alltogether, and I have no clue why.
\citep{moebius_2011}
With the following entry in my bib file. The bib entry comes from Zotero.
@book{moebius_2011,
address = {Wiesbaden},
title = {Kultur - Theorien der Gegenwart},
isbn = {3531167758 9783531167756},
language = {German},
publisher = {{VS}, Verlag für Sozialwissenschaften},
author = {Moebius, Stephan},
year = {2011}
}
If I comment the citation out, everything works.
Here are the relevant document classes:
\documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[german]{babel}
\usepackage{jurabib}
\usepackage{pdfpages}
\usepackage{microtype}
Plus the command for the bibliography:
\bibliographystyle{jurabib}
The relevant lines at the error log should be these:
! Missing number, treated as zero.
<to be read again>
\l@German
l.99 {{Moebius}{Stephan}{S.}{}{}} {} {}
\bibAnnoteFile {moebius_2011}
?
! Emergency stop.
<to be read again>
\l@German
l.99 {{Moebius}{Stephan}{S.}{}{}} {} {}
\bibAnnoteFile {moebius_2011}
End of file on the terminal!
Find a full version of the log at this Pastebin link
Best Answer
Your error is that you used
German
for the language in thebib
entry. You have to use a language whichbabel
knows. In your case:german
(old spelling) orngerman
(new spelling).The following MWE compiles for me (please use a similar MWE next time you ask here):
The hint for finding this error comes from your posted error message, see the part:
\l@German
. TheGerman
comes from the entry forlanguage
in yourbib
file.\l@German
is not defined, but\l@german
or\l@ngerman
are defined as a number. That's the reason for the error message you got:! Missing number, treated as zero.
As I knew is
jurabib
not longer maintained so you should think to change tobiblatex
andbiber
(already mentioned in the comment of @Timothée Poisot).