5

My tex file contains

\documentclass[review]{elsarticle}
\usepackage{arabtex}

\journal{Journal of \LaTeX\ Templates}

\begin{document}

\begin{frontmatter}


\begin{abstract}
Test
\end{abstract}

\begin{keyword}
test .
\end{keyword}

\end{frontmatter}
\end{document}

It's give me the error

! Missing } inserted.
<inserted text>
}
l.26 \end{abstract}

When I remove the abstract block the error is solved but doesn't make sense. and also when I remove the using package "arabtex" and "utf8" the error also solved but my actual paper use those packages.

How to solve this problem, Thanks in advance

1
  • I simplified your example,m narrowing the problem down to a clash between arabtex and elsarticle Nov 11, 2017 at 12:19

1 Answer 1

9

The arabtex package redefines \endabstract to do \endlist instead of \egroup (which is what elsarticle expects).

\documentclass[review]{elsarticle}
\usepackage{arabtex}

% fix the redefinition of \endabstract done by arabtex
\def\endabstract{\egroup}

\journal{Journal of \LaTeX\ Templates}


\begin{document}

\begin{frontmatter}

\begin{abstract}
Test
\end{abstract}

\begin{keyword}
test .
\end{keyword}

\end{frontmatter}
\end{document}

The problem is in line 297 of asect.sty that has

\let \endabstract \endquotation
1
  • Thanks a lot, It's worked finally. I'm in this point about month
    – userG
    Nov 11, 2017 at 23:20

You must log in to answer this question.

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