Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bibliography not compatible with author-year citations

8,594 views
Skip to first unread message

rudra

unread,
Apr 19, 2012, 2:03:03 AM4/19/12
to
Friends,
When citing a chapter with \citep and
natbib(\usepackage[square,authoryear]{natbib})
I am facing error:
! Package natbib Error: Bibliography not compatible with author-year
citations.

(natbib) Press <return> to continue in numerical
citation style.


See the natbib package documentation for explanation.
Type H <return> for immediate help.
...

l.62 ...mand\NAT@force@numbers{}\NAT@force@numbers

? h
Check the bibliography entries for non-compliant syntax,
or select author-year BibTeX style, e.g. plainnat

Though I am using pliannat :
\renewcommand{\bibname}{References}
\addcontentsline{toc}{section}{References}
\bibliography{biblio}
\bibliographystyle{plainnat}

I cannot make a MWE as i dont know where exactly the error is.
At aux file, line 62 is :
\providecommand\NAT@force@numbers{}\NAT@force@numbers

Please help.
I tried not loading natbib and use \cite only, but as usual, cite key
is often going out of margin. That is why i need natbib and citep.
please help

Marc van Dongen

unread,
Apr 19, 2012, 3:33:19 AM4/19/12
to
I'm not a regular natbib user and you don't post a minimal example, which why I suspect that your \bibliographystyle{plainnat} tells natbib to generate citations with numbers in the labels. This style isn't compatible with author-year style citations. I had a quick look at the natbib source and it seems to confirm my suspicion.

If natbib _really_ doesn't work for you, you may consider using biblatex.

Regards,


Marc van Dongen

bnrj....@gmail.com

unread,
Apr 19, 2012, 7:03:30 AM4/19/12
to
Dongen,
Thanks for your help.
It has been sorted out. The problem

latoyalc...@gmail.com

unread,
May 20, 2018, 9:23:13 AM5/20/18
to
how did you sort this ?

Peter Flynn

unread,
May 20, 2018, 4:55:58 PM5/20/18
to
This is Usenet. If the message has been expired from your local
newsspool, you can use the archive at groups.google.com and find the
original posts and see what Marc wrote.


https://groups.google.com/forum/#!searchin/comp.text.tex/Bibliography$20not$20compatible$20with$20author-year$20citations%7Csort:date/comp.text.tex/xRgev5g_XUI/mJU4uoAJCQAJ

///Peter
0 new messages