I have two .bib
files, and I would like to get two separate bibliography sections, each of them containing references from one file. More precisely, I have mine.bib
and external.bib
, and I would like the entries from mine.bib
to go in a section "List of publications" and the ones from external.bib
to go to "External bibliography".
Using biblatex, I found a lot of ways to get several bibliography sources (\addbibresource
) and several bibliography sections (essentially, call \printbibliography
several times with different parameters), but I can't find a way to filter according to the bibliography source.
biblatex seems the best candidate, but I'm not tied to it so any answer using another tool would be welcome.
The use-case is to write an activity report where my list of publications has to be separate (because it is evaluated as such), but where I could also \cite
other people's paper.
Thanks in advance.
Best Answer
(Answer adapted from Printing only one bib file. Thanks to @moewe for the original answer and @Ulrike Fischer for pointing it to me.)
One solution is:
This solution requires
biber
and won't work with a plainbibtex
.A complete example:
The resulting PDF file: