I took the STY files(elsarticle.zip) from the following link - http://www.elsevier.com/wps/find/authorsview.authors/elsarticle#models
I am using program package and I want to include the keywords in my paper. However, whenever I include the program package, I get an error.
! Extra }, or forgotten \endgroup.
\endkeyword ->\par \egroup
l.34 \end{keyword}
Here is my latex code, which I have stripped down to see if there was any error. If I remove the program package, it works perfectly fine. Or otherwise if I remove the Keywords part, then also it compiles just fine. However, I need both of them. Could anyone please help?
\documentclass[preprint,1p]{elsarticle}
\usepackage{etex}
\usepackage{amssymb,amsmath}
\usepackage{cite}
\usepackage{array}
\usepackage{url}
\usepackage{multirow}
\usepackage{listings}
\usepackage{epstopdf}
\usepackage{color}
\usepackage{tikz}
\usepackage{program}
\usepackage{pgfplots}
\usepackage[tight,footnotesize]{subfigure}
\usepackage{comment}
\usepackage{soul}
\graphicspath{{./Figures/}}
\journal{Microprocessors and Microsystems}
\begin{document}
\begin{frontmatter}
\title{Title of my report}
\begin{keyword}
keyword1 \sep keyword2 \sep keyword3 \sep keyword4
\end{keyword}
\end{frontmatter}
\end{document}