Using Kile on linux I'm trying to write an article in elsevier and include bibliography:



  % this shows references stored in the myrefs.bib file

The myrefs.bib file has this content:

   AUTHOR  = {Zurek, R. W. and Martin, L. J.},
   TITLE   = {Interannual Variability of planet-encircling dust activity on {M}ars},  
   YEAR    = {1993},
   JOURNAL = jgr,
   VOLUME  = {98},
   NUMBER  = {E2},
   PAGES   = {3247--3259}

Then I press PdfLaTex (compiled fine), BibTex (finished with exit code 2), so it is not clear what is wrong. Could you please help?

  • Welcome to TeX.SX! You may have a look on our starter guide. May 14, 2013 at 14:37
  • I tried your example and it works well. May 14, 2013 at 14:37
  • 1
    Could you provide more details on the errors messages you get from BibTeX?
    – Evpok
    May 14, 2013 at 14:38
  • This is the only error message I get: [BibTex]: finished with exit code 2.
    – Sophie
    May 14, 2013 at 14:42
  • Please show us the contents of the file blg. May 14, 2013 at 14:44

1 Answer 1


The OP doesn't have enough reputation to answer her question, so I provide this CW

The log file of BibTeX compiling shows:

This is BibTeX, Version 0.99c (Web2C 7.5.6) 
The top-level auxiliary file: sophie.aux 
I couldn't open style file elsarticle-num.bst ---
line 31 of file sophie.aux : \bibstyle{elsarticle-num : }

I downloaded missed file and put it in the folder where my sophie.tex is. Now is working. To be more subtle, I guess I should put it in the /usr/...latex folder (do not remember full path).

However the missed file is part of TeX Live and should be available via tlmgr: CTAN elsarticle-num

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .