! 추가 } 또는 잊어버린 것입니다. 내 bbl 파일에

! 추가 } 또는 잊어버린 것입니다. 내 bbl 파일에

.tex파일은 다음과 같습니다.

\documentclass[a4paper, oneside, 12pt]{article}

\usepackage[style=nature, url=true]{biblatex}
\usepackage{hyperref}
\addbibresource{C:/library.bib}

\begin{document}
\cite{Kaplan2005}

\printbibliography

\end{document}

여기 내 .bbl파일이 있습니다:

% $ biblatex auxiliary file $
% $ biblatex bbl format version 3.0 $
% Do not modify the above lines!
%
% This is an auxiliary file used by the 'biblatex' package.
% This file may safely be deleted. It will be recreated by
% biber as required.
%
\begingroup
\makeatletter
\@ifundefined{[email protected]}
  {\@latex@error
     {Missing 'biblatex' package}
     {The bibliography requires the 'biblatex' package.}
      \aftergroup\endinput}
  {}
\endgroup


\refsection{0}
  \datalist[entry]{none/global//global/global}
    \entry{Kaplan2005}{incollection}{}
      \name{author}{2}{}{%
        {{hash=d7aa6cd4dd81f6a39f9e4ed67f086e5b}{%
           family={Kaplan},
           familyi={K\bibinitperiod},
           given={H.},
           giveni={H\bibinitperiod}}}%
        {{hash=5b840a8b71b2be7ce05d995becdf0667}{%
           family={Gurven},
           familyi={G\bibinitperiod},
           given={M.},
           giveni={M\bibinitperiod}}}%
      }
      \name{editor}{1}{}{%
        {{hash=7a12290827e9d3657d5103137b676795}{%
           family={{H. Gintis, S. Bowles}},
           familyi={H\bibinitperiod},
           given={R.\bibnamedelimi Boyd\bibnamedelimb {\&}\bibnamedelimb E.\bibnamedelimi Fehrs},
           giveni={R\bibinitperiod\bibinitdelim B\bibinitperiod\bibinitdelim \&}\bibinitperiod\bibinitdelim E\bibinitperiod\bibinitdelim F\bibinitperiod}}}%
      }
      \list{publisher}{1}{%
        {MIT Press}%
      }
      \strng{namehash}{481ebb51e63e034bd84329e6d6525632}
      \strng{fullhash}{481ebb51e63e034bd84329e6d6525632}
      \strng{bibnamehash}{481ebb51e63e034bd84329e6d6525632}
      \strng{authorbibnamehash}{481ebb51e63e034bd84329e6d6525632}
      \strng{authornamehash}{481ebb51e63e034bd84329e6d6525632}
      \strng{authorfullhash}{481ebb51e63e034bd84329e6d6525632}
      \strng{editorbibnamehash}{7a12290827e9d3657d5103137b676795}
      \strng{editornamehash}{7a12290827e9d3657d5103137b676795}
      \strng{editorfullhash}{7a12290827e9d3657d5103137b676795}
      \field{sortinit}{1}
      \field{sortinithash}{2174f786c6195e7fe2ee1c229b416e29}
      \field{labelnamesource}{author}
      \field{labeltitlesource}{shorttitle}
      \field{annotation}{From Duplicate 2 ( The natural history of human food sharing and cooperation: a review and a new multi-individual approach to the negotiation of norms - Kaplan, H.; Gurven, M. )}
      \field{booktitle}{Moral sentiments and material interests: The foundations of cooperation in economic life}
      \field{shorttitle}{The natural history of human food sharing and coop}
      \field{title}{{The Natural History of Human Food Sharing and Cooperation : A Review and a New Multi-Individual Approach to the Negotiation of Norms}}
      \field{year}{2005}
      \field{pages}{75\bibrangedash 113}
      \range{pages}{39}
      \verb{file}
      \verb :C$\backslash$:/Users/Kaplan, Gurven - 2005 - The Natural History of Human Food Sharing and Cooperation A Review and a New Multi-Individual Approach to the N.pdf:pdf
      \endverb
      \verb{urlraw}
      \verb http://www.anth.ucsb.edu/faculty/gurven/papers/kaplangurven.pdf
      \endverb
      \verb{url}
      \verb http://www.anth.ucsb.edu/faculty/gurven/papers/kaplangurven.pdf
      \endverb
    \endentry
  \enddatalist
\endrefsection
\endinput

컴파일하려고 하면 오류가 발생합니다.

! Extra }, or forgotten \endgroup.` on line 41.

위 코드의 .bbl바로 위 줄인 파일 의 41번째 줄을 말하는 것 같습니다 .\list{publisher}{1}{%

그렇다면 왜 거기에 추가가 있습니까 }? 내 파일은 Mendeley 앱에 의해 자동으로 생성되며 Mendeley의 참조 세부정보에는 .bib추가 정보가 없습니다 . }그런 다음 .bblTeXmaker에서 명령을 사용하여 파일을 생성합니다 biber %.

답변1

LaTeX는 41행에서 오류를 보고하지만 이는 오류가 명백하게 드러나는 부분에서만 나타납니다. 진짜 문제는 그 이전에 있다. 40번째 줄에는 다음이 .bbl포함되어 있습니다.

giveni={R\bibinitperiod\bibinitdelim B\bibinitperiod\bibinitdelim \&}\bibinitperiod\bibinitdelim E\bibinitperiod\bibinitdelim F\bibinitperiod}}}%

중괄호를 세면 괄호가 \&여는 괄호를 닫는 것을 알 수 있습니다 giveni={. 해당 줄에 있는 다음 닫는 괄호는 의도한 것보다 한 그룹을 일찍 닫습니다. 이는 41번 줄의 닫는 괄호에 닫을 그룹이 남아 있지 않음을 의미합니다.

파일 내용을 보면 에 대한 항목에 다음과 유사한 필드가 포함되어 있음 .bbl을 알 수 있습니다 ..bibKaplan2005editor

editor = {{H. Gintis, S. Bowles}, R. Boyd {\&} E. Fehrs},

이름 필드에 여러 이름을 지정하는 것은 잘못된 형식입니다. 이름은 으로 구분되어야 하므로 and올바른 입력은 다음과 같습니다.

editor = {H. Gintis and S. Bowles and R. Boyd and E. Fehrs},

예를 들어 참조bibtex 파일에 여러 작성자를 올바르게 작성하는 방법은 무엇입니까?.


또한 title항목 필드 는 .bib대략 다음과 같습니다.

title = {{The Natural History of Human Food Sharing and Cooperation :
          A Review and a New Multi-Individual Approach to the Negotiation of Norms}}

아마도 제목에 WYSIWYG 대소문자 보호를 적용하기 위해 이중 중괄호가 있는 것 같습니다. 나는 그것이 나쁜 습관이라고 믿습니다. 제목이 문장 케이스로 변환되는 것을 원하지 않으면 문장 케이스를 적용하지 않는 스타일을 사용하거나 스타일을 중단하도록 지시하십시오.

\DeclareFieldFormat{titlecase}{#1}

문장의 경우에도 소문자로 쓰면 안되는 단어(고유명사 등)만 보호해야 합니다. 또한보십시오BibTeX는 .bbl 파일을 생성할 때 대문자를 잃습니다.그리고참고문헌 데이터베이스에 제목을 저장할 때 사용할 적절한 대소문자는 무엇입니까?.

콜론 앞의 공백은 영어 타이포그래피에서도 일반적이지 않습니다(그러나 프랑스어에서는 아니지만 거기에서도 줄 바꿈이 이상하게 나오지 않도록 해야 합니다. 현재는 콜론 앞에 줄 바꿈을 허용합니다).

관련 정보