[texhax] extra endgroup problem (apacite bibtex)
Mehmet Ergun
mehmetaergun at gmail.com
Sun Dec 9 06:08:36 CET 2007
Sorry for my impatience but does anyone have any kind of pointers for
this? I know about and read the apacite.pdf and still don't understand
what I am doing wrong.
Also, when I use commands such as \fullcite or \citeNP, latex gives me a
"extra engroup" error for that entry. When I use \cite, latex gives
"Author(year)" instead of "(Author, year)".
Google doesn't give anything, probably because I have the wrong
keywords... One site suggested that I use texhash - I double-checked my
ls-R and apacite is in there. logs show that it is being used during
compilation.
Any pointers appreciated,
Thanks,
Mehmet.
Mehmet Ergun wrote:
> Hi,
>
> I'm probably doing something dumb, but I don't understand what it is.
> I've been working on this error for an hour now with no results...
>
> When I try to build, I get the following error if I use the \fullcite
> command instead of \cite:
>
> l.41 Bla bla.~\fullcite{smith1963}
>
> ?
> (./Midterm2.bbl
> ! Undefined control sequence.
> \citeauthoryear #1#2#3->\BCA
> {#1}{#1}
> l.10 smith1963}
> %
> ?
> ! Undefined control sequence.
> \org@@lbibitem ...orend ]\NAT at ifcmd #1(@)(@)\@nil
> {#2}
> l.10 smith1963}
> %
> ?
> ) [1] (./Midterm2.aux) )
>
>
> I get this in these files:
>
> file.tex:
> \documentclass[letterpaper,10pt]{article}
>
> \usepackage{apacite}
> \usepackage{natbib}
>
> \usepackage[utf8]{inputenc}
> \usepackage[american]{babel}
> \usepackage[dvips]{graphicx}
>
> \usepackage[dvips]{hyperref}
>
> \hypersetup{%
> pdftitle={Paper},
> pdfauthor={Name},
> }
>
> \usepackage{setspace}
> \onehalfspacing
>
> \usepackage[verbose, paper = letterpaper,
> lmargin = 1.3in, tmargin = 1.5in,
> centering]{geometry}
>
> \author{Mehmet Atif Ergun}
> \title{SOCY620 Final}
> \date{12-10-2007}
>
> \begin{document}
>
> \subsubsection*{Question 2}
>
> Bla bla.~\fullcite{smith1963}
>
> \bibliographystyle{apacite}
> \bibliography{file}
>
> \end{document}
>
> file.bib (generated with JabRef):
> @BOOK{polanyi1944,
> title = {The Great Transformation: The Political and Economic Origins
> of Our Time},
> address = {Boston},
> publisher = {Beacon Press},
> year = {1944},
> author = {Polanyi, K.}
> }
>
> @BOOK{smith1963,
> title = {An inquiry into the nature and causes of the wealth of nations},
> address = {Illinois},
> publisher = {Irwin Paperback Classics in Economics},
> year = {1963 (1776)},
> author = {Smith, A.},
> volume = {1}
> }
>
> @BOOK{smith21963,
> title = {An inquiry into the nature and causes of the wealth of nations},
> address = {Illinois},
> publisher = {Irwin Paperback Classics in Economics},
> year = {1963 (1776)},
> author = {Smith, A.},
> volume = {2}
> }
>
> @BOOK{tucker1978,
> author = {Marx, K.},
> title = {The {M}arx -- {E}ngels Reader},
> address = {New York},
> publisher = {W. W. Norton \& Company},
> year = {1978},
> editor = {Tucker, R. C.}
> }
>
> I hope you can help,
> Thanks,
> Mehmet.
>
More information about the texhax
mailing list