Received instructions to fight yesterday to the middle of the night, latex some of the situation,
1, first document references
The main problem is this error.
! Package Natbib error:bibliography not compatible with author-year citations.
(Natbib) Press <return> to continue in numerical citation style.
The Natbib package documentation for explanation.
Type H <return> for immediate help.
...
Last night all the debugging is that this error is almost collapsed, no matter how you debug is wrong, even if you add the code is deleted (originally by compiling the case), it is a nightmare (and I was also successfully lit).
first, eliminate the impact of previous error compilation
Search the Internet for some, delete the two files in the source folder. Aux and the. bbl files, such a previous error-compiled file will not affect
Follow These steps:delete the .aux and the .bbl files does your changes (in the \bibliography Style or in the Any option Of natbib) run LaTeX run BibTeX draw with this click to open the link http://tex.stackexchange.com/questions/ 54480/package-natbib-error-bibliography-not-compatible-with-author-year-citations This link inside the PO summed up very carefully AH Click on the Open link http://www.cppblog.com/guijie/archive/2012/10/21/193612.html This po Lord should crash the same night as Me (2105-2-2)
Two, wrong end I am using the template Reference document format is \BIBLIOGRAPHYSTYLE{TJDE}
\bibliography{lizhew}
and I use the minimal experience of using a latex before to change it to \bibliographystyle{ieeetr}
\bibliography{lizhew
The references that are produced by the literature are not the same format, will not be the full text of what the problem, in fact, I think it should be given the template is certain, the next time can not be privately modified, dawdling for a night, just to find out that this error may be other causes, I'm just one of the
three, other possible causes of this error
according to the research and possibly, first of all,
\usepackage[square,sort,comma]{natbib}
To
\usepackage[square,sort,comma,numbers]{natbib}
or%\documentclass[authoryear,preprint,review,12pt,numbers,sort&compress] Before I also joined this, but unfortunately it is directly fatal error,
Second
When compiling a manuscript using Natbib, latex an error (but the resulting PDF file is correct): Package natbib error:bibliography not compatible with author-year citations. (Natbib) Press <return> to continue in numerical citation style.
The error message indicates that the document entry (the content in the bib file) is incompatible with the reference format of author-year, that is, some of the literature is missing the author or year field and cannot be used as a "author-years" reference format. There are two kinds of solutions:
1. Ensure that all documentation entries contain author fields and year fields;
2. When calling the Natbib macro package, use the numbers parameter, namely: \usepackage[square, comma, sort&compress, numbers]{natbib}
I followed the second way, the compilation of the manuscript no longer occurs in this error.
From http://www.comdyn.cn/from-web/latex/361- Package-natbib-error-bibliography-not-compatible-with-author-year-citations Click on the Open link
I tried it on my own, and there was this other one.
Error option clash for package Natbib online look for a side saying is needed
Delete the \usepackage[suqare] {natbib}. and change the head to look here http://blog.sina.com.cn/s/blog_ab4ebc3e0102v12y.html click on the Open link \documentclass[authoryear,preprint,review, 12pt,square,comma]{elsarticle} But unfortunately for me the situation is directly fatal error,
There are two ways to cite the literature.
One is: Bibterm the other is. Bib, personally inclined to the second simple, adding these two words
\BIBLIOGRAPHYSTYLE{TJDE} \bibliography{lizh} One of the Lizh is Lizh.bib (a new Google reference to the BibTeX paste over the line) name, Tjde according to your template change, do not own self-righteous changes BibTeX Direct Valley of the academic reference, is this
Summary: Finally finally oneself will first two files. Aux and the. bbl files deleted, get rid of \bibliographystyle{tjde} Compile can pass, reason not to say more, (= = Grace said more are tears), oneself self-righteous.