Document Classestrouble with bibitem / biblabel, reference renders weird

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
inarush
Posts: 1
Joined: Tue Dec 30, 2008 12:32 am

trouble with bibitem / biblabel, reference renders weird

Post by inarush »

Hi, I hope someone can help me with this problem:

I am used to using the jfm.cls document class, together with its companion jfm.bst bibliography style file.
Now I am using a different cls file, but I still want the references to render in the text and in the bibliography just the way they do in jfm.cls. By stripping out some lines of the jfm.cls code and placing in my new cls file, the bibliography renders well. However, in the text the citations show up funny, using the entire biblabel. For example, running bibtex on my bib file will generate a bibitem like:

Code: Select all

bibitem[Author1 et al. (2003)Author1, Author2, Author3]{key}
(this is normal)
Using jfm.cls and jfm.bst, in the text when using \cite{key}, this would show up as
"Author1 et al. (2003)"
However, using my new cls file and the old jfm.bst file, the citations shows as
"Author1 et al. (2003)Author1, Author2, Author3"

Clearly, the new cls file is not interpreting the \bibitem label the way I want it to. I cannot find the code in jfm.cls that is responsible for the rendering of cited bibitems... can anyone help?

Thanks!

Recommended reading 2024:

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

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

Post Reply