# [texhax] pdftex

Karl Berry karl at freefriends.org
Sun Mar 27 18:20:36 CEST 2005

    ! LaTeX Error: Missing \begin{document}.
...
l.286 \pdfoutput=
1

It is hard to say for sure, but it would seem the problem is simply that
you are running "latex".  Try running "pdflatex" instead.

I don't see anything to indicate that you are missing packages.

The document does run for me for pdflatex (from TL 2004); with latex, I
get the exact same error you do.

Hope this helps,
karl