Your input file must contain the following commands as a minimum.
 \documentstyle{style}
 \begin{document}
   ... your text goes here ...
 \end{document}
 where the style selected  is one the valid  styles  for LaTeX; see
 Document Styles.
You may include other LaTeX commands between the \documentstyle and the \begin{document} commands.