在 biblatex/biber 中使用 xdata 类型时,我可以引用完整条目,并且可以通过索引引用姓名列表中的个别作者。但是,是否还有一种方法可以引用完整的作者列表?
例如在下面的例子中我想在引文 2 中同时获得两位作者:
\begin{filecontents*}[overwrite]{xdata-test.bib}
@XData{somenames,
author ={Maria White and Julia Green},
location={Paris and London}
}
@book{somebook:a,
xdata = {somenames},
title = {All xdata}
}
@book{somebook:b,
author = {xdata=somenames-author},
title = {Author=somenames-author}
}
@book{somebook:c,
author = {xdata=somenames-author-1 and xdata=somenames-author-2},
title = {Author=somenames-author-1 and -2}
}
\end{filecontents*}
\documentclass{article}
\usepackage[sorting=none]{biblatex}
\addbibresource{xdata-test.bib}
\begin{document}
\nocite{somebook:a,somebook:b,somebook:c}
\printbibliography
\end{document}