\bibitem[\protect\citeauthoryear{Wang and Vergara-Niedermayr}{2008}]{wang08com}
Wang, F. and Vergara-Niedermayr, C. (2008) `Collaboratively Sharing
Scientific Data', {\it CollaborateCom}, pp.805--823.



when i run this tex code i find this error "! Package natbib Error: Bibliography not compatible with author-year citations.". I am not able to figure out this ...please help

  • 2
    Since you are clearly not using biblatex, that tag should probably be removed (people have alerts associated to tags, so questions of a chosen type are highlighted) – daleif Aug 9 '17 at 11:52

If you want to make your hand-edited bibliographic items compatible with the format that natbib expects, you have to change

\bibitem[\protect\citeauthoryear{Wang and Vergara-Niedermayr}{2008}]{wang08com} ...


\bibitem[Wang and Vergara-Niedermayr(2008)]{wang08com} ...

(Aside: Who taught you to write \protect\citeauthoryear{Wang and Vergara-Niedermayr}{2008}]?!)

Mainly, you should make an effort to learn how to use BibTeX and/or biblatex.

A full MWE (note that your code snippets are compilable):

\documentclass{article} % "singlecol-new" ?



\bibitem[Wang and Vergara-Niedermayr(2008)]{wang08com}
Wang, F. and Vergara-Niedermayr, C. (2008) `Collaboratively Sharing
Scientific Data', {\itshape CollaborateCom}, pp.\ 805--823.

  • @mico..thanx a lot.....\protect\citeauthoryear{Wang and Vergara-Niedermayr}{2008}] style has been from a journal template as i am following their template. – Wang Aug 9 '17 at 12:06
  • Following templates is the source of much frustration... (The journal template probably doesn't load the natbib package, though, does it?) – Mico Aug 9 '17 at 12:15
  • @mico...ya it does not load natbib package.. the above code snippets of yours also getting the same error... – Wang Aug 9 '17 at 12:29
  • @NiranWang - Really?! I get no errors when compiling my answer (which is definitely not a "code snippet"!) under pdflatex (MacTeX2017) Did you delete the aux file before re-running LaTeX twice? – Mico Aug 9 '17 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.