Op maandag 20 februari 2012 23:02:38 schreef Cor Blom:
> Op maandag 20 februari 2012 22:39:46 schreef Liviu Andronic:
> > On Mon, Feb 20, 2012 at 10:19 PM, Cor Blom <corne...@solcon.nl> wrote:
> > > The only way I can understand that is that lyx is looking in
> > > /usr/share/myspell for the dictionaries.
> > 
> > This is what seems to happen on Ubuntu Lucid. I have installed LyX
> > 2.0.3 with a clean profile (no manual hunspell path specified) and LyX
> > now automatically detects the hunspell dictionaries located in:
> > liv@liv-laptop:~$ ls /usr/share/myspell -l
> > total 8
> > drwxr-xr-x 2 root root 4096 2012-02-08 09:24 dicts
> > drwxr-xr-x 3 root root 4096 2010-04-29 17:45 infos
> > 
> > And I have no symlink specified here:
> > liv@liv-laptop:~$ ls /usr/share/lyx/dicts
> > ls: cannot access /usr/share/lyx/dicts: No such file or directory
> 
> on openSUSE I still have to tell lyx where the hunspell dicts can be found
> (either via lyxrc.dist or via symlinks). Will investigate later when I have
> some time. It is not really a problem as the old method was working fine.
> 
Ok, found the difference between specifying the hunspell dicts path explicitly 
and not. When the path is explicitly/manually given, that path is used (in my 
case /usr/share/myspell), but when the path is left empty (and I used a clean 
profile) /usr/share/myspell/dicts is used. That directory does not exist.

So when no manual hunspell path is specified, lyx on opensuse is looking in 
the wrong directory (adding "dicts" tot the path).

Cor


Reply via email to