I'm very new so please bear with me. I have just exported my bibliography from Endnote into a .bib file. I have put it in the same folder as my Tex file.

Entries look like this:

   author = {Bertrand, M. and Duflo, E. and Mullainathan, S.},
   title = {How Much Should We Trust Difference-In-Differences Estimates?},
   journal = {Quarterly Journal of Economics},
   volume = {119},
   pages = {249-275},
   year = {2004}

In my TeX file, I have inserted the following code before the \begin{document}:


However, I do not know how to use cite{} or citep{} as my .bib entries seem to have no key.

       author = {Bertrand, M. and Duflo, E. and Mullainathan, S.},

Anyone knows what code would cite this paper of Bertrand and Duflo in my text?

closed as off-topic by Mico, Paul Gessler, Adam Liter, cmhughes, Przemysław Scherwentke Feb 7 '15 at 21:49

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.SX! It seems that Endnote missed assigning a key to the item. Add one where you have **SOMETHING MISSING HERE**. It can be anything. – egreg Feb 7 '15 at 19:07
  • 1
    Add a key in the place you've marked, say 'bertrand2004', and then use \cite{bertrand2004} in your .tex file. – jon Feb 7 '15 at 19:09
  • You can just insert your own key there by hand. Or if you want it done automatically, look here. – Juri Robl Feb 7 '15 at 19:09
  • (Can't edit earlier comment) note that the entry key must end with a comma, just like the other fields of the entry. – jon Feb 7 '15 at 19:11
  • 4
    I'm voting to close this question as off-topic because it is about an error that occurred in Endnote, rather than among TeX and friends. If you can't get Endnote to produce keys, you'll have to insert them manually in the bib file. – Mico Feb 7 '15 at 20:58

Browse other questions tagged or ask your own question.