0

I would like to use multiple bib-files for multiple bibliographies in my seminar work (I want to split books from internet sources). To simplify it, I tried to create 2 bib-files and then do
\section{Books} \bibliography{sourcesbooks} \section{Internet sources} \bibliography{sources2}.
But this just prints the same bibliography 2 times. I also tried some packages, like multibib, bibtopic, etc. (I am using jurabib for footcites and so on).

2
  • 1
    With biblatex it is very easy to filter bibliographies based on categories. For example \printbibliography[type=article] Oct 31, 2016 at 14:10
  • Second the vote for biblatex for customizatio and advanced stuff. Oct 31, 2016 at 15:03

1 Answer 1

2

Please in the future post a compilable minimal example from which to start helping you to get what you want.

However, as samcarter already said: It will be a very good idea for you to switch to BibLaTeX, where all of this will be very easy. There, you can add as many bib-files as you want, using several \addbibresource{} commands. You can then simply print separate bibliographies per entry-type using

\printbibliography[title=Articles, type=article]
\printbibliography[title=Books, type=book]

Or you can apply even finer separation of entry-types, by first defining separate bibfilters and using the subtype-field per entry, eg.

\defbibfilter{BookType1}{type=book and subtype=Type1}
\defbibfilter{BookType2}{type=book and subtype=Type2}
\printbibliography[title=Books of Type 1, filter=BookType1]
\printbibliography[title=Books of Type 2, filter=BookType2]
3
  • Thanks! I had to edit MUCH things, but this solution seems to work the best. Thank you very much! Oct 31, 2016 at 15:39
  • What if the most logical way to disambiguate the sections/entries is by files, not by type? For example, I have "article" type entries in both reviewed.bib and preprint.bib, but I'd like them to be listed in different sections on my CV. Nov 17, 2016 at 14:39
  • @DanielKessler Short answer: I don't know, it's probably possible. If you want to do that, you should ask a new question yourself, though. The comments below answers are not the right place to ask for something basically completely different to achieve. Nov 21, 2016 at 12:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .