20

I'm using TeXnicCenter to write all my documents and generate my bib file by using JabRef. However I noticed that my references are out of order. It seems the addition order to JabRef file forces the numbering in my file. Is there a way to see my references sequentially in my paper?

For example,

In my bib file:

  1. Berkay et al. Using References efficiently.
  2. Alan et al. Asking better questions in TeX exchange.

In my tex:

Berkay et al [2] proposed a solution for references and recently Alan et al. [1] criticized him.

My question refers having them [1] and [2], sequentially, in order.

  • 1
    It's quite hard to tell from your question what the problem is, or what you're doing. Are you using natbib? What do you mean by 'out of order'? What order are the references in, and what order do you want them in? What kind of citation system are you using (author/year, numeric?). – Alan Munn Apr 5 '11 at 3:02
  • @Alan Munn sorry for confusing points, edited.Thanks. – berkay Apr 5 '11 at 3:14
  • 1
    possible duplicate of Sort thebibliography by citation order – Charles Stewart May 4 '11 at 14:35
30

If I understand the question correctly, that you want the bibliography arranged in the order that each item is first cited, then you need to write \bibliographystyle{unsrt} or if you are using natbib then \bibliographystyle{unsrtnat}.

You also need to rerun latex, bibtex, latex, latex, each time the ordering of the citations changes, so as to get the changes to propagate through the .aux, .bbl files.

  • that's what i was looking for. Thanks +1. – berkay Apr 5 '11 at 5:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.