# \cite doesn't work

If I use \citeA{Rannenberg} it works, but with \cite{Rannenberg} I get the error:

("C:\Documents and Settings\Administrator\Desktop\BA Test\chapters/test.tex"
Kapitel 1.

(scrbook)              You should use the features of package tocbasic'
(scrbook)              Support for \float@addtolists may be removed from
(scrbook)              scrbook' soon .

Overfull \vbox (1.94844pt too high) has occurred while \output is active
[1]
Runaway argument?
]{Rannenberg}
! Paragraph ended before \@citex was complete.
\par
l.65
?


Hear my example:

\usepackage{natbib}
\usepackage[nosectionbib]{apacite}
\bibliographystyle{apacite}
\bibliography{bib/testbib}
@book{Rannenberg,
author = {Rannenberg, Kai},
year = {2002},
title = {{S}icherheit bei {M}obile {B}anking},
urldate = {01.03.2011},
institution = {{Fachbereich Wirtschaftswissenschaften Johann Wolfgang Goethe-Universit{\"a}t Frankfurt am Main}}
}


My Target is to get the follow results: (Rannenberg, 2002: 38). 38 is the pagenumber.

-
Please add a working example. The one you added isn't complete. – Thorsten May 7 '11 at 9:34

please provide full working examples and not only fragments which didn't really show what you exactly did. If I change the order of natbib and apacity I have no problem with this example:

\documentclass{scrartcl}
\usepackage[nosectionbib]{apacite}
\usepackage{natbib}
\begin{filecontents}{testbib.bib}
@book{Rannenberg,
author = {Rannenberg, Kai},
year = {2002},
title = {{S}icherheit bei {M}obile {B}anking},
urldate = {01.03.2011},
institution = {{Fachbereich Wirtschaftswissenschaften Johann Wolfgang Goethe-Universit{\"a}t Frankfurt am Main}}
}
\end{filecontents}
\begin{document}

foo~\cite[38]{Rannenberg}
\bibliographystyle{apacite}
\bibliography{testbib}

\end{document}

-
@Norbert and Thorsten: Thanks for your answer. Sorry, but it doesn't work by me. Could I send you my whole document? I'm new Latex user and have no idea, what you mean with full working example. Thanks – CSI May 7 '11 at 10:11
– Andrey Vihrov May 7 '11 at 10:18

I had the same error. I just deleted the package \usepackage{cite} from the main TeX file and \cite{reference} did work!

You can use:

\cite[p.~38]{Rannenberg}


in order to get the page number on the reference. I hope this can help.

-
Could you explain how your answer addresses the OP's issues? The OP's example shows the natbib and apacite packages being loaded, but there's no mention of the cite package being loaded. – Mico Aug 30 '14 at 22:17

I met the same problem, when using similar case like \cite{Rannenberg}, after I look carefully to the content of .tex, I found that I missed a "}" when using \cite{}, so I just use \cite{Rannenberg without a } in the end.

I hope this may be helpful to some one here.

-