我收到一条冲突选项错误消息,但我不知道是什么原因造成的。请参阅下面的设置。我意识到这是一个相当复杂的设置,所以我并不想对其进行全面分析;只是希望有人能够通过快速阅读发现我遗漏的一些简单内容。在此先行致谢。
错误信息(遗憾的是行号没有帮助......):
example.tex:0 Conflicting options.
我的文档标题:
\documentclass{article}
\usepackage{graphicx, epsfig, subfig, setspace, fixltx2e, amsmath, textcomp, gensymb, csquotes, floatrow, siunitx, xpatch, nomencl, rotating, fullpage, appendix, epstopdf}
\usepackage[version=3]{mhchem}
\usepackage[british]{babel}
\usepackage[labelfont=bf]{caption}
\usepackage[style=authoryear-comp, punctfont, sorting=nyt, sortcites=noneyear, eprint=false, firstinits=true, doi=false, url=false, isbn=false, backend=biber, maxbibnames=99, maxcitenames=2, uniquelist=false]{biblatex}
\addbibresource{biblatex-examples.bib}
\AtEveryBibitem{\clearfield{issn}}
\AtEveryBibitem{\clearfield{note}}
\AtEveryBibitem{\clearfield{number}}
\AtEveryBibitem{\clearfield{language}}
\AtEveryBibitem{\clearfield{Language}}
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot}
\DeclareFieldFormat*{volume}{\mkbibbold{#1}}%make volume number bold in the bibliography
\renewbibmacro{in:}{}
\DeclareFieldFormat{author}{#1\addcomma\space}
\let\oldmultinamedelim\multinamedelim
\let\oldfinalnamedelim\finalnamedelim
\renewcommand*{\multinamedelim}{\space\bibstring{and}\space}
\AtBeginBibliography{
\renewcommand*{\multinamedelim}{\oldmultinamedelim}
\renewcommand*{\finalnamedelim}{\oldfinalnamedelim}
}
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
\DeclareSortingScheme{noneyear}{
\sort{\citeorder}
\sort{\field{year}}
}
\DeclareFieldFormat[book]{title}{#1}
\DeclareFloatFont{footnotesize}{\footnotesize}
\floatsetup[table]{font=footnotesize}
\floatsetup[table, figure]{\centering}
\floatsetup[table]{style=plaintop}
\makenomenclature
\renewcommand{\nomname}{Abbreviations}
\newcommand*{\nom}[2]{#1\nomenclature{#1}{#2}}
\newcommand{\superscript}[1]{\ensuremath{^{\textrm{#1}}}}
\newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small}
\begin{document}
答案1
完整的错误信息是
Package biblatex Warning: Conflicting options.
(biblatex) 'firstinits' conflicts with 'uniquename=full'.
(biblatex) Setting 'uniquename=init' on input line 62.
请参阅输出或.log
文件。因此它来自biblatex
并且不是致命错误。样式正在设置选项uniquename
,因此我建议您添加uniquename=init
到传递给的选项中biblatex