根据 BibLaTeX 手册第 2.2 节,TECHREPORT 是一种旧版支持的类型。那么,为什么下面的示例现在会打印该条目?这其中还有什么其他原因吗?我宁愿不使用 BibLaTeX 特定的类型……
\documentclass{article}
% introduce asticks (*) in list of references with new command mybibitem
%\usepackage{cite}
%\newcommand{\mybibitem}[1]{\stepcounter{enumiv} \bibitem[\textbf{*\arabic{enumiv}}]{#1}}
% BibLaTeX
\usepackage[
backend=bibtex,
style=authoryear,
firstinits=true,
maxbibnames=99]{biblatex}
\addbibresource{CV.bib}
\begin{document}
text text text text text text text text text text text text text text text
\nocite{tech2015}
\setlength\bibitemsep{5pt}
\printbibheading[title={Bibliography}]
\printbibliography[type=techreport, heading=subbibliography, title={Reports}]
\end{document}
.bib 文件:
@TECHREPORT{tech2015,
author = {Meyer, B. and Miller, J.},
title = {{Some Great Report}},
institution = {The Great Institution},
year = {2015},
type = {Total Cool Reports}
}
答案1
你可以介绍一个subtype
。
\begin{filecontents}{\jobname.bib}
@TECHREPORT{MyReport2015,
author = {Meyer, B. and Miller, J.},
title = {{Some Great Report}},
institution = {The Great Institution},
year = {2015},
type = {Total Cool Reports},
entrysubtype={techreport}% <---
}
\end{filecontents}
\documentclass{article}
\usepackage[
backend=bibtex,
style=authoryear,
firstinits=true,
maxbibnames=99]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
text text text text text text text text text text
text text text text text
\nocite{*}
\setlength\bibitemsep{5pt}
\printbibheading[title={Bibliography}]
\printbibliography[type=techreport]
other bib:
\printbibliography[subtype=techreport]
\end{document}