Uwe Stöhr wrote:
> - The attached patch supports \selectlanguage etc. in tex2lyx.

I think there's a problem: the language switch is not static, it depends on 
what the user defined as lyxrc.language_command_begin and 
lyxrc.language_command_end. So you cannot assume (and hardcode) 
\selectlanguage as the language switch, you have to check if this is actually 
defined in lyxrc (if not, ERT should be output). Apart from \selectlanguage, 
we should then probably also support (at least) babel's "otherlanguage" 
environment.

Jürgen

Reply via email to