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 of the line The local LyX directory is the working directory - or any directory the original tex file is in? Just put the .layout into my working directory, but it didn't work. > DefaultModule theorems-ams > put this: > Input theorems-ams.module > Then save, reconfigure LyX, and try importing again. > > > 2. If problem 1. can be amended, how can we make sure that the environments > > are correctly ended in LyX, e.g., after some paragraphs in an environment? > > > > > I don't understand this question. Can you post an example of the problem? Let's assume that there are sub-environments or - in LyX style - a paragraph within an environment where the last line of the preceding paragraph ends by Ctrl-Space. Best wishes, J.