>> Having another comand then \selectlanguage set in the preferences means
>> you're using LyX with arabtex
> Not necessarily. You can also use, for instance, babel's
>
> \begin{otherlanguage}
> ...
> \end{otherlanguage}
My statement was indeed a bit polemic. But anyway, there is not much we can do. When the user has
set to use otherlanguage and imports a file using \selectlanguage, he knows what he's doing.
I remembered that I asked what this preferences setting is for and therefore searched for an
explanation in the docs and our webpage. As result this feature is first described in the UserGuide
for LyX 1.5.2 and was only described before in Dekel's webpage how to set up Arabic with LyX. So
when somebody changes this, he's a LaTeX expert or an Arabic user. That's what I meant.
But as you agree to my patch in general, I'll put in a cleaned up version
according to JMarc's requests.
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.
regards Uwe