忽略 crossref

忽略 crossref

我的 bib 文件中只有少量参考书目条目crossref。我希望参考书目引擎停止查找它们。

比如说,我有 MWE(复制自这里):

\documentclass{article}
\usepackage[mincrossrefs=99]{biblatex}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@inproceedings{duck2015,
    author = {Duck, D.},
    title = {Duck tales},
    crossref = {ICRC2015},
}

@inproceedings{mouse2015,
    author = {Mouse, M.},
    title = {Mouse stories},
    crossref = {ICRC2015},
}

@proceedings{ICRC2015,
    title = "{Proceedings of the 34\textsuperscript{th} International Cosmic Ray Conference}",
    year = "2015",
    month = aug,
}
\end{filecontents*}
\addbibresource{\jobname.bib}

\begin{document}
\cite{duck2015}
\cite{mouse2015}

\printbibliography
\end{document}

我希望它直接忽略crossref,就像它不存在一样。我该怎么做?

答案1

您可以重置继承规则:

\documentclass{article}
\usepackage[mincrossrefs=99]{biblatex}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@inproceedings{duck2015,
    author = {Duck, D.},
    title = {Duck tales},
    crossref = {ICRC2015},
}

@inproceedings{mouse2015,
    author = {Mouse, M.},
    title = {Mouse stories},
    crossref = {ICRC2015},
}

@proceedings{ICRC2015,
    title = "{Proceedings of the 34\textsuperscript{th} International Cosmic Ray Conference}",
    year = "2015",
    month = aug,
}
\end{filecontents*}
\addbibresource{\jobname.bib}

\DefaultInheritance{all=false}
\ResetDataInheritance

\begin{document}
\cite{duck2015}
\cite{mouse2015}

\printbibliography
\end{document}

在此处输入图片描述

但是正如您在屏幕截图中看到的,如果您的真实号码布没有必要的字段,您可能需要更正驱动程序。

相关内容