
내 논문이 더 이상 컴파일되지 않는다는 문제가 있습니다. 특히 참고문헌이 없으면 원활하게 진행됩니다. 나는 classicthesis
꽤 괴물인 템플릿을 사용한다. 그러나 표준 클래스를 사용하여 최소한의 예제를 만들면 문제가 지속됩니다 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}
여기서 bib 파일에는 단일 항목이 있습니다.
@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}
}
문제를 파악할 수 없습니다. 어제부터 시도했지만... 오류 메시지가 약간 모호합니다.
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}
답변1
질문의 항목을 인용하려고 할 때 파일에 표시되는 전체 오류 메시지는 .log
편집자의 요약보다 조금 더 유용합니다.
(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}
오류 메시지 위의 줄은 범인을 정확히 찾아야 하는 힌트를 제공합니다. 인용된 텍스트 "과거, 현재 및 예상 미래 인구 증가가 설명되어 있습니다." abstract
항목에 있는 필드 의 시작 부분입니다 .
해당 필드 자세히 살펴보기(가독성을 위해 줄 바꿈이 추가됨)
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.},
이스케이프 처리되지 않은 기호가 포함되어 있음을 보여줍니다 %
.
.bbl
이 필드는 파일에서 다음과 같이 끝납니다 (줄바꿈 없이).
\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.}
LaTeX가 파일에서 필드 %
의 내용을 읽는 동안 해당 기호를 발견하면 기호가 줄의 나머지 부분을 주석으로 바꾸므로 오류가 발생합니다 . 이는 필드 끝에 닫는 중괄호가 표시되지 않음을 의미합니다 .abstract
.bbl
%
}
그로 인해
! File ended while scanning use of \field.
오류.
해결책은 %
추상 필드의 부호를 \%
.
대부분의 참고문헌 스타일은 어쨌든 필드를 무시하므로 abstract
파일에서 필드를 .bib
완전히 제거하는 것이 더 나은 생각일 수 있습니다.. (이것은 Biber를 통해 즉석에서 수행될 수 있습니다.biblatex/biber를 사용할 때 턱받이 입력 필드에 백분율 기호 오류가 발생했습니다., 하지만 그것은많이파일 에서 필드를 .bib
완전하고 직접 삭제하는 것이 더 좋습니다.) 초록이 필요한 경우 이론적으로 %
s를 즉시 이스케이프하는 것이 가능합니다.추상의 "%" 문자로 인해 바이버가 질식하는 것을 방지하시겠습니까?.