Am 11.01.2011 um 14:25 schrieb Murat Yildizoglu:

> 2011/1/11 Stephan Witt <[email protected]>:
>> Am 11.01.2011 um 10:16 schrieb Murat Yildizoglu:
>> 
>>> Hi Stephan,
>>> 
>>> Thank you, I think we are seing the problem with this tool. When I
>>> select a word before calling the Thesaurus, look what is generated in
>>> the log:
>>> 
>>> 10:13:17:204ms: Sauvegarde
>>> automatique/Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/CutAndPaste.cpp(926):
>>> saveSelection: 'create'
>>> 10:13:45:768ms: (thesaurus-entry:
>>> ⇧F7)/Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/CutAndPaste.cpp(926):
>>> saveSelection: 'technical'
>>> /Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/CutAndPaste.cpp(926):
>>> saveSelection: 'scientific'
>>> 10:14:04:082ms: (thesaurus-entry: ⇧F7)
>>> 
>>> Of course there is no /Users/stephan folder on my Mac :-)
>> 
>> Yes, but that doesn't matter. It's the location where the source file is on 
>> my mac.
>> I hate it too, that the absolute path is exposed here, nevertheless I cannot 
>> change
>> that. (And replaced it with ".." in my mail - sorry for that pitfall.)
>> 
>> You didn't mention the line containing "thesaurus path:".
>> Is it missing? Or didn't you enable "Files used by LyX"?
>> 
>>> 
>>> 2011/1/11 Stephan Witt <[email protected]>:
>>>> Am 10.01.2011 um 23:35 schrieb Murat Yildizoglu:
>>>> 
>>>>> I have a stupid question:
>>>>> One of my preferred new features is the thesaurus. But, how can I use
>>>>> it? When I select a word in the editor and click on the corresponding
>>>>> Menu item  or Button, the thesaurus window opens but does not fetch
>>>>> the selected word.
>>>>> I imagine that this is not the correct way of using it. What may I
>>>>> doing wrong? (I use Mac OSX 10.6.6).
>>>> 
>>>> I tried the LyX-2.0.0beta3+qt4.dmg and it works for me.
>>>> 
>>>>> I have the impression that this was working as supposed in Beta2 - but
>>>>> I have overwritten it with the beta3, and cannot check it).
>>>> 
>>>> What you can do to verify the problem:
>>>> * restart LyX
>>>> * make the messages "console" visible - View -> View Messages
>>>> * enable "selected" status bar messages for "Files used by LyX"
>>>> * try the thesaurus
>>>> 
>>>> The output should contain something like that:
>>>> ../lyx-2.0.0beta3/src/Thesaurus.cpp(97): thesaurus path: 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(417): filtering on extension 
>>>> *.idx is requested.
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_de_AT_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_de_DE_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_en_US_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_es_ES_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_fr_FR_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_it_IT_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_pl_PL_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_pt_PT_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_ru_RU_v2.idx
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(417): filtering on extension 
>>>> *.dat is requested.
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_de_AT_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_de_DE_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_en_US_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_es_ES_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_fr_FR_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_it_IT_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_pl_PL_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_pt_PT_v2.dat
>>>> ../lyx-2.0.0beta3/src/support/FileName.cpp(424): found file 
>>>> /Volumes/LyX-2.0.0beta3/LyX.app/Contents/Resources/thes/th_ru_RU_v2.dat
>>>> 
>>>> If it's different perhaps you know what the problem is.
>>>> In case this isn't helpful, ask again and tell me what you see in the log 
>>>> window.
>>>> 
>>>> Regards,
>>>> Stephan
> 
> Hi Stephan,
> Here is what I get when I call the menu Tools/thesaurus:
> (My problem is not the absence of the Thesaurus, but the fact that it
> does not aur
> 
> 13:54:12:605ms: Ouverture du fichier d'aide [doc/Intro.lyx]...
> 13:54:17:690ms: (help-open
> Intro)/Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/Buffer.cpp(628): Log
> name calculated as:
> /Users/myildi/Tmp/lyx_tmpdir.ux7579/lyx_tmpbuf2/Intro.log
> /Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/Buffer.cpp(628): Log name
> calculated as: /Users/myildi/Tmp/lyx_tmpdir.ux7579/lyx_tmpbuf2/Intro.log
> 13:54:47:509ms: (thesaurus-entry:
> ⇧F7)/Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/support/FileName.cpp(417):
> filtering on extension *.idx is requested.
> /Users/stephan/cvs/lyx/lyx-2.0.0beta3/src/support/FileName.cpp(424):
> found file /Applications/LyX.app/Contents/Resources/thes/th_de_AT_v2.idx

Hi Murat,

ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
is not writable. Then the thesaurus (unfortunately) does not work properly.
Just like you describe it, the current word isn't placed into thesaurus.
But perhaps you have the same problem with your own documents. These docs
are writable files?

BTW: to compare the situation you have now with the past you may consider
to download the beta2 .dmg again and replace the beta3 by the beta2.

Regards,
Stephan

PS
What I don't understand: I don't see this "(thesaurus-entry: ⇧F7)" here.

Reply via email to