I'm trying to use the (Author, Year) style of citation in LateX. The following is what I'm trying to use
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plainnat}
Unfortunately I'm getting the attached errors. Can anyone please tell me what should I do to fix this. I've been trying for a few days now.
Thanks in advance for your help.
BibTeX, biblatex and biber ⇒ natbib error
-
- Posts: 19
- Joined: Mon Dec 21, 2009 3:01 am
natbib error
- Attachments
-
- NatbibProblem_1.JPG (63.84 KiB) Viewed 3038 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: natbib error
Well, for a start you've not posted a minimal example. I'm guessing that you've used a natbib .bst file that has not been updated recently. There were some changes in natbib 8 that give errors where before the package simply did stuff without telling you. However, as we don't know which .bst file you are using further help is difficult.
Joseph Wright
-
- Posts: 19
- Joined: Mon Dec 21, 2009 3:01 am
Re: natbib error
Hi Joseph,
First of all, thank you for your reply.
I'm not entirely sure what you mean by minimal example. The only thing I did was that at the start of my document, I also added the natbib package
\usepackage{...,natbib}
Then I tried using those commands stated in my post above.
I downloaded all the packages straight from MikeTex's default package manager. Should I just reinstall the natbib file to the latest updated version? Or is there any other suggesstion that you have.
I have also attached the error I am getting in WinEdt. (sorry I had to zip it but the file size was bigger than 256 kb).
Again, thanks for your help.
First of all, thank you for your reply.
I'm not entirely sure what you mean by minimal example. The only thing I did was that at the start of my document, I also added the natbib package
\usepackage{...,natbib}
Then I tried using those commands stated in my post above.
I downloaded all the packages straight from MikeTex's default package manager. Should I just reinstall the natbib file to the latest updated version? Or is there any other suggesstion that you have.
I have also attached the error I am getting in WinEdt. (sorry I had to zip it but the file size was bigger than 256 kb).
Again, thanks for your help.
- Attachments
-
- NatbibProblem_2.zip
- (208.09 KiB) Downloaded 224 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
natbib error
Quite simple [1]. Follow the instructions and translate them to your problem.steve de costa wrote:[...] I'm not entirely sure what you mean by minimal example. [...]
[1] Creating a LaTeX minimal example
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10