I have a LaTeX file intended as a submission to an Elsevier
journal, that compiles with a spurious error. A mini-example
is at www.dieterbritz.dk/err.zip.
It calls on the file
elsarticle.cls, included. When I compile it with pdflatex,
I get the apparent error
! Missing } inserted.
<inserted text>
}
l.32 \end{frontmatter}
?
but when I persist, it compiles correctly. So this is
not an error. I can't submit the paper because the journal
will reject it as having an error, so I must fix this.
What is wrong here?
I have a LaTeX file intended as a submission to an Elsevier
journal, that compiles with a spurious error. A mini-example
is at www.dieterbritz.dk/err.zip. It calls on the file
elsarticle.cls, included. When I compile it with pdflatex,
I get the apparent error
! Missing } inserted.
<inserted text>
}
l.32 \end{frontmatter}
?
but when I persist, it compiles correctly. So this is
not an error. I can't submit the paper because the journal
will reject it as having an error, so I must fix this.
What is wrong here?
I have a LaTeX file intended as a submission to an Elsevier
journal, that compiles with a spurious error. A mini-example
is at www.dieterbritz.dk/err.zip. It calls on the file
elsarticle.cls, included. When I compile it with pdflatex,
I get the apparent error
! Missing } inserted.
<inserted text>
}
l.32 \end{frontmatter}
?
but when I persist, it compiles correctly. So this is
not an error. I can't submit the paper because the journal
will reject it as having an error, so I must fix this.
What is wrong here?
db wrote:
But now there is a new problem. The title appears on both
pp. 1 and 2, the first without, the second with that Abstract.
What do I do now?
In mini.tex you have both \maketitle and \begin{frontmatter}...\end{frontmatter}
while in elsarticle.cls the frontmatter-environment is defined as \newenvironment{frontmatter}{}{\maketitle}.
Thus you have \maketitle twice and get two title pages.
Probably commenting out \maketitle and keeping the
frontmatter-environment does the trick.
But now there is a new problem. The title appears on both
pp. 1 and 2, the first without, the second with that Abstract.
What do I do now?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 481 |
Nodes: | 16 (2 / 14) |
Uptime: | 24:30:42 |
Calls: | 9,543 |
Calls today: | 3 |
Files: | 13,654 |
Messages: | 6,140,323 |