I am a new Lyx user and I would like to import LaTeX files into Lyx. Apparently the importer cannot recognize enviroment like theorem, lemma, remark, etc. Consider this simple example:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article}% \newtheorem{theorem}{Theorem} \newtheorem{remark}[theorem]{Remark} \begin{document} \title{prova} \author{prova} \maketitle \begin{abstract} Bla bla bla bla \end{abstract} \section{section1} Here is the theorem: \begin{theorem} \label{Thm1}This is Theorem 1. \end{theorem} \begin{remark} This is the Remark. \end{remark} \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% If you import it into Lyx the \begin{theorem}, \end{theorem} \begin{remark}, \end{remark} are not recognized by the importer and you simple see it in red into the text. Am I missing something? Is there any workaround to force Lyx to recognize them? Best regards Luca