错误:“maxbibnames”必须大于或等于“minbibnames”

错误:“maxbibnames”必须大于或等于“minbibnames”

有人遇到过这个错误吗?我正在使用 overleaf,虽然它不影响编译,但我不明白是什么原因造成的,以及如何修复它。

See the biblatex package documentation for explanation. Type  H <return>  for immediate help. ...                                              
l.31 \begin{document}
'maxbibnames' must be greater than or equal to 'minbibnames'.

导致错误的行实际上是“\begin{document}”。

在同一行我还收到以下错误:

See the biblatex package documentation for explanation. Type  H
<return>  for immediate help. ... 
l.31 \begin{document}
'maxsortnames' must be greater than or equal to 'minsortnames'.

提前致谢!

答案1

您只显示了错误后的帮助文本,而不是总是以以下内容开头的错误消息本身!

大概是这样的

! Package biblatex Error: Conflicting options (maxbibnames/minbibnames).

See the biblatex package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.5 \begin{document}
                    
? h
'maxbibnames' must be greater than or equal to 'minbibnames'.
? 

! Package biblatex Error: Conflicting options (maxsortnames/minsortnames).

See the biblatex package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.5 \begin{document}
                    
? 

\documentclass{article}

\usepackage[maxbibnames=2,minbibnames=4]{biblatex}

\begin{document}

\end{document}

正如错误所述,最大值(此处为 2)必须大于最小值(此处设置为 4)

\usepackage biblatex除了检查是否一致之外,还可以通过其他方式设置选项\begin{document},这就是为什么该行显示为错误位置,而不是设置这些值的行。

相关内容