BibTeX, biblatex and biberUse of Year in Bibliography Item

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
brambles87
Posts: 1
Joined: Mon Feb 25, 2013 12:18 am

Use of Year in Bibliography Item

Post by brambles87 »

I am new to LaTeX and struggling to create a bibliography with apacite. I have spent some time struggling with the documentation to no avail. I don't know if it is a really basic mistake I am making or something wrong with the package version or something (2013-02-24).

Anyway, I get three errors no matter what I do and I can't make sense of any of them:

Code: Select all

! Use of \@year@ doesn't match its definition.
! Undefined control sequence.
! You can't use `\relax' after \the.
MWE:

Code: Select all

\documentclass[11pt]{article}
\usepackage{apacite}

\begin{document}

some text
\cite{ahu61}

\bibliography{testbib}{}
\bibliographystyle{plain}
\end{document}
..and "mytestbib.bib" in the same folder contains just this:

Code: Select all

@article{ahu61,
  author={Arrow, Kenneth J. and Leonid Hurwicz and Hirofumi Uzawa},
  title={Constraint qualifications in maximization problems},
  journal={Naval Research Logistics Quarterly},
  volume={8},
  year={1961},
  pages={175-191}
}
Any help would be much appreciated!

Neil

Recommended reading 2024:

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

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

Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Use of Year in Bibliography Item

Post by Juanjo »

According with the guide of the apacite package, you should use the apacite bibliographic style:

Code: Select all

\bibliography{testbib}
\bibliographystyle{apacite}
Please note that there were two spurious braces at the end of the first line.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply