I am doing an empirical work on STATA and I used the command sutex in order to obtain the LaTeX code for summary statistics tables.
I am just copying and pasting it on TeXworks (pdfLaTeX file) as said in the help page of the command but I obtain this error:
I am pretty dummy with LaTeX language so maybe the error is something stupid. The command lines are these:
Best Answer
The error message "Missing \begin{document}" means that you are missing a
\begin{document}
to begin your document. Google could have told you that, by the way. Please refer to https://en.wikibooks.org/wiki/LaTeX/Document_Structure for more information.