BibTeX, biblatex and biberVery basic problem changing BibTeX style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
MichaelS50
Posts: 2
Joined: Tue Jan 04, 2011 1:16 pm

Very basic problem changing BibTeX style

Post by MichaelS50 »

\documentclass[11pt]{article}
\begin{document}
\nocite{greenwade93}
\bibliographystyle{chicago}
\bibliography{References}
\end{document}


This very minimal example works fine when I use 'plain' bibliography style, but with 'chicago' or anything else I have tried I get the following error:

! Undefined control sequence.
<argument> \protect \citeauthoryear
{Greenwade}{Greenwade}{1993}
l.3 ...r{Greenwade}{Greenwade}{1993}{greenwade93}

?


If I hit enter and ignore the warning the reference comes out right except that it is prefixed with "[GreenwadeGreenwade1993]"

Any ideas?

Thank you,

Michael
Last edited by MichaelS50 on Wed Jan 12, 2011 7:20 pm, edited 1 time in total.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Very basic problem changing BibTeX style

Post by frabjous »

The Chicago bibliography style (.bst) and related ones are typically used with an author-date bibliography package like natbib:

Code: Select all

\documentclass[11pt]{article}
\usepackage{natbib}
\begin{document}
\nocite{greenwade93}
\bibliographystyle{chicago}
\bibliography{References}
\end{document}
That should solve the error. Natbib has a lot of features and options which you'll probably want to read about in its documentation.

There's an older package just called "chicago" (\usepackage{chicago}) which should also work, but I think natbib is more advanced.
MichaelS50
Posts: 2
Joined: Tue Jan 04, 2011 1:16 pm

Re: Very basic problem changing BibTeX style

Post by MichaelS50 »

Worked like magic, many thanks.

I have been looking at all these various packages and options for several days and just didn't piece it together.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Very basic problem changing BibTeX style

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Best regarsd and welcome to the board
Thorsten
Post Reply