! 软件包 biblatex 错误: 选项冲突 (maxcitenames/mincitenames)

! 软件包 biblatex 错误: 选项冲突 (maxcitenames/mincitenames)

我是 Latex 的新手,我正在使用 ieee 样式和 biblatex,但我希望获得最大的文内引用当我直接提到作者的名字时如下。

如果有两位作者:文内引用 = 作者 A + 作者 B + 年份 如果有两位以上作者:文内引用 = 作者 A+et al+年份

我使用 maxbibnames=10, maxcitenames=2 但出现此错误!包 biblatex 错误:选项冲突(maxcitenames/mincitenames)。

请参阅 MWE 以获得更好的理解。

\documentclass[12pt,twoside,a4paper]{report}

\usepackage[style=ieee,maxbibnames=10,maxcitenames=2]{biblatex} 
\usepackage[margin=2.5cm,headheight=15pt,headsep=0.3in,height

@article{Dennis2014overview,
    Author = {Leung, Dennis YC and Caramanna, Giorgio},
    Date-Added = {2017-05-30 20:20:18 +0000},
    Date-Modified = {2017-05-30 20:20:18 +0000},
    Journal = {Renewable and Sustainable Energy Reviews},
    Pages = {426--443},
    Publisher = {Elsevier},
    Title = {An overview of current status of carbon dioxide capture and storage technologies},
    Volume = {39},
    Year = {2014}}

@article{lasse2012public,
    Author = {Wallquist, Lasse and Seigo, Selma L'Orange and Visschers, Vivianne HM and Siegrist, Michael},
    Date-Added = {2017-05-30 20:20:18 +0000},
    Date-Modified = {2017-05-30 20:20:18 +0000},
    Journal = {International Journal of Greenhouse Gas Control},
    Pages = {77--83},
    Publisher = {Elsevier},
    Title = {Public acceptance of CCS system elements: a conjoint measurement},
    Volume = {6},
    Year = {2012}}

\begin{document}

\textbf{example 1} As pointed out by \textcite{Dennis2014overview}, the success of deploying CCS bla bla bla bla...... A public survey by \textcite{lasse2012public} on peoples preference for bla bla bla......... 

\textbf{example 2} for this example i  just want the number to appear in the text and it works fine \cite{Dennis2014overview}. 

\end{document}

例如 1:输出=正如梁及Caramanna[1],部署CCS的成功等等等等……Wallquist、Seigo、Visschers 等人 [2]表明人们对 bla bla bla 的偏好.........

期望输出正如Leung 和 Caramanna(2014)[1],部署CCS的成功等等等等……Wallquist 等人(2012 年)[2]表明人们对 bla bla bla 的偏好.........

对于例 2 来说,输出是完美的。= 对于此示例,我只希望数字出现在文本中,这样就可以了[1]

答案1

当谈到 时的黄金法则min/max(bib|cite)namesmin(bib|cite)names不能大于max(bib|cite)names

默认ieee.bbx值为

\ExecuteBibliographyOptions{
  maxnames = 999,
  minnames = 3,
}

因此,如果不重新定义,就不能将其设置max(cite|bib)names为小于三的值min(cite|bib)names

尝试

\usepackage[style=ieee, maxbibnames=999, maxcitenames=2, mincitenames=1]{biblatex} 

这显示(可能)参考书目中的所有作者(而不是 10 位,但当然也可以选择 10 位),并且在引用中使用一两个名称。

相关内容