Hi Atsuhito,

Thank you for your reply.  I think the problem may be due to the
inconsistence between texworks and the new policy of Debian spelling
dictionaries and tools.

According to the new policy (see e.g.
http://dict-common.alioth.debian.org/dsdt-policy.html#installdir), the
new location of the installed hunspell/myspell dictionaries should be
  /usr/share/hunspell/
rather than the old location
  /usr/share/myspell/dicts/
Both myspell-en-us and hunspell-en-us packages have correct settings
in this sense except that hunspell-en-us no longer maintains symlinks
under
  /usr/share/myspell/dicts/
Please see http://packages.debian.org/sid/all/hunspell-en-us/filelist
and http://packages.debian.org/sid/all/myspell-en-us/filelist for
reference.  However, it seems that texworks does not know this and
still looks only the old location
  /usr/share/myspell/dicts/
I thinks that is why texworks has no spell check when hunspell-en-us
instead of myspell-en-us is installed.  Hope this is helpful for you
to reproduce and investigate the problem.

Thank you for your time.

Best,
HZ

On Mon, Jan 30, 2012 at 11:29 AM, Atsuhito Kohda
<ko...@pm.tokushima-u.ac.jp> wrote:
> Hi,
>
> On Sat, 28 Jan 2012 17:20:50 +0800, Hongzheng Wang wrote:
>
>> I'd like to provide more information.  If symbolic links are created
>> under /usr/share/myspell/dicts/ corresponding to the dictionary files
>> under /usr/share/hunspell/ , then the problem can be solved.
>
> On my Debian system, there are symbolic links under
> /usr/share/myspell/dicts/ already and it seems spel check
> works with texworks without any modification.
>
> ls -ld /usr/share/myspell/dicts/*
> -rw-r--r-- 1 root root 129761 2011-09-17 15:55 
> /usr/share/myspell/dicts/DicOOo.sxw
> lrwxrwxrwx 1 root root     24 2012-01-17 13:10 
> /usr/share/myspell/dicts/en-US.aff -> ../../hunspell/en_US.aff
> lrwxrwxrwx 1 root root     24 2012-01-17 13:10 
> /usr/share/myspell/dicts/en-US.dic -> ../../hunspell/en_US.dic
> lrwxrwxrwx 1 root root     24 2012-01-17 13:10 
> /usr/share/myspell/dicts/en_US.aff -> ../../hunspell/en_US.aff
> lrwxrwxrwx 1 root root     24 2012-01-17 13:10 
> /usr/share/myspell/dicts/en_US.dic -> ../../hunspell/en_US.dic
> lrwxrwxrwx 1 root root     28 2012-01-17 13:10 
> /usr/share/myspell/dicts/th_en_US_v2.dat -> ../../mythes/th_en_US_v2.dat
> lrwxrwxrwx 1 root root     28 2012-01-17 13:10 
> /usr/share/myspell/dicts/th_en_US_v2.idx -> ../../mythes/th_en_US_v2.idx
>
> If I misunderstand your problem please let me know.
>
> Thanks for your report.
> Best regards,                   2012-1-30(Mon)
>
> --
>  Debian Developer - much more I18N of Debian
>  Atsuhito Kohda <kohda AT debian.org>
>  Department of Math., Univ. of Tokushima



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to