BibTeX, biblatex and biberBibliography numbers appearing in the wrong order

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
iron_nerd
Posts: 3
Joined: Wed Dec 16, 2009 2:12 pm

Bibliography numbers appearing in the wrong order

Post by iron_nerd »

I'm quite new to LaTeX and BiBTeX and I'm currently writing a report using TexMaker 1.9.2 and my Bibliography numbers are appearing in the wrong order i.e. the first reference is currently numbered [4], however the reference is for the correct paper.

Is there a way to put the references in the correct numerical order based on where they appear in my report?

Any help would be greatly appreciated and apologies if this post is in the wrong place.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Bibliography numbers appearing in the wrong order

Post by josephwright »

Tell us what BibTeX style you use! Some are sorted, some are not, so it depends on what you are doing.
Joseph Wright
iron_nerd
Posts: 3
Joined: Wed Dec 16, 2009 2:12 pm

Re: Bibliography numbers appearing in the wrong order

Post by iron_nerd »

I'm using the plain style at the moment.
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Bibliography numbers appearing in the wrong order

Post by josephwright »

Well "plain" is a sorted style, which means that references are sorted by (I think) author. You want something like unsrt, which is unsorted and so prints references in the order given.
Joseph Wright
iron_nerd
Posts: 3
Joined: Wed Dec 16, 2009 2:12 pm

Re: Bibliography numbers appearing in the wrong order

Post by iron_nerd »

Thanks! unsrt appears to be working.
Post Reply