I am trying to put APA referencing using apacite but failing miserably. Here is my minimal trial example.
\documentclass[12pt]{article}
\usepackage[BCAY]{apacite}
\title{Brief Article}
\author{The Author}
\begin{document}
\maketitle
stuff \cite{anderson2012}
\bibliographystyle{apacite}
\bibliography{reference}
\end{document}
Inside my 'reference.bib' is following :
@techreport{anderson2012,
title = {Alcohol in the European Union : WHO Regional Office Europe},
author = {P. Anderson and L. M{\o}ller, G. Galea},
url = {http://www.euro.who.int/__data/assets/pdf_file/0003/160680/e96457.pdf},
year = {2012}
}
And it is gives following warnings :
LaTeX Warning: Citation `anderson2012' undefined on input line 17.
No file text.bbl.
[1] (./text.aux)
LaTeX Warning: There were undefined references.
)
Output written on text.pdf (1 page).
SyncTeX written on text.synctex.gz.
Transcript written on text.log
I am using Texshop
and by changing typeset to bibtex i get following message
This is BibTeX, Version 0.99d (TeX Live 2015)
The top-level auxiliary file: text.aux
The style file: apacite.bst
Database file #1: reference.bib
apacite.bst [2013/07/21 v6.03 APA bibliography style]
Then back to Latex,