BibTeX, biblatex and biberHow to sort references automatically

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
nasridine
Posts: 2
Joined: Tue Jun 22, 2010 8:08 pm

How to sort references automatically

Post by nasridine »

I am working with someone on a paper. He manually added all the references in the ref.tex file which looks like this:

Code: Select all

\begin{references}

\bibitem{lilie}
Breitenkamp,~M.; Henglein,~A.; Lilie,~J. {\it Ber. Bunsenges. Phys.~Chem.}
{\bf 1976}, {\bf 80}, 973.
 
\bibitem{nenoff}
Zhang,~Z.; Nenoff, T.M.; Huang,~J.; Berry,~D.T.; Provencio,~P..; 
{\it J.~Phys.~Chem.~C} {\bf 2009}, {\it 113}, 1155.

\bibitem{nanosyn}
Ershov,~B.G.; Janata,~E.; Henglein,~A. {\it J.~Phys.~Chem.} {\bf 1994},
{\bf 98}, 7619; Belloni,~J. {\it Catalysis Today} {\bf 2006}, {\it 113}, 141.

\bibitem{schuring2000}
Schuring, J.; Schulz, H.D.; Fischer, W.R.; Bottcher, J.; Duijnisveld, W.H.M. 
{\it Springer-Verlag, New York, N.Y. } {\bf 2000}

%.......
%......

\end{reference}

If I want to make some change to the text and add some new references in the ref.tex. The order of the citation in the text is not right. It seems you have to manually put the references at the correct position, then the numbering will be correct. Is there an easy way to sort the references automatically, even if every time I add new references at the bottom?

By the way, after I edit the ref.tex, how do I update them in the article. So I did pdflatex to convert it to pdf, but all the newly added references appear as "?" in the article. How do I fix this?

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to sort references automatically

Post by localghost »

It is essential that you always provide a full example that is compilable as provided [1]. Otherwise specific help is nearly impossible.

Automatic sorting of bibliography entries only works with BibTeX. You on the contrary try to typeset a bibliography manually. Furthermore it is unclear where this »references« environment comes from. It seems you did not test your code snippet and checked whether it's working at all.

[1] View topic: Avoidable mistakes


Thorsten
Post Reply