作为文献调查的一部分,我制作了一个庞大的 BibTeX 文件(Biber 方言),其中包含所有感兴趣的文献的条目(包括摘要)。我自由地使用crossref
字段以避免耗时且容易出错的重复会议录/书名、出版商地址等。那些我不感兴趣的交叉引用条目(除了作为数据来源外)我都用 标记了dataonly = {true}
。
如果不手动指定键,如何打印除dataonly = {true}
条目之外的整个参考书目?
这是一个最小的非工作示例:
\documentclass{article}
\usepackage{biblatex}
\addbibresource{\jobname.bib}
\DeclareFieldFormat{abstract}{\par\small#1}
\renewbibmacro*{finentry}{\printfield{abstract}\finentry}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@proceedings{acl,
publisher = {Association for Computational Linguistics},
address = {Stroudsburg, PA},
dataonly = {true},
}
@proceedings{acl2015,
year = 2015,
booktitle = {Proceedings of the 53rd Meeting of the ACL},
crossref = {acl},
dataonly = {true},
}
@book{wordnet,
year = 2016,
booktitle = {An Introduction to WordNet},
editor = {Gary Gnu},
crossref = {acl},
dataonly = {true},
}
@inproceedings{foo,
author = {Foo Bar},
title = {Some article},
abstract = {Here is the abstract.},
crossref = {acl2015},
}
@incollection{quux,
author = {Quux quuux},
title = {Why I love {WordNet}},
abstract = {Another fine abstract.},
crossref = {wordnet},
}
% And hundreds more entries...
\end{filecontents}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
这将打印以下内容:
但是,我想要显示的内容如下:
答案1
你已经成功了一半,但事实并非dataonly = {true}
如此
options = {dataonly=true},