OK latex-gurus, I have a stumper for you.

I have a sample APA style document with bibliography (using natbib) that works fine on my mac, but the citations and references fail on my linux box. Obviously, something is honked-up in my tetex installation. I've re-installed from scratch (version 2.0.2-r3 on a gentoo box) and still no go.

I've isolated the problem to the .bbl file. Here's the real stumper: If I export a .tex file, edit the documentclass from apa to article, run latex, bibtex, change document class back from article to apa, and run latex, latex I get a perfect document. The error seems to be in creating the .bbl file using apa.cls. Bib style is set to newapa.

I've included the .tex, .bib, .bbl and pertinent errors from the log.

Please let me know if you need additional information and TIA for any assistance! (Sorry for the long post.)

MyTestArticle.tex:
----------
%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,man]{apa}
\usepackage{pslatex}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\helvetica
\author{Author} % hack around some bugs in apa.cls
\affiliation{Affiliation} % hack around some bugs in apa.cls

\usepackage{babel}
\makeatother
\begin{document}

\title{My Test Article}


\rightheader{A Right header}


\abstract{An Abstract}


\shorttitle{A Short Title}


\author{Birch Pinhead Browning, IRAPHD}


\affiliation{Cleveland State University}

\maketitle

\section*{A Section Header}

Some text \citet{rich2002}.

\singlespace

\bibliographystyle{newapa}
\bibliography{/home/browning/MyTestArea/MyTestBib}

\end{document}


MyTestBib.bib -------- This file was created with JabRef 1.19.

@ARTICLE{rich2002,
  author = {Curt Rich},
  title = {How to xerox your way to a Ph.D.},
  journal = {Journal of Academic Dishonesty},
  year = {2002},
  volume = {1},
  number = {1},
  pages = {1-3},
  month = {January},
}

@comment{jabref-meta: selector_journal:}

@comment{jabref-meta: selector_keywords:}

@comment{jabref-meta: selector_publisher:}

\begin{thebibliography}{}

MyTestArticle.bbl
---------
\bibitem[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}
Rich, C.
\newblock{}\BBOP{}2002\BBCP{}.
\newblock{}\BBOQ{}How to xerox your way to a ph.d.\BBCQ{}
\newblock{}\Bem{Journal of Academic Dishonesty}, \Bem{1}(1), 1-3.

\end{thebibliography}


From MyTestArticle.log -------- Class apa Warning: \bibliographystyle command ignored on input line 46.

(./MyTestArticle.bbl
! Undefined control sequence.
<argument> \protect \BCAY
                          {Rich}{Rich}{2002}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}

?
! Undefined control sequence.
\org@@lbibitem ...orend [EMAIL PROTECTED] #1(@)(@)[EMAIL PROTECTED]
                                                  {#2}
l.3 ...[\protect\BCAY{Rich}{Rich}{2002}]{rich2002}

?
) AED endfloat: Processing end Figures and Tables [3] (./MyTestArticle.ttt)
(./MyTestArticle.fff)

Package natbib Warning: There were undefined citations.

Reply via email to