Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Pavel Sanda
Stephan Witt wrote: I don't know how to get the missing version 2 thesauri. Your distro has the same problem and provides format 1 instead. But it is usable only for version 1 read capable thesaurus implementations. LyX cannot use them. Sorry, I've looked at the wrong place and stand

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Abdelrazak Younes
On 05/05/2011 07:36, Stephan Witt wrote: Am 04.05.2011 um 23:42 schrieb Pavel Sanda: Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... Stephan i have next problems. i see you coded some checking for the header of

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Stephan Witt
Am 05.05.2011 um 09:33 schrieb Abdelrazak Younes: On 05/05/2011 07:36, Stephan Witt wrote: Am 04.05.2011 um 23:42 schrieb Pavel Sanda: Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... Stephan i have next

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Joost Verburg
At the time I stepped in and added this dataDirectory relative to lyx's system and user directories there was only one path for hunspell available: the one in preferences. This one now is the first one visited. The idea to add the other paths was to incorporate some dictionary download into LyX

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Pavel Sanda
Joost Verburg wrote: At the time I stepped in and added this dataDirectory relative to lyx's system and user directories there was only one path for hunspell available: the one in preferences. This one now is the first one visited. The idea to add the other paths was to incorporate some

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Pavel Sanda
Stephan Witt wrote: > > I don't know how to get the missing version 2 thesauri. > > Your distro has the same problem and provides format 1 instead. > > But it is usable only for version 1 read capable thesaurus implementations. > > LyX cannot use them. > > Sorry, I've looked at the wrong place

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Abdelrazak Younes
On 05/05/2011 07:36, Stephan Witt wrote: Am 04.05.2011 um 23:42 schrieb Pavel Sanda: Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... Stephan i have next problems. i see you coded some checking for the header of

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Stephan Witt
Am 05.05.2011 um 09:33 schrieb Abdelrazak Younes: > On 05/05/2011 07:36, Stephan Witt wrote: >> Am 04.05.2011 um 23:42 schrieb Pavel Sanda: >> >>> Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... >>>

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Joost Verburg
At the time I stepped in and added this dataDirectory relative to lyx's system and user directories there was only one path for hunspell available: the one in preferences. This one now is the first one visited. The idea to add the other paths was to incorporate some dictionary download into LyX

Re: Dictionaries location for LyX on Linux

2011-05-05 Thread Pavel Sanda
Joost Verburg wrote: >> At the time I stepped in and added this dataDirectory relative to lyx's >> system >> and user directories there was only one path for hunspell available: the >> one >> in preferences. This one now is the first one visited. The idea to add the >> other paths was to

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Pavel Sanda
Stephan Witt wrote: dictionaries exactly there - bundled within LyX. Of course - like I did it for aspell - one easily can extend the lookup for the hunspell dictionaries and add another location to search for, a configure option is a good idea to make it easy to change for the linux

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Pavel Sanda
Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... Stephan i have next problems. i see you coded some checking for the header of thesauru files. you followed some specification or just guessed? while en thesaurus

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Stephan Witt
Am 04.05.2011 um 23:42 schrieb Pavel Sanda: Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... Stephan i have next problems. i see you coded some checking for the header of thesauru files. you followed some

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Stephan Witt
Am 05.05.2011 um 07:36 schrieb Stephan Witt: Am 04.05.2011 um 23:42 schrieb Pavel Sanda: Stephan Witt wrote: Sorry, I think this must be was a side effect of some change - at first the debug output had path names... ... so there seems to be difference in header. is it our bug or bug of

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Pavel Sanda
Stephan Witt wrote: > dictionaries exactly there - bundled within LyX. Of course - like I did > it for aspell - one easily can extend the lookup for the hunspell dictionaries > and add another location to search for, a configure option is a good idea to > make it easy to change for the linux

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Pavel Sanda
Stephan Witt wrote: > Sorry, I think this must be was a side effect of some change - at first the > debug > output had path names... Stephan i have next problems. i see you coded some checking for the header of thesauru files. you followed some specification or just guessed? while en thesaurus

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Stephan Witt
Am 04.05.2011 um 23:42 schrieb Pavel Sanda: > Stephan Witt wrote: >> Sorry, I think this must be was a side effect of some change - at first the >> debug >> output had path names... > > Stephan i have next problems. i see you coded some checking for the header of > thesauru files. > you

Re: Dictionaries location for LyX on Linux

2011-05-04 Thread Stephan Witt
Am 05.05.2011 um 07:36 schrieb Stephan Witt: > Am 04.05.2011 um 23:42 schrieb Pavel Sanda: > >> Stephan Witt wrote: >>> Sorry, I think this must be was a side effect of some change - at first the >>> debug >>> output had path names... ... >> so there seems to be difference in header. >> is it

Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
hi all, i have a question for people on various linux distros. does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro packagers). i just found that both spelling and also thesaurus dictionaries are not found

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Sven Hoexter
On Tue, May 03, 2011 at 08:23:01PM +0200, Pavel Sanda wrote: Hi, i have a question for people on various linux distros. does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro packagers). I've no idea about

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 8:23 PM, Pavel Sanda sa...@lyx.org wrote: i have a question for people on various linux distros.  does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro packagers). Aspell and Enchant are

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Liviu Andronic wrote: On Tue, May 3, 2011 at 8:23 PM, Pavel Sanda sa...@lyx.org wrote: i have a question for people on various linux distros.  does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Sven Hoexter wrote: I've no idea about hunspell spell checking, I would've to try a build with hunspell. I switched the package to enchant only some time ago. For the thesaurus the default location does not work. i dont see any debian specific patches for thesauri. how you make lyx find them.

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 9:00 PM, Pavel Sanda sa...@lyx.org wrote: theasurus works for you? Not for Enchant: LyX complains that no thesaurus available for English (or French). Nor for Aspell or Hunspell. I don't know if I need to install anything in particular. Liviu

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 9:07 PM, Sven Hoexter s...@timegate.de wrote: Not very elegant but something like  dpkg -L $(dpkg -l|grep hunspell-[a-z]*-|head -n1|awk '{print $2}') filters the meta-data and includes the relevant symlinks etc. Nice. Here's what I get: liv@liv-laptop:~$ dpkg -L $(dpkg

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Sven Hoexter
On Tue, May 03, 2011 at 09:03:39PM +0200, Pavel Sanda wrote: Sven Hoexter wrote: I've no idea about hunspell spell checking, I would've to try a build with hunspell. I switched the package to enchant only some time ago. For the thesaurus the default location does not work. i dont see any

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Sven Hoexter wrote: No, it's just a symlink /usr/share/lyx/thes - /usr/share/mythes i see, thats another solution. too late, but that could be in release notes... where are spellcheck and thesaurus dictionaries on your distros? (/usr/share/myspell on gentoo) we should use

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Stephan Witt
Am 03.05.2011 um 20:23 schrieb Pavel Sanda: hi all, i have a question for people on various linux distros. does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro packagers). i just found that both

Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
hi all, i have a question for people on various linux distros. does hunspell dictionaries and thesaurus working on your box automatically? (now i mean vanilla lyx, not packages already fixed by distro packagers). i just found that both spelling and also thesaurus dictionaries are not found

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Sven Hoexter
On Tue, May 03, 2011 at 08:23:01PM +0200, Pavel Sanda wrote: Hi, > i have a question for people on various linux distros. does hunspell > dictionaries and thesaurus working on your box automatically? (now i mean > vanilla lyx, not packages already fixed by distro packagers). I've no idea about

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 8:23 PM, Pavel Sanda wrote: > i have a question for people on various linux distros.  does hunspell > dictionaries and thesaurus working on your box automatically? (now i mean > vanilla lyx, not packages already fixed by distro packagers). > Aspell and

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Liviu Andronic wrote: > On Tue, May 3, 2011 at 8:23 PM, Pavel Sanda wrote: > > i have a question for people on various linux distros.  does hunspell > > dictionaries and thesaurus working on your box automatically? (now i mean > > vanilla lyx, not packages already fixed by distro

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Sven Hoexter wrote: > I've no idea about hunspell spell checking, I would've to try a build with > hunspell. I switched the package to enchant only some time ago. For the > thesaurus the default location does not work. i dont see any debian specific patches for thesauri. how you make lyx find

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 9:00 PM, Pavel Sanda wrote: > theasurus works for you? > Not for Enchant: LyX complains that no thesaurus available for English (or French). Nor for Aspell or Hunspell. I don't know if I need to install anything in particular. Liviu

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Liviu Andronic
On Tue, May 3, 2011 at 9:07 PM, Sven Hoexter wrote: > Not very elegant but something like >  dpkg -L $(dpkg -l|grep "hunspell-[a-z]*-"|head -n1|awk '{print $2}') > filters the meta-data and includes the relevant symlinks etc. > Nice. Here's what I get: liv@liv-laptop:~$ dpkg -L

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Sven Hoexter
On Tue, May 03, 2011 at 09:03:39PM +0200, Pavel Sanda wrote: > Sven Hoexter wrote: > > I've no idea about hunspell spell checking, I would've to try a build with > > hunspell. I switched the package to enchant only some time ago. For the > > thesaurus the default location does not work. > > i

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Pavel Sanda
Sven Hoexter wrote: > No, it's just a symlink /usr/share/lyx/thes -> /usr/share/mythes i see, thats another solution. too late, but that could be in release notes... > > > > where are spellcheck and thesaurus dictionaries on your distros? > > > > (/usr/share/myspell on gentoo) > > > > we should

Re: Dictionaries location for LyX on Linux

2011-05-03 Thread Stephan Witt
Am 03.05.2011 um 20:23 schrieb Pavel Sanda: > hi all, > > i have a question for people on various linux distros. does hunspell > dictionaries and thesaurus working on your box automatically? (now i mean > vanilla lyx, not packages already fixed by distro packagers). > > i just found that both