BibTeX, biblatex and biberAPSA/APSR Style in BibTeX

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
jonfucius
Posts: 7
Joined: Fri Oct 02, 2009 7:05 pm

APSA/APSR Style in BibTeX

Post by jonfucius »

I am a grad student who will be using the APSA/APSR citation style for my papers, and I was thrilled to see that I can use APSA style in LaTeX. I have created a project in TeXnicCenter, specifying the reference file I built in JabRef, and made sure I included the proper commands for the bibliography. The MWE I created for this post:

Code: Select all

\documentclass[12pt]{book}
\usepackage{fullpage}
\usepackage{harvard}
\begin{document}

Here is something I would like to reference \cite{Comino2005}.

\bibliography{MWEReferencesCopy}
\bibliographystyle{harvard}
\end{document}
When I run LaTeX once, then BibTeX, I get the following error messages:

Code: Select all

Output Profile: LaTeX => PDF
This is BibTeX, Version 0.99c (MiKTeX 2.7)
The top-level auxiliary file: C:\Users\Jonathan Bertsch\Desktop\MWE\MWE.aux
I couldn't open the style file harvard.bst
---line 16 of file C:\Users\Jonathan Bertsch\Desktop\MWE\MWE.aux
 : \bibstyle{harvard
 :                  }
I'm skipping whatever remains of this command
I found no style file---while reading C:\Users\Jonathan Bertsch\Desktop\MWE\MWE.aux
 (There were 2 error messages)
What am I doing wrong? I made sure the harvard package was installed on my machine. I've attached the BibTeX file I used in the MWE.
LaTeX Distibutions: MiKTeX 2.8/MacTeX
Editors: TeXnicCenter/TeXShop

Recommended reading 2024:

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

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

piton3853
Posts: 1
Joined: Wed Feb 01, 2017 4:36 pm

APSA/APSR Style in BibTeX

Post by piton3853 »

I know this is an old post, but someone many need the information:

to access the .bst and .bib files when rendering you tex file one of two things must be correct:

either
1. the .bst and .bib need to be in the same folder as the tex document you are working on.

or
2. the correct path must be entered at the bottom of the tex document, just prior to \end{document} command

Example:

Code: Select all

\documentclass[12pt]{book}
\usepackage{fullpage}
\usepackage{harvard}
\begin{document}
 
Here is something I would like to reference \cite{Comino2005}.

\bibliographystyle{/Users/username/Documents/harvard} % This is how Mac paths look
\bibliography{/Users/username/Documents/MWEReferencesCopy} % This is how Mac paths look
\end{document}
Post Reply