类型为 techreport 的报告仅在 biblatex 中有作者

类型为 techreport 的报告仅在 biblatex 中有作者

我对 biblatex 的 techreport 类型的报告有疑问。我在手册中看到 techreport 已经过时了,因此更倾向于使用 report。因此我使用了 report,类型为 techreport,但我的参考资料仅显示作者或报告。以下是我的代码:

\documentclass[11pt,twoside,openright]{report}

\author{Nikkie Deelen}
\title{\textbf{DRAFT} Characterizing modules for the \cmsphttu{}}

\usepackage{csquotes}                                                                       % For using biblatex                
\usepackage[backend=biber,style=numeric-comp]{biblatex}                                     % New and improved biblatex
\addbibresource{intro.bib}
\ExecuteBibliographyOptions{sorting=none, maxnames=5, minnames=3, hyperref, backref, backrefstyle=three, abbreviate=false, date=long, urldate=long}

\begin{document}
    This is the techreport that I want to cite \autocite{lumiconcept}
\end{document}

这是我的 intro.bib 文件:

@report{lumiconcept,
    author          = {Herr, W. and Muratori, B.}},
    title           = {Concept of luminosity},
    date            = {2006},
    type            = {techreport},
    url             = {https://cds.cern.ch/record/941318},
    urldate         = {2019-08-19},
    institution     = {{CERN}},
    doi             = {10.5170/CERN-2006-002.361},
}

我只看到下面的内容,我想看看标题,以及 bibfile 中的其他内容,有人可以帮我吗?

Biblatex 输出

答案1

author条目字段中有拼写错误

@report{lumiconcept,
    author          = {Herr, W. and Muratori, B.}},
    title           = {Concept of luminosity},
    date            = {2006},
    type            = {techreport},
    url             = {https://cds.cern.ch/record/941318},
    urldate         = {2019-08-19},
    institution     = {{CERN}},
    doi             = {10.5170/CERN-2006-002.361},
}

条目中的两个右花括号表示该条目被解析为

@report{lumiconcept,
    author          = {Herr, W. and Muratori, B.}
}

其余内容将被视为垃圾字符并被丢弃。因此,您只能获得作者姓名,而无法获得其他内容。

只需删除多余的括号即可使条目读取

@report{lumiconcept,
    author          = {Herr, W. and Muratori, B.},
    title           = {Concept of luminosity},
    date            = {2006},
    type            = {techreport},
    url             = {https://cds.cern.ch/record/941318},
    urldate         = {2019-08-19},
    institution     = {{CERN}},
    doi             = {10.5170/CERN-2006-002.361},
}

虽然@techreport类型别名手册部分中没有biblatex提到,但这并不意味着您不能再使用它。别名类型@techreport相当于@reportwith type = {techreport},因此将相关条目指定为

@techreport{lumiconcept,
    author          = {Herr, W. and Muratori, B.},
    title           = {Concept of luminosity},
    date            = {2006},
    url             = {https://cds.cern.ch/record/941318},
    urldate         = {2019-08-19},
    institution     = {{CERN}},
    doi             = {10.5170/CERN-2006-002.361},
}

事实上,这节省了一些打字时间,因此实际上它可能更受青睐。

相关内容