"! You can't use `\end' in internal vertical mode." Error
The abstract
for an amsart
document should be given in environment for
\begin{abstract}
...
\end{abstract}
Given as just \abstract
, TeX is collecting a box, and you can't end the run the document in that situation. As there's no \end{abstract}
you never close the box properly.