On 04/20/2011 07:21 PM, Marc Wijnand wrote:
Hi

I am trying to learn how to make a document with Latex. I am working on Mac OS 
X and I installed MacTex and LyX.
I just typed

        \documentclass{document}
        
        \begin{document}
        Hello world!
        \end{document}

but when trying to make a pdf, I get this error message:

As the message indicated, you did not enter those commands in the preamble, which is accessible from within LyX through Documents -> Settings -> preamble (bottom of list). You are trying to enter raw TeX in a LyX document. This is not how it is done.

--

David L. Johnson

Some people used to claim that, if enough monkeys sat in front of
enough typewriters and typed long enough, eventually one of them would
reproduce the collected works of Shakespeare.  The internet has
proven this not to be the case.

Reply via email to