Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using TeXnicCenter to write my all document 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.

share|improve this question
    
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
add comment

1 Answer

up vote 14 down vote accepted

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.

share|improve this answer
    
that's what i was looking for. Thanks +1. –  berkay Apr 5 '11 at 5:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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