我目前正在 Bibtex 中编写一份包含数十个参考文献的带注释的参考书目。我找到了一种名为 plain-annote.bst 的 bibtex 样式,它允许我添加一个注释标签,以便在编译时将注释添加到预期位置。我一直在尝试找到一种方法将章节添加到参考书目中,以便将相似的参考文献分组在一起。例如,我希望将有关“伦理学”的所有论文分组在一起,并将有关“生物学”的所有论文分组在一起。任何帮助都将不胜感激。
答案1
我不知道您在寻找什么样的输出,但这可能是一个解决方案:
% !BIB TS-program = biber
% !BIB program = biber
% !TEX encoding = UTF-8 Unicode
% !TeX TS-program = xelatexmk
\begin{filecontents}{archivio.bib}
@book{Eth1,
Address = {Rome},
Publisher={Libreria Editrice Vaticana},
Author = {Mario Rossi},
Title = {Something about Ethics},
Annote = {This is a very nice publication about Ethics This is a very nice publication about Ethics This is a very nice publication about Ethics This is a very nice publication about Ethics This is a very nice publication about Ethics This is a very nice publication about Ethics},
Year = {2015}},
@book{Eth2,
Address = {Rome},
Publisher={Libreria Editrice Vaticana},
Author = {Gino Rossi},
Title = {Something else about Ethics},
Annote = {This is another very nice publication about Ethics This is another very nice publication about Ethics This is another very nice publication about Ethics This is another very nice publication about Ethics This is another very nice publication about Ethics This is another very nice publication about Ethics },
Year = {2015}},
@book{Bio1,
Address = {Rome},
Publisher={Libreria Editrice Vaticana},
Author = {Mario Rossi},
Title = {Something about Biology},
Annote = {This is a very nice publication about Biology This is a very nice publication about Biology This is a very nice publication about BiologyThis is a very nice publication about BiologyThis is a very nice publication about Biology This is a very nice publication about Biology },
Year = {2015}},
@book{Bio2,
Address = {Rome},
Publisher={Libreria Editrice Vaticana},
Author = {Pippo Rossi},
Title = {Something else about Biology},
Annote = {This is another very nice publication about Biology This is another very nice publication about Biology This is another very nice publication about Biology This is another very nice publication about Biology This is another very nice publication about Biology This is another very nice publication about Biology} ,
Year = {2015}}
\end{filecontents}
\documentclass[11pt, openany]{book}
\usepackage[autostyle,italian=guillemets]{csquotes}
\usepackage[style=chicago-notes,
annotation=on]{biblatex}
\DeclareBibliographyCategory{Biology}
\DeclareBibliographyCategory{Ethics}
\addtocategory{Biology}{Bio1, Bio2}
\addtocategory{Ethics}{Eth1, Eth2}
\addbibresource{archivio.bib}
\begin{document}
\printbibheading
\nocite{*}
\printbibliography[category=Biology,heading=subbibliography,%
title={Biology}]
\printbibliography[category=Ethics,heading=subbibliography,%
title={Ethics}]
\end{document}