Can't get references sorted alphabetically with BibTeX


by marcio
Tags: alphabetically, bibtex, references, sorted
marcio
marcio is offline
#1
Feb18-13, 03:08 AM
P: 33
Hi all,

Could you help me figure out what packages I should use to get all references sorted alphabetically?

These are the packages and settings I'm using... I've tested many without success:

\usepackage{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}
%...
\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}


Thank you in advance

Márcio
Phys.Org News Partner Science news on Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language
DrDu
DrDu is offline
#2
Feb18-13, 08:11 AM
Sci Advisor
P: 3,376
Do have a look here:
http://amath.colorado.edu/documentat.../bibstyles.pdf
marcio
marcio is offline
#3
Feb18-13, 08:35 AM
P: 33
Quote Quote by DrDu View Post
Do you know what package I must use in order to these styles work?

I tried 'biblatex' instead of 'natlib' with a few of those styles you showed me, none of them worked.

Very much appreciated

Márcio

DrDu
DrDu is offline
#4
Feb18-13, 09:17 AM
Sci Advisor
P: 3,376

Can't get references sorted alphabetically with BibTeX


You don't need any package at all. I would try it out
using only

\bibliographystyle{plainnat} %or whatever style you chose
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}

However it may be that you don't have all of the bibstyles installed on your computer although most of them should come with any modern tex-distribution.
marcio
marcio is offline
#5
Feb18-13, 09:32 AM
P: 33
Quote Quote by DrDu View Post
You don't need any package at all. I would try it out
using only

\bibliographystyle{plainnat} %or whatever style you chose
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}

However it may be that you don't have all of the bibstyles installed on your computer although most of them should come with any modern tex-distribution.
Hi DrDu,

I tried with 4 packages (abbrvnat, plainnat, unsrtnat and apasoft, but the later didn't work at al) which seemed to work for my PhD thesis. All of them showed the references like this:

[Zhu et al.(2005)Zhu, Zheng, Guo, and Zhu]


and not like this:

Zhu et al.(2005)


meaning they all put the names of all authors after they are cited.

Any help will be very much appreciated.
DrDu
DrDu is offline
#6
Feb19-13, 05:53 AM
Sci Advisor
P: 3,376
Maybe you can show us a small example file and some information about what distribution you are using on which platform?
DrDu
DrDu is offline
#7
Feb19-13, 07:29 AM
Sci Advisor
P: 3,376
I could reproduce this. The styles you tried require
\usepackage[sort]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}
marcio
marcio is offline
#8
Feb19-13, 09:37 AM
P: 33
Quote Quote by DrDu View Post
I could reproduce this. The styles you tried require
\usepackage[sort]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}
It worked like a charm after your suggestion of adding 'sort' and after I replaced 'plainnat' with 'ametsoc'.
I'm using MikTeX on Windows 8.

Thank you very much

Márcio


Register to reply

Related Discussions
Algorithm Complexity: Sorted Arrays into Sorted Array Engineering, Comp Sci, & Technology Homework 12
How to sort a list alphabetically but ignore numbers? Computers 7
Sort fullnames alphabetically Programming & Computer Science 1
Merging sorted lists Engineering, Comp Sci, & Technology Homework 0
mY photo isnt included, alphabetically General Discussion 13