# [lltx] Fail to compile documents with lualatex

Yan Zhou zhouyan1014 at gmail.com
Thu Jun 10 11:40:18 CEST 2010

Rely to my own message. The same error I get from x86_64-linux, Universal-Darwin, x86_64-darwin, all three platforms.
I think I must missed something here. But I cannot find it out.

On Jun 10, 2010, at 10:31 AM, Yan Zhou wrote:

> Dear all,
>
> I am trying out TeX Live 2010 pretest. I tried to compile an old document with lualatex. It compiles perfectly with pdflatex, but with lualatex, it fails. Below it the error message.
>
> ! LaTeX Error: Missing \begin{document}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
> ...
>
> l.429 \begin{document}
>
>
> It looks rather strange. Luatex stop at the line of  \begin{document} but complain that \begin{document} is missing. Is there any extra setup steps needed for luatex?