我對 biblatex 的 techreport 類型的報告有疑問。我在手冊中讀到 techreport 很舊,因此首選 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},
}
我看到的只是下面這個,我想看看標題,以及參考文獻中的其他內容,有人可以幫我嗎?
答案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},
}
事實上,這可以節省一點打字時間,因此實際上可能是首選。



