General ⇒ Multibib gets numbering of cites wrong
Multibib gets numbering of cites wrong
I use the multibib package to introduce 2 bibliographys to my document. I want to use a different style for both (alpha and plain). Now, interestingly, the entries for plain use wrong numbering. It behaves like this:
"Foo bar [2] foo bar [FooBar98]".
Where [2] is an entry for the first bibliography with stlye plain and [FooBar98] from the second with style alpha. The correct way would be:
"Foo bar [1] foo bar [FooBar98]".
To me it looks as if Bibtex would simply count all cites from both bibliographies, ignoring the presence of different styles. Is there something I can do (maybe when executing bibtex.exe) do prevent this?
Btw I call bibtex 2 times with the 2 aux files that mictex creates on the first run.
Thanks for helping,
Ben
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Multibib gets numbering of cites wrong
Code: Select all
\usepackage[resetlabels]{multibib}
Re: Multibib gets numbering of cites wrong
Btw I am using TeXnicCenter, not sure if thats relevant.
Multibib gets numbering of cites wrong
benowar wrote: Is keeping the references in the same bib file a problem?
No. Could you post the relevant parts of your document? (The preamble, and the commands you are using to include your bibliographies?)
Multibib gets numbering of cites wrong
@MISC{ibmdb2home,
author = {{IBM Corporation}},
title = {{Homepage IBM DB2}},
owner = {bpasero},
pdf = {C:\Dokumente und Einstellungen\bpasero\Desktop\Diplom\Thesis\Quellen\Internet\Used\Analyse\db2_homepage.pdf},
timestamp = {2007.08.15},
url = {http://www-306.ibm.com/software/data/db2/},
urldate = {2007.08.15}
}
header.tex
\usepackage[resetlabels]{multibib}
\newcites{www}{Internet-Quellen}
document.tex
\clearpage
\renewcommand{\bibname}{Literatur}
\bibliographystyle{alpha}
\bibliography{literatur}
\addcontentsline{toc}{chapter}{Literatur}
\clearpage
\renewcommand{\bibname}{Internet-Quellen}
\bibliographystylewww{plain}
\bibliographywww{literatur}
\addcontentsline{toc}{chapter}{\bibname}
Re: Multibib gets numbering of cites wrong
Multibib gets numbering of cites wrong
benowar wrote: So, for the following entry, using {{aaaIBM Corporation}} as author value, the entry shows up as [1] instead of [17]. I am shocked how the author name could have any influence on the reference numbering...
You are using plain and alpha styles which sort the entries alphabetically by authors, so it's not a surprise that the author name has any influence on the reference numbering; in fact, it must have all the influence. So review the documentation on BibTeX to see how the entries are sorted and the precautions you must have regarding names.
Re: Multibib gets numbering of cites wrong
Is there a style that is not sorting by name?