Hi Mostafa,<div><br></div><div>Could you perhaps include the bit of your source file surrounding the error, the bit of the log file surroundign your error, and your document preamble? The preamble would be the bit from the very beginning of the document up to the \begin{document} command. </div>
<div><br></div><div>Cheers,</div><div>Yuri.<br><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 11:30 PM, Mostafa ali <span dir="ltr"><<a href="mailto:wremostafa@yahoo.com">wremostafa@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman, new york, times, serif;font-size:18pt"><div>Hi Yuri</div>
<div> </div>
<div>Thanks for your reply. But that is not the problem. I typed wrong here. In the original error message it comes as \harvardcite. But the problem is that I am not using any harvard style or any harvard package. But I am not sure why still getting this message. I want to use natbib package and want to use natbib reference citation code, e.g. citet, citep etc. </div>
<div> </div><font color="#888888">
<div>Mostafa</div>
</font><div> </div><div class="hm">
<div> </div>
</div><div style="font-family:times new roman, new york, times, serif;font-size:18pt"><div class="hm"><br>
</div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div class="hm"><font size="2" face="Tahoma">
<hr size="1">
<b><span style="font-weight:bold">From:</span></b> Yuri Robbers <<a href="mailto:yuri.robbers@gmail.com" target="_blank">yuri.robbers@gmail.com</a>><br><b><span style="font-weight:bold">To:</span></b> Mostafa ali <<a href="mailto:wremostafa@yahoo.com" target="_blank">wremostafa@yahoo.com</a>><br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:texhax@tug.org" target="_blank">texhax@tug.org</a><br><b><span style="font-weight:bold">Sent:</span></b> Tue, March 8, 2011 2:43:18 PM<br><b><span style="font-weight:bold">Subject:</span></b> Re: [texhax] Natbib problem<br>
</font></div><div><div></div><div class="h5"><br>Hi Mostafa,
<div><br></div>
<div>You probably mean \harvardcite rather than \havartcite. So isnert the missing r and replace the t with a d. That should solve your problem.</div>
<div><br></div>
<div>Best wishes,</div>
<div>Yuri.<br><br>
<div class="gmail_quote">On Tue, Mar 8, 2011 at 10:14 PM, Mostafa ali <span dir="ltr"><<a href="mailto:wremostafa@yahoo.com" rel="nofollow" target="_blank">wremostafa@yahoo.com</a>></span> wrote:<br>
<blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote">
<div>
<div style="font-family:times new roman, new york, times, serif;font-size:18pt">
<div>Hi </div>
<div> </div>
<div>I am a new user to the Tex system. I wrote my thesis using havard package refrence style, but now I want to use natbib package. So I put \usepackage{natbib}, used <a rel="nofollow">\bibliographystyle{plainnat</a>} and also changed cite to \citet{}. But don't know why I am getting this following error message. </div>
<div> </div>
<div><font color="#ff0000">! undefined control sequence</font></div>
<div><font color="#ff0000">1.5 \havartcite</font></div>
<div><font color="#ff0000"> {chaudhry08}{}{}{}</font></div>
<div><font color="#ff0000"></font> </div>
<div><font color="#000000"></font> </div>
<div><font color="#000000">I thought that it would be simple. Now I don't have any idea what's I am doing wrong. Any help would be appreciable.</font></div>
<div> </div>
<div>Thanks.</div>
<div> </div>
<div>Mostafa</div>
<div> </div>
<div> </div>
<div> </div></div><br></div><br>_______________________________________________<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br><br>Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org" rel="nofollow" target="_blank">postmaster@tug.org</a><br></blockquote></div><br></div></div></div></div></div></div><br>
</div></blockquote></div><br></div>