TeXShopTexShop enumerates citations from .bib wrongly

Information and discussion about TeXShop, an integrated LaTeX environment for Mac OS X
Post Reply
scanerss
Posts: 2
Joined: Tue Apr 07, 2009 7:28 pm

TexShop enumerates citations from .bib wrongly

Post by scanerss »

Hello all,
I'm a new user of the TexShop. I installed JabRef for creating my bibliography file.
I put .bib file to the same folder, where my latex file is.
I cited the articles using the expression: \cite{key}
Then I:
1. typeset Latex,
2. typeset bibtex,
3. typeset latex twice.
During all steps 1-3 I see no error messages.
In pdf file created I see citation numbers. However, the citations are numerated VERY strangely! First citation is #12. The way the compiler gives them numbers seems to be quite random.
I'm writing a research proposal and have to follow certain rules of numerating citations.
How can I fix that??

p.s: Header of my latex file here:

Code: Select all

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{setspace, cite, graphicx}
\doublespacing
\usepackage{times,helvet}
\usepackage{fullpage, setspace,color}
\usepackage{afterpage}
\usepackage{cite}
\title{Research Proposal}
\date{}
\author{\\by\\me\\here}
\begin{document}
%\pagestyle {myheadings}
%\markright{blahblahblah}
 \maketitle 
 \section{Introduction}
Ending is here:

Code: Select all

  \bibliography{Proposal}
  \bibliographystyle{plain}
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
scanerss
Posts: 2
Joined: Tue Apr 07, 2009 7:28 pm

Re: TexShop enumerates citations from .bib wrongly

Post by scanerss »

:roll: I found the solution!
Numeration is controlled by the \bibliographystyle{}
I had \bibliographystyle{plane} which numerates citations alphabetically.
What I needed was \bibliographystyle{unsrt} - numeration according to the order of referencing.
I'm very sorry to disturb the community with this stupid thing.
although, maybe somebody experiencing the same problem would find it helpful.
Post Reply