I have opened the file in TextWrangler and have seen a mixture of
\lang english and \lang french. I have deleted all of them using a
search and replace (the default language is French anyway) and saved
the doc. Now everything seems in order again and I do not see any wavy
red underlines for the text in French.

I can see them for the text in English. When I tried to mark them as
English, I have seen the contextual menu does not contain the Language
item (I imagine that this is due to the fact that my text is now
monolingual).

So, if I understand well, when you start a new document and put into
it a first chunk in another language, you have to go through the
Paragraph Settings/Customized/Language, instead of Language in the
contextual menu. Afterwards the Language menu item becomes visible,
since Lyx detects that your document contains at least two languages.
Maybe Lyx is trying to be too smart here, no? IMHO, it would be nice
to have this Language menu item from the start (supposing that it
effectively does what it is supposed to do :-)  ). Am I the only one
to think like that (if this is the case, I could customize my
contextual menu in Lyx I imagine, I have never tried this?



2011/9/19 Stephan Witt <st.w...@gmx.net>:
> Am 19.09.2011 um 18:48 schrieb Murat Yildizoglu:
>
>> Hi,
>>
>> I am using Lyx 2.0.1 under OSX. I have started to type a document. The
>> document is in French, but I have forgotten first to switch the
>> document properties/Language from English to French. After two
>> paragraphs I woke up and done the change, but now it continues to
>> check the first paragraphs in English, whatever I try... I have
>> selected all paragraphs + right-click + Language+Français, but it
>> continues to indicate English at the bottom of the screen.
>>
>> I have also tried to do it paragraph by paragraph, but without any
>> success. It continues to think that the text is in English.
>>
>> Moreover, I have also tried to choose Français as language in
>> Tools/Spell-check but it switches by itself to English as soon as
>> raise the mouse button in the selection box.
>>
>> What is the magic way of asking to Lyx to set the language to the one
>> we select? Is there a way?
>
> I think it should work to change the language of the document and/or
> the language of some paragraph. Changing the language in the spell checker
> changes it for the currently selected word only.
>
> Stephan



-- 
Prof. Murat Yildizoglu
Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

yi...@u-bordeaux4.fr
http://yildizoglu.info
http://www.twitter.com/yildizoglu

Reply via email to