Am 22.10.2014 um 09:22 schrieb Wolfgang Engelmann <[email protected]>:

> 
> Hello,
> I try to get the thesaurus working under LyX.
> My  main question is at the end between the ##########
> 
> The User guide tells me
> Unter Linux sind die üblichen Orte (abhängig von Ihrer Distribution und der 
> Art, wie Sie die Wörterbücher installiert haben): /usr/share/mythes/, 
> /usr/share/myspell/dicts/, /usr⁄share⁄ooo⁄thesaurus/, 
> ~/.config⁄libreoffice⁄<version>⁄user/ o. ä.
> 
> we@Wolfgang:
> /usr/share/mythes$ ls
> th_de_DE_v2.dat  th_de_DE_v2.idx  th_en_US_v2.dat  th_en_US_v2.idx
> 
> /usr/share/myspell/dicts/
> de_BE.aff  de-LU.dic       hyph_de_CH.dic  hyph_id_ID.dic
> de-BE.aff  en_GB.aff       hyph_de_DE.dic  hyph_is_IS.dic
> de_BE.dic  en-GB.aff       hyph_de_LI.dic  hyph_nl_NL.dic
> de-BE.dic  en_GB.dic       hyph_de_LU.dic  hyph_pt_BR.dic
> de_DE.aff  en-GB.dic       hyph_el_GR.dic  hyph_pt_PT.dic
> de-DE.aff  en_ZA.aff       hyph_en_CA.dic  hyph_sk_SK.dic
> de_DE.dic  en_ZA.dic       hyph_en_GB.dic  hyph_uk_UA.dic
> de-DE.dic  hyph_cs_CZ.dic  hyph_en_US.dic  th_de_DE_v2.dat
> de_LU.aff  hyph_da_DK.dic  hyph_es_ES.dic  th_de_DE_v2.idx
> de-LU.aff  hyph_de_AT.dic  hyph_fi_FI.dic  th_en_US_v2.dat
> de_LU.dic  hyph_de_BE.dic  hyph_ga_IE.dic  th_en_US_v2.idx
> 
> /usr⁄share⁄ooo⁄thesaurus/
> not found (although I do have libre office)
> 
> same with 
> ~/.config⁄libreoffice
> 
> a find command gives me:
> 
> file:///usr/lib/kde4/calligra_textediting_thesaurus.so
> file:///usr/share/lyx/images/thesaurus-entry.png
> file:///usr/share/kde4/services/calligra_textediting_thesaurus.desktop
> file:///usr/share/lyx/images/oxygen/thesaurus-entry.png
> file:///usr/share/lyx/images/classic/thesaurus-entry.png
> file:///usr/share/locale/de/LC_MESSAGES/thesaurus_tool.mo
> file:///usr/share/kde4/apps/calligra/thesaurus
> file:///usr/share/kde4/services/searchproviders/thesaurus.desktop
> file:///usr/share/kde4/services/searchproviders/hyperdictionary_thesaurus.desktop
> file:///usr/share/kde4/apps/calligra/thesaurus/thesaurus.txt
> file:///usr/share/icons/oxygen/128x128/apps/kthesaurus.png
> file:///usr/share/icons/oxygen/22x22/apps/kthesaurus.png
> file:///usr/share/icons/oxygen/48x48/apps/kthesaurus.png
> file:///usr/share/icons/oxygen/16x16/apps/kthesaurus.png
> file:///usr/share/icons/oxygen/32x32/apps/kthesaurus.png
> file:///usr/share/icons/oxygen/64x64/apps/kthesaurus.png
> file:///home/we/.kde/share/apps/RecentDocuments/kthesaurus.png.desktop
> file:///usr/lib/libreoffice/share/config/soffice.cfg/cui/ui/thesaurus.ui
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/Thesaurus.o
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/Thesaurus.h
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/Thesaurus.cpp
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/lib/images/thesaurus-entry.png
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/.deps/Thesaurus.Po
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/lib/images/oxygen/thesaurus-entry.png
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/lib/images/classic/thesaurus-entry.png
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/GuiThesaurus.o
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/moc_GuiThesaurus.cpp
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/ui_ThesaurusUi.h
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/GuiThesaurus.cpp
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/GuiThesaurus.h
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/ui/ThesaurusUi.ui
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/frontends/qt4/.deps/GuiThesaurus.Po
> 
> I am working with
> LyX Version 2.1.2
> and it looks like it is not there whereas it was in lyx-2.0.6 (see 
> file:///home/wolfgang-o/.local/share/Trash/files/lyx-2.0.6/src/Thesaurus.o
> etc
> #########################################################################
> I am a bit confused and would like to know which path of which thesaurus 
> file(s) -english- I have to include in the Lyx>preferences>paths>thesaurus 
> dictionaries
> and where I can find it in my present 2.1.2 version of LyX
> ##########################################################################

The files LyX is looking for are the .idx and .dat files for the given language
in the directory you've entered in "LyX>Preferences>Paths>Thesaurus 
dictionaries".
Both path's "/usr/share/mythes" and "/usr/share/myspell/dicts" should work -
if the containing files "th_en_US_v2.dat" resp. "th_en_US_v2.idx" are the same.

With your directory contents you should have thesauri for US english and german.

Regards,
Stephan

N.B. LyX on Linux doesn't come with spell checker dictionaries and thesauri 
bundled.
They always have to be provided by language packs or manually on this platform.
  • thesaurus Wolfgang Engelmann
    • Re: thesaurus Stephan Witt

Reply via email to