I work on fairly large documents that put together many seperate *.tex files as well as seperate *.bib files made by different people. I am using bibunits package for bibliographies after each project that I include into my document -- I do not have a global bibliography.

Currently, I am trying to solve the following problem: when I have two different *.bib files but they contain the same bibliography-entry with the same abbreviation, my second \cite refers to the first bibunit-bibliography instead of the second one.

How do I prevent bibunits from referring to another bibunit than the one I am citing in?

To clarify:


\cite{source} %first citation

%I need a barrier here, because..

\cite{source} %this second citation uses the numbering from the first bibunit
\putbib[references2] %instead of referring to this bibunit


Now, I know I could just rename the entry in references2. However, it's not possible for me to check every single entry in the approx. 40 *.bib files that are used in the document and I am looking for a permanent solution. I would also prefer not to merge the different *.bib files into one.
Any ideas?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.