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?
\documentclass{article}
\title{Cartesian closed categories and the price of eggs}
\author{Jane Doe}
\date{September 1994}
\begin{document}
\maketitle
Hello world!
\end{document}