Register to reply

Can't get references sorted alphabetically with BibTeX

Share this thread:
marcio
#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
Suddenly, the sun is eerily quiet: Where did the sunspots go?
'Moral victories' might spare you from losing again
Mammoth and mastodon behavior was less roam, more stay at home
DrDu
#2
Feb18-13, 08:11 AM
Sci Advisor
P: 3,549
Do have a look here:
http://amath.colorado.edu/documentat.../bibstyles.pdf
marcio
#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
#4
Feb18-13, 09:17 AM
Sci Advisor
P: 3,549
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
#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
#6
Feb19-13, 05:53 AM
Sci Advisor
P: 3,549
Maybe you can show us a small example file and some information about what distribution you are using on which platform?
DrDu
#7
Feb19-13, 07:29 AM
Sci Advisor
P: 3,549
I could reproduce this. The styles you tried require
\usepackage[sort]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}
marcio
#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