On Fri, Apr 07, 2000 at 09:55:16AM +0100, Angus Leeming wrote:
> When I export a simple document to LaTeX and then
> re-import it into LyX I lose the "Language: english" setting
> in Layout->Document, it being reset to "Language->default".

This is a missing feature in reLyX.

> 
> Furthermore, every paragraph is set between \selectlanguage
> markers:
> 
> \selectlanguage{american} blah blah blah \selectlanguage{english}
> 

The problem is in the original LyX file: the language of the document is set
to English, but the language of each paragraph is American.
This happens if you started writing the document, and after writing several
paragraphs you changed the language of the document. Currently, the change
in the document language does not effect the language of the existing text
(should it be fixed? namely, after changing the language in the document
layout popup, a new yes/no popup appears asking you if you want to change the
language of the existing text).
The correct sequence of actions is to first select the language of the
document, and then start writing the text.
Alternatively, you can always change the language of existing text by
marking it and then typing M-x language english

PS: You should use the latest CVS version (there was a minor bug in the
language support that I've fixed at 2000-04-02).

Reply via email to