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 :-) Maybe this hard coded folder name could pose other problems elsewhere in LyX too. Murat 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 > > -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: [email protected] www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu ______________________________________________
