Package natbib Error: Bibliography no compatible with author-year citations.(natbib) press to proceed in numerical quote style.

You are watching: ! package natbib error: bibliography not compatible with author-year citations.

Any proviso what"s wrong?

Minimum working example:

documentclassarticleusepackagenatbibusepackagelipsumegindocumentlipsum<1-4> ocite*ibliographystyleapalikeibliographyarticlesenddocument A snippet of mine .bib library:


articleshortcode,author = Lastname, Firstname,file = :/path/to/file.pdf:pdf,journal = Journal name,number = xx,pages = x--xx,title = Title,volume = xx,year = xxxx
bibtrident-gaming.net errors natbib
share
boost this concern
monitor
edited may 5 "12 in ~ 12:57

*

lockstep
234k6666 yellow badges680680 silver badges765765 bronze title
asked might 5 "12 at 12:35
*

grrrbytesgrrrbytes
3,51555 gold badges1616 silver badges2222 bronze title
3
7
I had actually the very same problem and didn't have any kind of BiBtrident-gaming.net entries there is no years. Ns was able to solve this error by transforming two cite regulates to citet or citep.
–user31480
might 30 "13 at 3:45
remove listed below line in the preamble works for me %ibpunct();a,,
–user39708
Nov 8 "13 at 15:18
add a comment |

13 answer 13


energetic oldest Votes
131
Another means this error deserve to arise is if one of your Bibtrident-gaming.net entries has actually no year.

To discover out i m sorry entry the is, look earlier in the calculation for a message like Warning--empty year in ABC2019. So examine ABC2019.


re-publishing
improve this answer
monitor
edited Jul 2 "19 in ~ 14:48
*

Ken Arnold
10333 bronze title
answered may 30 "12 in ~ 20:03
*

mockery PorterJosh Porter
1,32611 gold badge88 silver badges22 bronze badges
5
add a comment |
182
When changing the bibliography style, occasionally natbib is upset due to the fact that it can"t translate the data correctly.

In any kind of case, after changing the argument to ibliographystyle a run of Latrident-gaming.net and one of Bibtrident-gaming.net are essential to get earlier in sync. Removed the .bbl and also .aux files prior to those run is recommended, in bespeak to stop spurious error messages that might corrupt the .aux record currently being generated.


re-publishing
boost this answer
follow
answered might 5 "12 at 12:43
*

egregegreg
954k120120 yellow badges23932393 silver badges38943894 bronze badges
7
| present 2 an ext comments
151
I had actually the same error trying to use spmpsci.bst in conjunction with natbib. When natbib"s default citation format is author-year, spmpsci.bst is numeric, therefore this is a strange error come get. Ns eventually readjusted the following:

usepackagenatbibto

usepackagenatbibProblem went away.


re-superstructure
enhance this answer
monitor
edited Oct 2 "12 in ~ 15:56
lockstep
234k6666 gold badges680680 silver- badges765765 bronze badges
answered Oct 2 "12 at 15:53
Joe ScottJoe Scott
1,51111 yellow badge99 silver badges22 bronze title
7
8
Thanks! usepackagenatbib that helped for me.
–user39408
Nov 3 "13 in ~ 9:28
| display 2 more comments
28
The error occurs because natbib cannot discover year information in the .bbl record (or possibly, yet less likely, it cannot find writer information). You have the right to open the up you yourself to watch why this is the case.

The simplest reason would be the you have actually a ibitem through the year ar missing. A trickier factor is the your bibliography style does not output year info in a method that is parsable by natbib. For example, ns was utilizing ibliographystyleabbrv, which does not play nicely through natbib. I resolved the difficulty by using rather ibliographystyleauthordate1. The course, delete all short-lived files, particularly .bbl and .aux files, ~ making this change.

A last workaround is to usage usepackagenatbib when consisting of the package. This outputs numbered citations instead of (author, year) citations and also does not need year information.


re-publishing
boost this price
follow
edited Apr 1 "14 in ~ 22:23
Werner♦
555k115115 yellow badges12931293 silver- badges21202120 bronze title
answer Apr 1 "14 in ~ 22:02
JimmyFJimmyF
28133 silver badges22 bronze title
1
include a comment |
11
Follow this steps:

Delete the .aux and the .bbl filesDo your alters (in the ibliographystyle or in any option the natbib)Run Latrident-gaming.netRun Bibtrident-gaming.net
re-superstructure
boost this answer
follow
edited Nov 11 "13 at 2:35
Werner♦
555k115115 gold badges12931293 silver- badges21202120 bronze title
reply Nov 11 "13 at 1:17
chaouachichaouachi
11111 silver- badge22 bronze title
1
include a comment |
6
Another method this error deserve to arise is if among your Bibtrident-gaming.net entries has actually no year. (From mockery Porter"s answer)

This is true, yet due come the mismatch between natbib package and also your bibliographystyle settings, instead of a pest of natbib, which provides its own bibliography layouts (even though natbib supports the original bibtrident-gaming.net styles however not completely).

natbib intends to offer far better author-year citations. If making use of natbib, friend should select plainnat, abbrvnat or unsrtnat. For example,

documentclassarticleusepackagenatbibusepackagelipsumegindocumentlipsum<1-4>ibliographystyleabbrvnatibliographyarticlesenddocument below is not necessary, which provides it look close come APA style. If girlfriend want use IEEE-like style, you can use usepackagenatbib.

However, if you use apalike, ieeetr, siam, etc., it implies you use the default bibtrident-gaming.net styles, you need to comment natbib package; otherwise, girlfriend would satisfy the troubles if your bib papers contain entries there is no author/year information.

See more: Second Chance Dog Rescue San Diego Ca Lifornia, Second Chance Dog Rescue, San Diego, California

Either means should resolve your problem. This additionally brothers me for a long time, early to plenty of incorrect instances in blogs.