[Tex/LaTex] No ‘References’ title using Elsevier document class


I'm trying to compile an article using the elsarticle document class. The references work ok, but I can't get the article to show the References section title and I don't know why.

Here's a very small working example of my files. Main .tex file:

\journal{Elsevier Journal}


\title{The title}

The abstract.



The intro \citep{areference}.

\section{One section} 
Some text in this section.

\section{Last section} 
Some more text in this other section.



the biblio.bib file looks like this:

  title = {{Ref title}},
  volume = {3},
  journal = {Some journal},
  author = {Last, A. B.},
  year = {1999},
  pages = {1-2},

And this is the output:

enter image description here

My compilation command is this:

pdflatex "%f" && bibtex "%e" && pdflatex "%f" && pdflatex "%f"

What am I doing wrong?

Best Answer

This is the expected behavior with this class. If you look in the template they provide, the elsarticle-template.tex file, you should see 4 lines before the end of the file:

Here are two sample references: \cite{Feynman1963118,Dirac1953888}.