[pdftex] Error when using pdflatex with "foil" class and "natbib" package.
Chen, Feiming
feiming_chen at spectramarketing.com
Wed Aug 2 22:55:30 CEST 2006
Dear sir:
I am trying to produce a latex presentation using "foil" class (in pp4)
and pdflatex. Combined with "natbib" package for author-year citation,
it gives a compilation error. I am using the MikTex system. Compiles
OK if I do not use "foil" class or "natbib" package.
Can you help me? Thanks a lot!
Sincerely,
Feiming Chen
Input file (a.tex) is:
\documentclass[landscape]{foils}
\usepackage{natbib}
\begin{document}
\cite{deming}
\bibliographystyle{plainnat}
\bibliography{a}
\end{document}
The bib file (a.bib) is:
@Article{deming,
author = {Deming, W. E. and Stephan, F. F.},
title = {On a Least Squares Adjustment of a Sample Frequency Table
When the Expected Marginal Totals Are Known},
journal = {Annals of Mathematical Statistics},
year = {1940},
volume = {11},
pages = {427-444}
}
Error message (after pdflatex a.tex, bibtex a.tex, pdflatex a.tex) is:
This is pdfeTeX, Version 3.141592-1.20a-rc7.2-2.2 (MiKTeX 2.4)
output format initialized to PDF
entering extended mode
(a.tex
LaTeX2e <2003/12/01>
Babel <v3.8a> and hyphenation patterns for english, french, german,
ngerman, du
mylang, nohyphenation, loaded.
(C:\Program1\texmf\tex\latex\base\foils.cls
Document Class: foils 1998/08/15 v2.1.3 FoilTeX Class File, Copyright
IBM 1995,
1997,1998
(C:\Program1\texmf\tex\latex\base\fltfonts.def)
(C:\Program1\texmf\tex\latex\base\foil20.clo))
(C:\Program1\texmf\tex\latex\natbib\natbib.sty) (a.aux)
Package natbib Warning: Citation `deming' on page 1 undefined on input
line 6.
(a.bbl
! Undefined control sequence.
\bibsection ->\section
*{\refname \@mkboth {\MakeUppercase {\refname
}}{\Mak...
l.1 \begin{thebibliography}{1}
?
! Emergency stop.
\bibsection ->\section
*{\refname \@mkboth {\MakeUppercase {\refname
}}{\Mak...
l.1 \begin{thebibliography}{1}
No pages of output.
Transcript written on a.log.
More information about the pdftex
mailing list