natbib and beamer, not getting along

178 views
Skip to first unread message

V. M. Tame-Reyes

unread,
Aug 16, 2012, 1:57:45 AM8/16/12
to beamer...@googlegroups.com

Hello,

I have created this document:

<document>

\documentclass{beamer}

\usepackage[square]{natbib}

\begin{document}

\frame{
\frametitle{Test with citation}
blabla blabla \cite{nunnez2005}.
}

\frame{
\frametitle{Bibliography}
\bibliographystyle{apalike}
\bibliography{C-Computacion-RQ}
}


\end{document}

</document>

After compiling it using the regular pdflatex test.tex ; bibtex test ;
pdflatex test.tex*2
and with this .bib file:

<bib file>
@Book { nunnez2005,
title={{Diccionario de Inform\'atica}},
author={{N\'u\~nez Camallea, Noel and Coutin Abalo, Ronald}},
year="2005",
publisher={{Editorial Cient\'ifico T\'ecnica}}
}
</bib file>

I get this error:

<error>

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./test.bbl

! LaTeX Error: \newblock undefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...

l.1 \begin{thebibliography}{}

?

</error>

I ran several tests using article class, and the the same document
(basically just removing the frame parts, and obviously changing
the class definition) works perfectly fine. Can't find anything in natbib
or beamer documentation about either having any problems
when interacting with each other.

Could anyone please help with this just a bit ??

Thanks in advance,

--
Victor Tame-Reyes

Mirko Vukovic

unread,
Aug 16, 2012, 7:41:39 AM8/16/12
to beamer...@googlegroups.com
Do some google searching on compatibility of natbib and beamer. I
faintly recall that they may be incompatible.

Sorry that I could not be more precise.

Mirko
Reply all
Reply to author
Forward
0 new messages