I am trying to format my paper using Latex with the class elsarticle for an Elsevier journal. I am using TeXnicCenter along with Miktex.

It's working perfectly when the content is all in English (compiled with pdflatex). Working example:


%\newfontfamily\arabicfont[Script=Arabic]{Traditional Arabic}

\journal{Example Journal}


\title{A title for the paper}

% include affiliations in footnotes:
\cortext[mycorrespondingauthor]{Corresponding author}


  Your abstract goes here.
   word1 \sep word2 \sep word3.


enter image description here

Now, the thing is that my paper has some Arabic scripts. To make them appear and work properly, I use the commented packages in the previous code and compile it with XeLatex. This compiles with some warnings, but the resulted PDF is missing the whole frontmatter part! enter image description here

And I get this compilation error message:

! LaTeX Error: \begin{frontmatter} on input line 21 ended by \end{document}.

Any help will be appreciated.

  • Have you tried your .tex file with ShareLaTeX, to ensure that it is not a problem with the version of elsarticle you are using? – Charles Stewart Apr 28 '17 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.