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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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?