biblatex 在作者引用前添加“i,i”

biblatex 在作者引用前添加“i,i”

我查阅了大量论坛,但无论如何也找不到为什么我的文档会在作者前面打印“i,i”,无论是在行内还是在参考书目中,对于所有的引用条目(所有引用的论文和书籍)。

当我写下:

\cite{Whipple2012}

我期望得到:

Whipple et al. 2012

但得到的却是:

i,i,Whipple et al. 2012

并在书目中写道:

i,i,A A Whipple et al. ".....

我似乎无法弄清楚。我有很多软件包,但我将在这里列出它们:

\documentclass[a4paper, 12pt]{article} 
\usepackage{amsmath,amsthm,amssymb,amsfonts}
\usepackage[a4paper,left=25mm, right=25mm, top=25mm, bottom=25mm]{geometry}
\usepackage{fancyhdr}
\fancyhf{} % clears headers and footers
\renewcommand{\headrulewidth}{0pt} % removes the ruler bar
\cfoot{\thepage} % sets the page numbers to the center bottom of the page
\usepackage{titling} % allows me to use 'theauthor' in document
\newcommand{\subtitle}[1]{%
  \posttitle{%
    \par\end{center}
    \begin{center}\large#1\end{center}
    \vskip0.5em}%
}
\usepackage{pdflscape} % allows for use of landscape pages
\usepackage[english]{babel} % for language definition
\usepackage[utf8]{inputenc} % for font
\usepackage[T1]{fontenc} % for font encoding
\usepackage[table]{xcolor}
\usepackage{listings} % for making lists of things
%\usepackage{enumitem}
\usepackage{underscore}
\usepackage{graphicx} % to includegraphics figures
\usepackage{wrapfig} % for wrapping text around figures
\usepackage{grffile} % for other graphic filename extentions
\usepackage{caption}
\usepackage{subcaption}
\usepackage{underscore} % for literally underscores.
\usepackage{array} % for array and tabular formats (columns/rows/etc)
\usepackage{multirow} % for tables
\usepackage{adjustbox} % for rescaling graphic boxes
%\usepackage{pgf} % for creating graphics (tikz)
\usepackage{float}
\usepackage{rotating}
\usepackage{color}
\usepackage{setspace}
\usepackage{comment}
\usepackage{xfrac} % for fancy fraction formatting
%\usepackage{textcomp} % allows for use of greek letters in document
\usepackage[
    citestyle=authoryear,
    backend=bibtex,
    sorting=ynt
    ]{biblatex} % Need for using biblio. Run in pdfLaTeX then in BibTex then back in pdfLaTex

这是我的 .bib 文件中的每个引用条目,但这是我正在谈论的具体引用(作为示例):

@article{Whipple2012,
    title = {{Sacramento-San Joaquin Delta Historical Ecology Investigation:  Exploring Pattern and Process.}},
   year = {2012},
    journal = {A Report of SFEI-ASC's Historical Ecology Program, Publication {\#}672},
    author = {Whipple, A A and Grossinger, R M and Rankin, D and Stanford, B and Askevold, R A and Program., Prepared for the California Department of Fish and Game and Ecosystem Restoration and {SFEI}},
    number = {august},
    pages = {408},
    url ={http://www.sfei.org/DeltaHEStudy%5Cnhttp://www.baydeltalive.com/assets/eec462358f80cc8d9910bfda974fa6f4/application/pdf/Delta_HistoricalEcologyStudy_SFEI_ASC_2012_lowres_0.pdf},
    isbn = {SFEI-AEC's Historical Ecology Program, Publication {\#}672},
    keywords = {Historic, SFE, local}
}

答案1

您使用的 版本已过时biblatex。在那个版本中,biblatex用来_i表示姓名的首字母。该下划线会在underscore加载包时导致问题,因为该字符(无论如何都是特殊的)的行为会有所不同。如果我没记错的话,这也会导致其他包出现问题,因此在后续版本中biblatex删除了。_

解决方案是

  • 更新biblatex(和 Biber)到其当前版本 3.10(和 2.10),以及
  • underscore如果不需要该包,则丢弃它。

相关内容