Merge entries in bibliography

In my document, I am sometimes citing several papers at once, and none of them again afterwards, so to save space, I would like them to appear as one item in the bibliography. (The document I am compiling has a size limit)

So instead of this:

In the document, I cite [1][2][3]

Literature:

[1] some paper

[2] some other paper

[3] even another paper

I would like to have this:

In the document, I cite [1]

Literature:

[1] some paper, some other paper, even another paper

Is this possible at all? I can't find anything in the documentation about this.

• You might be interested in using entry sets. (See page 128 of the biblatex documentation). – leandriis Apr 4 '18 at 17:52

1 Answer

In order to merge several different references and assign a single number to them, you can use entry sets as shown in the following MWE:

\documentclass{article}
\usepackage[style=numeric-comp]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@book{key1,
author = {Author, A.},
year = {2001},
title = {Title},
publisher = {Publisher},
}
@book{key2,
author = {Author, B.},
year = {2002},
title = {Title},
publisher = {Publisher},
}
@book{key3,
author = {Author, C.},
year = {2003},
title = {Title},
publisher = {Publisher},
}
@book{key4,
author = {Author, D.},
year = {2004},
title = {Title},
publisher = {Publisher},
}

@set{set2,
entryset={key3,key4},
}
\end{filecontents}

\begin{document}

\defbibentryset{set1}{key1,key2}
\cite{set1}
\cite{set2}

\printbibliography

\end{document}


Two different types of entry sets can be defined: static and dynamic entry sets. The former is defined in the .bib file using @set while the latter can be defined in the .tex file using \defbibentryset. The above MWE results in the following output.

If one wants to distinguish between individual entries of an entry set, one can use the biblatex option subentry. The above MWE with this option added yields the following output: