Dear Richard, Attached please find the files: the original lyx file (sample1.lyx), the exported latex file (sampletex.tex), and the imported back lyx file (sampletex.lyx). The Theorem module is not compiled and appear as \begin{lem}.
Thank you in advance for your help. Regards, Rahayu ________________________________________ From: Richard Heck [rgh...@lyx.org] Sent: Tuesday, November 13, 2012 7:18 PM To: Prihatin, R. (Rahayu); lyx-users Subject: Re: Import Latex vs AMS Layout On 10/22/2012 10:16 AM, Rahayu wrote: > I enjoy working with LyX very much, > however I have to exchange .tex files with my colleagues, > because Latex is the common format for them. > So I export my work in LyX to .tex format, however when I get my > file back, and I need to import the .tex file to LyX again, > it doesn't recognize the Theorem and appear in > ERT or latex box, which is so inconvenient. > > Anyone could help please? > What version of LyX are you using? Can you post the simplest possible example file that causes this problem for you? Richard
sample1.lyx
Description: sample1.lyx
sampletex.lyx
Description: sampletex.lyx
sampletex.tex
Description: sampletex.tex