Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Hi, importing my latex documents with the tex2lyx feature offered by LyX does not translates the environments of the ams article class properly. The latex code \begin{cor} hm \end{cor} is translated to \begin{cor} hm \end{cor} - where the the \begin{cor} and

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
rgheck rgh...@... writes: Thanks! Sorry, but I am having questions to understand your solution: This is a known problem. The solution is to modify the layout file as follows. Let's say you're using the AMS article layout. Copy amsart.layout to your local LyX directory. Open it and, in place

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it possible that the

Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it

Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Hi, importing my latex documents with the tex2lyx feature offered by LyX does not translates the environments of the ams article class properly. The latex code \begin{cor} hm \end{cor} is translated to \begin{cor} hm \end{cor} - where the the \begin{cor} and

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
rgheck rgh...@... writes: Thanks! Sorry, but I am having questions to understand your solution: This is a known problem. The solution is to modify the layout file as follows. Let's say you're using the AMS article layout. Copy amsart.layout to your local LyX directory. Open it and, in place

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it possible that the

Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it

Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Hi, importing my latex documents with the tex2lyx feature offered by LyX does not translates the environments of the ams article class properly. The latex code \begin{cor} hm \end{cor} is translated to \begin{cor} hm \end{cor} - where the the \begin{cor} and

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
rgheck writes: Thanks! Sorry, but I am having questions to understand your solution: > This is a known problem. The solution is to modify the layout file as > follows. Let's say you're using the AMS article layout. Copy > amsart.layout to your local LyX directory. Open it and, in

RE: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread Jannick Asmus
Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it possible that the

Re: LaTeX import: ams environments not correctly compiled

2009-07-08 Thread rgheck
Jannick Asmus wrote: Just checked with with the changed .layout-file in the layout-folder of the installation tree (I am working on a Vista machine). The funny thing is that the code is correctly presented in the LyX-LaTeX preview window and can be well digested by LaTeX after re-export. Is it