Generalnatbib | Bibliography incompatible to Author-Year Citations

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
StealthBadger
Posts: 2
Joined: Thu Aug 02, 2012 8:03 am

natbib | Bibliography incompatible to Author-Year Citations

Post by StealthBadger »

Hi,

I have been using LaTeX for a few years now and haven't come across this problem before. I'm used to using BibTeX to do my references, but I'm writing an abstract for a conference, and they need me to send it in one LaTeX file for them to put into the proceedings booklet. I cannot seem to get LaTeX to allow me to use the authordate citation style using this method though. I keep getting this error message.

Code: Select all

! Package natbib Error: Bibliography not compatible with author-year citations.
I have attached a simplified version of my file (on which I still get the same error). I am using the \bibliographystyle{plainnat}, and cannot see any problems with my bibliography entries, so I'm pretty confused!

Code: Select all

\bibliographystyle{plainnat}
\small
\begin{thebibliography}{3}

\bibitem{isrm88} F. Ouchterlony, "International Society for Rock Mechanics Commision on Testing Methods: Suggested Methods for Determining the Fracture Toughness of Rock," {\em International Journal of Rock Mechanics and Mining Science \& Geomechanics Abstracts}, Vol. 25, 1988.

\bibitem{alshayea00} N.A. Al-Shayea and K. Khan and S.N. Abduljauwad, "Effects of confining pressure and temperature on mixed-mode(I-II) fracture toughness of a limestone rock," {\em International Journal of Rock Mechanics and Mining Sciences}, Vol. 37, pp. 629-643, 2000.

\bibitem{krishnan98} G.R. Krishnan and X.L. Zhao and M. Zaman and J.C. Roegiers, "Fracture Toughness of a Soft Sandstone," {\em International Journal of Rock Mechanics and Mining Sciences}, Vol. 35, No. 6, pp. 695-710, 1998.

\end{thebibliography}
If anybody can help me, I'd greatly appreciate it. I've attached the whole log file, in case that's useful.
Attachments
BGA_abstract_simp.log
The corresponding log file
(5.26 KiB) Downloaded 222 times
BGA_abstract_simp.tex
Simplified version of the source file
(1.26 KiB) Downloaded 262 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

natbib | Bibliography incompatible to Author-Year Citations

Post by kaiserkarl13 »

Did you write that file yourself, or did BibTeX generate it? Since it's almost certainly the former, I'll just say that Natbib is telling the truth and move on.

I recommend writing this using \bibliography{} (getting rid of the "thebibliograpy" environment) and letting BibTeX generate the bibliography for you. Once you're done editing and ready to submit, simply comment out the \bibliography and \bibliographystyle commands, then include the .bbl file that BibTeX generated in the .tex file in their place.
Post Reply