My first lyx file only compiles like in verbatim mode. Why? <p>I type the following text in Lyx, compile it with Apple+R, but get a verbatim version. How can I compile such a document as we do in pdflatex?</p> <pre><code> \documentclass{article} \title{Cartesian closed categories and the price of eggs} \author{Jane Doe} \date{September 1994} \begin{document} \maketitle Hello world! \end{document} </code></pre>