[EMAIL PROTECTED] (Jürgen Spitzmüller) writes:

>> How can otherlanguage be supported? The default LyX setting is
>> \selectlanguage. So when a user mports a LaTeX-file using otherlanguage, he
>> gets by default \selectlanguage instead. To make it correct, I would import
>> this as ERT. Because having LaTeX-files where \selectlanguage and
>> otherlanguage is mixed is a valid file.
>
> As you like. Or import it as a language change, like \selectlanguage. I think 
> \selectlanguage and otherlanguage results in the same output (contrary to 
> otherlanguage*), so that wouldn't harm (and result in less ERT). 
> otherlanguage* should be imported as ERT indeed.

And \foreignlanguage can be handled like \selectlanguage too.

BTW, Uwe, there is something I only realize now. You output explicit
"\\lang" statements in text.cpp, whereas this should be done at font
level. Is there a reason for that? 

The language handling should use the context machinery like the other
font changes.

JMarc

Reply via email to