缺少 \endcsname 插入错误

缺少 \endcsname 插入错误

我收到一个错误,我已确定该错误源自我的 bib 文件中的某个特定条目。在我从 natbib 和 BibTeX 工作流程转移到 BibLaTeX 和 biber 后,出现了此错误。

我有多个引文导致此错误,我已确定这是由于%参考书目中的内容必须像这样转义\%。然而,对于似乎没有列出的任何特殊字符的引文,问题仍然存在这里我已经看过这里但我无法用这个找到任何隐藏的字符工具

main.tex内容:

\documentclass[margin=2cm,varwidth]{standalone}

\usepackage[backend=biber,sorting=nty,style=apa,backref=true]{biblatex}
\addbibresource{main.bib}

\begin{document}

\cite{Casey2017}
\printbibliography

\end{document}

终端输出:

line 45: Missing \endcsname inserted. \cite{Casey2017}
line 49: Missing \endcsname inserted.
: Rerun to get /PageLabels entry.
line 49: Overfull \hbox (20.45493pt too wide) in paragraph
: There were undefined references.
: Please (re)run Biber on the file:(biblatex) main(biblatex) and rerun LaTeX afterwards.

main.bib仅包含有问题的参考书目:

@Article{Casey2017,
  author     = {Casey, Michael},
  journal    = {Texas Conference on Digital Libraries (TCDL), 2017, Austin, Texas, United States},
  title      = {Why {Media Preservation Can't} {Wait:} {The Gathering Storm}},
  year       = {2017},
  month      = may,
  abstract   = {This presentation explores the time-based media preservation problem, detailing how the forces of degradation along with rapidly advancing obsolescence issues taken together result in a short time window in which to digitally preserve audio, video and film collections. Using a fairytale as a framework, it introduces a character named Degralescence that embodies the major forces that threaten to undermine media preservation efforts. It also proposes a timeframe within which action must be taken to avoid losing the opportunity to affordably preserve large holdings of media recordings. Using the Indiana University collections and the work of the IU Media Digitization and Preservation Initiative as examples, it explores strategies for addressing this impending and inconvenient crisis. Finally, the presentation highlights international progress with an overview of key projects and resources.},
  file       = {:https\://tdl-ir.tdl.org/bitstream/2249.1/82129/1/casey_tcdl_20170518.pdf:application/pdf},
  groups     = {Analysis Methods},
  language   = {en\_US},
  shorttitle = {Why {Media} {Preservation} {Can't} {Wait}},
  timestamp  = {2021-05-05},
  url        = {https://tdl-ir.tdl.org/handle/2249.1/82129},
  urldate    = {2021-05-05},
}

任何帮助都将受到赞赏。

答案1

你应该有

  language   = {en_US},

该字段中的下划线不应转义。URL 中的冒号也不应转义。

字段中的括号title似乎不正确。标题的大小写应保留为书目样式,并且仅保留必须保持大写字母应加括号。

相关内容