! \name이 완료되기 전에 단락이 끝났습니다.

! \name이 완료되기 전에 단락이 끝났습니다.

최근 집에서 texlive 패키지를 업그레이드했는데 참조로 인해 더 이상 문서를 컴파일할 수 없습니다. 이미 며칠 동안 Google에서 검색했지만 이 문제에 대한 최근 내용을 찾을 수 없습니다(가끔 팝업이 나타나는 것 같습니다). 내 항목의 대부분은 ADS에서 추출됩니다(특히 나에게 문제를 일으키는 항목).

다음은 이러한 번거로운 항목 중 하나를 포함하는 최소한의 항목입니다.

\documentclass[11pt]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{2013APh....50...26A,
  author = {{Abeysekara}, A.~U. and {Alfaro}, R. and {Alvarez}, C. and {{\'A}lvarez}, J.~D. and
    {Tollefson}, K. and {Torres}, I. and {Ukwatta}, T.~N. and {Villase{\~n}or}, L. and
    {Weisgarber}, T. and {Westerhoff}, S. and {Wisher}, I.~G. and
    {Wood}, J. and {Yodh}, G.~B. and {Younk}, P.~W. and {Zaborov}, D. and
    {Zepeda}, A. and {Zhou}, H.},
  title = "{Sensitivity of the high altitude water Cherenkov detector to sources of multi-TeV gamma rays}",
  journal = {Astroparticle Physics},
  archivePrefix = "arXiv",
  eprint = {1306.5800},
  primaryClass = "astro-ph.HE",
  keywords = {TeV gamma-ray astronomy, Water cherenkov, Cosmic ray},
    year = 2013,
  month = dec,
  volume = 50,
  pages = {26-32},
  doi = {10.1016/j.astropartphys.2013.08.002},
  adsurl = {http://adsabs.harvard.edu/abs/2013APh....50...26A},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
\end{filecontents}
\usepackage[language=english, style=numeric-comp, sorting=none, backend=biber, natbib=true, doi=false, bibencoding=utf8, isbn=false]{biblatex}
\addbibresource{\jobname}

\begin{document}
This is a simple document\cite{2013APh....50...26A}
\end{document}

내가 얻는 오류는 다음과 같습니다.

Runaway argument?
{{{hash=8b556f9238232cff536971111edddb4b}{family={{Abeysekara}}, fami\ETC.
! Paragraph ended before \name was complete.
<to be read again> 
               \par 
l.140   
?

문제는 중괄호 + 악센트 및 기타 '이상한 문자'의 조합에서 비롯된 것 같습니다.

저는 biber 2.10과 texlive 2017.45XXX(현재 archlinux 버전)를 사용하고 있습니다.

직장에서는 잘 작동하며 texlive 2017.44XXX 및 biber 2.7을 사용하고 있습니다.

내 texlive를 다운그레이드하는 것(추악한 솔루션) 외에 내가 할 수 있는 일은 무엇입니까?

답변1

같은 문제가 있었는데 지금 알아냈습니다.3개 이상의 수준 깊이로 중첩 중괄호가 아님.

@gusbrs가 알다시피 이름과 관련이 있지만 중괄호에 악센트가 있는 문자를 표시하려면 다른 수준의 중첩이 필요하기 때문입니다.

그래서 author = {{ÖKO} Friendly Company}, 작동하지만 author = {{{\"O}KO} Friendly Company},더 이상 작동하지 않습니다.

교정기가 균형을 이루더라도 오류가 있습니다. 그래서 author = {{{a}}},작동하지만 author = {{{a} {b}}},작동하지 않습니다.

마지막 표기법에서는 ! Paragraph ended before \name was complete.오류가 발생합니다.

가능한 많은 중괄호를 제거하고 이미 언급한 대로 utf8 인코딩을 사용하면 항목에 충분합니다.

주의: biber --tool -V *.bib그럴 거예요~ 아니다그것에 대해 경고합니다.

답변2

Egreg의 권장 사항은 매우 훌륭하지만 귀하의 상황을 이해하기 쉽습니다. 문제의 원인이 무엇인지 좁혀보려고 했더니, 알고 보니 이름 중 하나였습니다 {{\'A}lvarez}. 어쨌든 불균형한 중괄호가 있는 .bbl 파일이 생성되어 컴파일에 문제가 발생합니다. 일단 사용하고 나면 bibencoding=utf8이를 으로 변경 {Álvarez}하고 오류를 제거할 수 있습니다. 다른 문제가 있는 사례는 없지만 처음에 이중 중괄호가 문제를 일으키는 것 같습니다(왜 문제가 발생해야 하는지 이해하지 못하더라도). 이 경우 수정해야 할 인스턴스 수는 이미 훨씬 적습니다.

\documentclass[11pt]{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{2013APh....50...26A,
  author = {{Abeysekara}, A.~U. and {Alfaro}, R. and {Alvarez}, C. and {Álvarez}, J.~D. and {Tollefson}, K. and {Torres}, I. and {Ukwatta}, T.~N. and {Villase{\~n}or}, L. and {Weisgarber}, T. and {Westerhoff}, S. and {Wisher}, I.~G. and {Wood}, J. and {Yodh}, G.~B. and {Younk}, P.~W. and {Zaborov}, D. and {Zepeda}, A. and {Zhou}, H.},
  title = "{Sensitivity of the high altitude water Cherenkov detector to sources of multi-TeV gamma rays}",
  journal = {Astroparticle Physics},
  archivePrefix = "arXiv",
  eprint = {1306.5800},
  primaryClass = "astro-ph.HE",
  keywords = {TeV gamma-ray astronomy, Water cherenkov, Cosmic ray},
    year = 2013,
  month = dec,
  volume = 50,
  pages = {26-32},
  doi = {10.1016/j.astropartphys.2013.08.002},
  adsurl = {http://adsabs.harvard.edu/abs/2013APh....50...26A},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
\end{filecontents}
\usepackage[language=english, style=numeric-comp, sorting=none, backend=biber, natbib=true, bibencoding=utf8, doi=false, isbn=false]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
This is a simple document\cite{2013APh....50...26A}
\end{document}

답변3

성 주위의 (잘못된) 중괄호를 모두 제거하면 문제가 없습니다.

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@ARTICLE{2013APh....50...26A,
  author = {Abeysekara, A. U. and Alfaro, R. and Alvarez, C. and 
            {\'A}lvarez, J. D. and Tollefson, K. and Torres, I. and
            Ukwatta, T. N. and Villase{\ n}or, L. and Weisgarber, T. and
            Westerhoff, S. and Wisher, I. G. and
            Wood, J. and Yodh, G. B. and Younk, P. W. and Zaborov, D. and
            Zepeda, A. and Zhou, H.},
  title = {Sensitivity of the high altitude water {Cherenkov} detector to 
           sources of multi-{TeV} gamma rays},
  journal = {Astroparticle Physics},
  archivePrefix = {arXiv},
  eprint = {1306.5800},
  primaryClass = {astro-ph.HE},
  keywords = {TeV gamma-ray astronomy, Water cherenkov, Cosmic ray},
    year = 2013,
  month = dec,
  volume = 50,
  pages = {26-32},
  doi = {10.1016/j.astropartphys.2013.08.002},
  adsurl = {http://adsabs.harvard.edu/abs/2013APh....50...26A},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
\end{filecontents}

\usepackage[
  language=english,
  style=numeric-comp,
  sorting=none,
%  backend=biber,
  natbib=true,
  doi=false,
%  bibencoding=utf8,
  isbn=false
]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
This is a simple document~\cite{2013APh....50...26A}

\printbibliography
\end{document}

여기에 이미지 설명을 입력하세요

또한 이니셜 사이도 잘못되었습니다 ~. 인수에는 확장명이 \addbibresource포함되어야 합니다 .bib.

답변4

나에게 도움이 된 것에 대한 업데이트입니다(이전 답변 중 어느 것도 그렇지 않았기 때문에).필수의bibliography.bib필드, 특히 파일(또는 다른 파일)을 정의할 때 '' volume=중 하나 가 누락되어 @articlebiber가 일부 부적절한 구조를 생성하게 되었습니다.

TLDR: 필요하지 않더라도 참고문헌의 모든 필수 필드를 정의하는 데 주의를 기울이십시오(항상 이라고 쓸 수 있음 volume="").

관련 정보