BibTeX, biblatex and biberApacite - Problem - Use of @year@ doesn't match its def

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
lustig
Posts: 1
Joined: Tue Mar 10, 2009 2:38 am

Apacite - Problem - Use of @year@ doesn't match its def

Post by lustig »

Hello,

I am trying to use the apacite package but I run into a problem!

Here is my code:

\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{doc,apacite}
\usepackage{graphicx}
\topmargin -1cm
\begin{document}
\title{Materthesis}
\section{Value Creation Management}
\label{sec:ValueCreationManagement}
\subsection{Definition}
\label{sec:Definition}
\\
A company has to create value is a comman phrase. But what is a value? There are three views when we look at value of a company \cite{Wildemann2007}.
\\


When I build this I get the following error:

Use of @year@ doesn't match its definition.
\Y.Wildmann2007 ->\@year@ 0

I assume this is related to my bibtex library which I am using (generated by Jabref). The code for Wildmann2007 is:

@BOOK{Wildemann2007,
title = {Wertsteigerung durch Wertschöpfung},
publisher = {TCW Transfer-Centrum-Verlag, München},
year = {2007},
author = {Horst Wildemann},
review = {blablabla},
timestamp = {2008.12.12}
}

I am using TexNicCenter if this information is needed...

After building the text the following is shown: (0, )

I know there are plenty of discussions about apacite but I checked them without success.

So please let me know what the issue is or could be!

Thanks in advance!

-Frank

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Chan
Posts: 2
Joined: Sun Mar 29, 2009 7:54 am

Re: Apacite - Problem - Use of @year@ doesn't match its def

Post by Chan »

Try commenting out the babel package. I think apacite has problems with babel and hyperref. I commented those packages out of my document and my citations formatted correctly. I don't understand why, but it worked for me.
SmithWillSuffice
Posts: 15
Joined: Fri Feb 23, 2007 9:29 am

Re: Apacite - Problem - Use of @year@ doesn't match its def

Post by SmithWillSuffice »

Hi,
Regrding the hyperref + apacite package compatibility problems, the simplest solution is (for now) to place your

\usepackage[...]{hyperref}

BEFORE

\usepackage{apacite}

in your preamble. (Reference: http://www.latex-community.org/forum/po ... 02#preview)

The normal hyperlinks will work, but unfortunately the APA citations will now not be hyperlinked to your bibliography. It's the cheapest workaround though, at least for the apacite.* versions I'm using.
Support Free Software---It's Made for Everyone
Post Reply