我正在写一篇包含大量参考文献的论文。
博士院希望我按类型(文章、书籍等)划分参考书目。
我正在XeLaTeX
使用biblatex
。
我使用的时候\printbibliography
没有问题。
但是当我分成几部分时,我没有收到任何警告说我引用了不在参考书目中的参考文献。
这是显示该问题的 MWE。参考书目中正确引用了这本书,但文章中没有。根据我所问的问题,这是很正常的行为,但我希望得到警告。
\begin{filecontents}{bibli.bib}
@book{geertz1993LocalKnowledgeFurther,
title = {Local Knowledge: Further Essays in Interpretive Anthropology},
date = {1993},
author = {Geertz, Clifford}
}
@article{gomez-baggethun2013TraditionalEcologicalKnowledge,
title = {Traditional {{Ecological Knowledge}} and {{Global Environmental Change}}: {{Research}} Findings and Policy Implications},
date = {2013},
author = {Gómez-Baggethun, Erik and Corbera, Esteve and Reyes-García, Victoria}
}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage{xltxtra}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[english]{babel}
\usepackage[
backend=biber,
style=authoryear-icomp,
autocite=inline,
maxbibnames=99,
date=year]
{biblatex}
\bibliography{bibli.bib}
\begin{document}
This is a great book \autocite{geertz1993LocalKnowledgeFurther}. This is a great article \autocite{gomez-baggethun2013TraditionalEcologicalKnowledge}.
\printbibliography[heading=subbibliography, type=book, title={Books}]
\end{document}
答案1
感谢 Paul Stanley 和 cfr,我能够回答我自己的问题。添加几个nottype
就可以了!
\begin{filecontents}{bibli.bib}
@book{geertz1993LocalKnowledgeFurther,
title = {Local Knowledge: Further Essays in Interpretive Anthropology},
date = {1993},
author = {Geertz, Clifford}
}
@article{gomez-baggethun2013TraditionalEcologicalKnowledge,
title = {Traditional {{Ecological Knowledge}} and {{Global Environmental Change}}: {{Research}} Findings and Policy Implications},
date = {2013},
author = {Gómez-Baggethun, Erik and Corbera, Esteve and Reyes-García, Victoria}
}
@thesis{leroy1970SystemeFoncierDeveloppement,
title = {Système foncier et développement rural. Essai d'anthropologie juridique sur la répartition des terres chez les Wolof ruraux de la zone arachidière-nord (République du Sénégal)},
date = {1970},
author = {Le Roy, Étienne}
}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage[english]{babel}
\usepackage[
backend=biber,
style=authoryear-icomp,
autocite=inline,
date=year]
{biblatex}
\bibliography{bibli.bib}
\begin{document}
This is a great book \autocite{geertz1993LocalKnowledgeFurther}. This is a great article \autocite{gomez-baggethun2013TraditionalEcologicalKnowledge}. And finally, a thesis that can't be missed \autocite{leroy1970SystemeFoncierDeveloppement}.
\printbibliography[heading=subbibliography, type=book, title={Books}]
\printbibliography[heading=subbibliography, type=article, title={Articles}]
\printbibliography[heading=subbibliography, nottype=book, nottype=article, title={Others}]
\end{document}