I am having trouble formatting my bibliography to the ASA style. I would like to use the bibliography style asa.bst. I saved this .bst file within the same folder as my .tex file but do not see changes to my references. I also included this .bst file within the program files folder where other preloaded .bst files are located. My references remain in the "plain" style even with \bibliographystyle{asa}. Further more, when I attempt to change the bib style to "unsrt", a more common style, I still don't see changes to my references.
The code below produces a file with references not in the wanted asa style. (years should be in parentheses directly after author)
\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{setspace}
\usepackage{cite}
\begin{document}
Blah, Blah, Blah, Science! \cite{BaGa}
\bibliographystyle{asa}
\bibliography{bib}
\end{document}
The file named bib is as follows:
@book{BaGa,
title={Interactive spatial data analysis},
author={Bailey, T.C. and Gatrell, A.C.},
isbn={9780582244931},
lccn={lc95009053},
year={1995},
publisher={Longman Scientific and Technical}
}
The file asa.bst can be found:
latexmk. It should take care of all the things. – wilx Apr 26 '16 at 13:40