
Ich habe das Problem, dass meine Arbeit quasi aus dem Nichts nicht mehr kompiliert wird, insbesondere das Literaturverzeichnis (ohne läuft es flüssig durch). Ich verwende classicthesis
ein Template, das ist ein richtiges Monster. Das Problem besteht allerdings auch weiterhin, wenn ich ein Minimalbeispiel mit der Standardklasse erstelle article
.
\documentclass[]{article}
\usepackage{csquotes}
\PassOptionsToPackage{%
backend=biber, % Instead of bibtex
%backend=bibtex,
%bibencoding=ascii,%
language=auto,%,
style=numeric-comp,%
%style=authoryear-comp, % Author 1999, 201
%bibstyle=ieeetr,dashed=false, % dashed: substitute rep. author with ---
%sorting=nyt, % name, year, title
maxbibnames=10, % default: 3, et al.
backref=true,%
natbib=true % natbib compatibility mode (\citep and \citet still work)
}{biblatex}
\usepackage[sorting=none]{biblatex}
%opening
\title{}
\author{}
\addbibresource{lib.bib}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\cite{Cleland2013}
\section{}
\end{document}
wobei die Bib-Datei einen einzelnen Eintrag hat:
@article{Cleland2013,
abstract = {Past, current and projected future population growth is outlined. Barring a calamitous pandemic, a further increase in the world's population from 7 to between 8.8 and 10 billion by mid-century is unavoidable. This increase is driven by high fertility in sub-Saharan Africa whose population is forecast to more than double in the next 40 years and by a modest rise of 23 % in Asia's huge population. Beyond mid-century, the range of plausible demographic destinations widens; much depends on fertility rates in the next few decades because they will determine the number of potential reproducers in the second half of the century. Vigorous promotion of family planning, particularly in Africa, is crucial to achievement of population stabilisation. Unchanged fertility implies a global population of 25 billion by the end of the century. In the next few decades the contribution of human population growth to global environmental change is moderate, because nearly all growth will occur in poor countries where consumption and emission of greenhouse gases is low. The implications for food production, and thereby water consumption, are greater. Much of the future need for food will be driven by increased numbers rather than changing diets. Loss of bio-diversity and natural habitats, degradation of fragile eco-systems due to over-exploitation and aquifer deletion are likely consequences. {\textcopyright} 2013 Springer Science+Business Media Dordrecht.},
author = {Cleland, John},
doi = {10.1007/s10640-013-9675-6},
issn = {0924-6460},
journal = {Environ. Resour. Econ.},
keywords = {Age structure,Contraception,Demographic transition,Fertility,Population growth,Population projections},
mendeley-groups = {thesis},
month = {aug},
number = {4},
pages = {543--554},
publisher = {Kluwer Academic Publishers},
title = {{World Population Growth; Past, Present and Future}},
url = {http://link.springer.com/10.1007/s10640-013-9675-6},
volume = {55},
year = {2013}
}
Ich kann das Problem nicht herausfinden und versuche es seit gestern. Die Fehlermeldung ist etwas mehrdeutig:
Zeile 23: File ended while scanning use of \field. \begin{document}
Zeile 27: Undefined control sequence. \begin{abstract}
Zeile 30: Missing number, treated as zero. \cite{Cleland2013}
Zeile 30: Missing number, treated as zero. \cite{Cleland2013}
Zeile 30: Missing number, treated as zero. \cite{Cleland2013}
Antwort1
Die vollständige Fehlermeldung, die man in der .log
Datei erhält, wenn man versucht, den Eintrag aus der Frage zu zitieren, ist ein klein wenig hilfreicher als die Zusammenfassung Ihres Redakteurs
(abstract-prob.bbl)
Runaway argument?
{Past, current and projected future population growth is outlined. Ba\ETC.
! File ended while scanning use of \field.
<inserted text>
\par
l.33 \begin{document}
Die Zeile über der Fehlermeldung gibt Ihnen einen Hinweis, wo genau Sie nach dem Übeltäter suchen müssen. Der zitierte Text "Früheres, aktuelles und prognostiziertes zukünftiges Bevölkerungswachstum wird dargelegt." ist der Anfang des abstract
Feldes in Ihrem Eintrag.
Ein genauerer Blick auf dieses Feld (Zeilenumbrüche zur besseren Lesbarkeit hinzugefügt)
abstract = {Past, current and projected future population growth is outlined.
Barring a calamitous pandemic, a further increase in the world's population
from 7 to between 8.8 and 10 billion by mid-century is unavoidable.
This increase is driven by high fertility in sub-Saharan Africa
whose population is forecast to more than double in the next 40 years
and by a modest rise of 23 % in Asia's huge population.
Beyond mid-century, the range of plausible demographic destinations widens;
much depends on fertility rates in the next few decades because
they will determine the number of potential reproducers in
the second half of the century.
Vigorous promotion of family planning, particularly in Africa,
is crucial to achievement of population stabilisation.
Unchanged fertility implies a global population of 25 billion
by the end of the century.
In the next few decades the contribution of human population
growth to global environmental change is moderate,
because nearly all growth will occur in poor countries
where consumption and emission of greenhouse gases is low.
The implications for food production,
and thereby water consumption, are greater.
Much of the future need for food will be driven by increased
numbers rather than changing diets.
Loss of bio-diversity and natural habitats,
degradation of fragile eco-systems due to over-exploitation
and aquifer deletion are likely consequences.
{\textcopyright} 2013 Springer Science+Business Media Dordrecht.},
zeigt, dass es ein nicht maskiertes %
Zeichen enthält.
Dieses Feld endet in der .bbl
Datei wie folgt (ohne Zeilenumbrüche)
\field{abstract}{Past, current and projected future population growth is outlined. Barring a calamitous pandemic, a further increase in the world's population from 7 to between 8.8 and 10 billion by mid-century is unavoidable. This increase is driven by high fertility in sub-Saharan Africa whose population is forecast to more than double in the next 40 years and by a modest rise of 23 % in Asia's huge population. Beyond mid-century, the range of plausible demographic destinations widens; much depends on fertility rates in the next few decades because they will determine the number of potential reproducers in the second half of the century. Vigorous promotion of family planning, particularly in Africa, is crucial to achievement of population stabilisation. Unchanged fertility implies a global population of 25 billion by the end of the century. In the next few decades the contribution of human population growth to global environmental change is moderate, because nearly all growth will occur in poor countries where consumption and emission of greenhouse gases is low. The implications for food production, and thereby water consumption, are greater. Much of the future need for food will be driven by increased numbers rather than changing diets. Loss of bio-diversity and natural habitats, degradation of fragile eco-systems due to over-exploitation and aquifer deletion are likely consequences. © 2013 Springer Science+Business Media Dordrecht.}
Wenn LaTeX %
beim Lesen des Feldinhalts abstract
aus der .bbl
Datei auf dieses Zeichen stößt, erhalten wir eine Fehlermeldung, da das %
Zeichen den Rest der Zeile in einen Kommentar umwandelt, was bedeutet, dass die schließende geschweifte Klammer }
am Ende des Felds nicht sichtbar ist.
Das führt dazu, dass
! File ended while scanning use of \field.
Fehler.
%
Die Lösung besteht darin, das Zeichen im abstrakten Feld durch zu ersetzen \%
.
Da die meisten Bibliographiestile das abstract
Feld ohnehin ignorieren, wäre es vielleicht eine bessere Idee, das Feld einfach .bib
vollständig aus der Datei zu entfernen.. (Dies kann von Biber im Handumdrehen erledigt werden, sieheFehler mit Prozentzeichen im Bib-Eingabefeld bei Verwendung von Biblatex/Biber, aber es istvielbesser, das Feld vollständig und direkt aus der Datei zu löschen .bib
.) Wenn Sie die Zusammenfassung benötigen, ist es theoretisch möglich, das %
s im laufenden Betrieb zu maskierenVerhindern, dass Biber in der Zusammenfassung an „%“-Zeichen erstickt?.