
Tengo el problema de que más o menos de la nada mi tesis ya no recopila, concretamente la bibliografía (sin ella corre fluida). Yo uso classicthesis
plantilla, que es todo un monstruo. Sin embargo, el problema también persiste si hago un ejemplo mínimo con la article
clase estándar.
\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}
donde el archivo dorsal tiene una única entrada:
@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}
}
No puedo resolver el problema, lo he estado intentando desde ayer... el mensaje de error es un poco ambiguo:
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}
Respuesta1
El mensaje de error completo que aparece en el .log
archivo al intentar citar la entrada de la pregunta es un poquito más útil que el resumen de su editor.
(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}
La línea encima del mensaje de error le da una pista de dónde exactamente debe buscar al culpable. El texto citado "Se describe el crecimiento demográfico pasado, actual y futuro proyectado". es el comienzo del abstract
campo en su entrada.
Una mirada más cercana a ese campo (se agregaron saltos de línea para mayor legibilidad)
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.},
muestra que contiene un %
signo sin escape.
Este campo termina en el .bbl
archivo de la siguiente manera (sin saltos de línea)
\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.}
Cuando LaTeX encuentra ese %
signo mientras lee el contenido del abstract
campo del .bbl
archivo, obtenemos un error porque el %
signo convierte el resto de la línea en un comentario, lo que significa que no se ve la llave de cierre }
al final del campo.
Eso provoca que
! File ended while scanning use of \field.
error.
La solución es escapar del %
signo en el campo abstracto a \%
.
Dado que la mayoría de los estilos de bibliografía ignoran el abstract
campo de todos modos, podría ser una mejor idea simplemente eliminar el campo del .bib
archivo por completo.. (Esto lo puede hacer Biber sobre la marcha, verError con el signo de porcentaje en el campo de entrada del dorsal al utilizar biblatex/biber, pero esmuchoes mejor eliminar el campo del .bib
archivo completa y directamente). Si necesita el resumen, en teoría es posible escapar del %
s sobre la marcha.¿Evitar que Biber se ahogue con los caracteres "%" en abstracto?.