hello Stephan, the problem that I have is that Lyx not recognize hunspell, and 
the hunspell path in preferences is greyed.At the present moment lyx recognize 
aspell and enchant.Aspell say that no found dictionaries, but enchant work.
The only problem is that enchant not recognize my personal dictionary.
RegardsMarcelo 

     El Miércoles, 5 de noviembre, 2014 10:31:04, Stephan Witt 
<st.w...@gmx.net> escribió:
   

 Am 05.11.2014 um 14:10 schrieb Marcelo Acuña <marceloacu...@yahoo.com>:

> I get a partial solution.
> After several attempts by uninstalling and reinstalling all translators, 
> dictionaries and libraries and recompile lyx every time, now lyx recognize 
> enchant and aspell well, which did not have before. Aspell remain saying not 
> have dictionaries but enchant work ok.
> Now I have the problem that enchant not take my personalized dictionaries.
> I put my dictionaries in home/user but enchant deletes when I start the 
> spellchecker.
> Any idea?

Marcelo,

why don't you answer my proposal to set the path in preferences? Didn't it work?

As I've said already enchant has no good support in LyX.
I cannot help you with enchant trouble shooting.
Perhaps some other user can help you.

Stephan
 
> 
> 
> El Martes, 4 de noviembre, 2014 16:12:04, Stephan Witt <st.w...@gmx.net> 
> escribió:
> 
> 
> 
> Am 04.11.2014 um 17:27 schrieb Marcelo Acuña <marceloacu...@yahoo.com>:
> 
>> Stephan:  
>>  "Which spell checker has a spanish dictionary?"
>>  ispell, aspell, myspell
> 
> myspell is the the only usable package in your scenario. In fact it's 
> hunspell. The debian package puts the dictionaries into /usr/share/hunspell. 
> (At least the package contents here says so: 
> https://packages.debian.org/wheezy/all/myspell-es/filelist)
> 
> So you may enter the mentioned path into your preferences and see if it 
> works. 
> 
> Stephan
> 
>> 
>>  "LyX has to be compiled with hunspell support. That's enough."
>> 
>> Yes. I installed all lib and necesary modules for enchant and hunspell, when 
>> I run ./configure I get all the messages that say enchant and hunspell are 
>> ready.
>> 
>> Marcelo
>> 
>> El Lunes, 3 de noviembre, 2014 12:50:05, Stephan Witt <st.w...@gmx.net> 
>> escribió:
>> 
>> 
>> Am 03.11.2014 um 16:19 schrieb Marcelo Acuña <marceloacu...@yahoo.com>:
>> 
>> > The problem with hunspell is that debian no have spanish dictionary for 
>> > hunspell.
>> 
>> Then you have to grab them from other source.
>> 
>> Which spell checker has a spanish dictionary?
>> 
>> > Plus I installed hunspell but is not recongized by lyx 2.1.x.
>> 
>> LyX has to be compiled with hunspell support. That's enough.
>> And you has to point it to the dictionaries if you have put them
>> to a non-standard place (/usr/share/myspell is standard for LyX).
>> 
>> Stephan
>> 
>> 
>> > El Lunes, 3 de noviembre, 2014 10:23:05, Stephan Witt <st.w...@gmx.net> 
>> > escribió:
>> > 
>> > 
>> > Am 03.11.2014 um 05:41 schrieb John Coppens <j...@jcoppens.com>:
>> > 
>> > > On Sun, 2 Nov 2014 22:43:17 +0100
>> > > Stephan Witt <st.w...@gmx.net> wrote:
>> > > 
>> > >> Can you try the Hunspell package, please?
>> > >> Enchant support in LyX 2.1 is not very good.
>> > > 
>> > > I have exactly the same problem with hunspell. I compiled and installed 
>> > > it,
>> > > added en_US and es_ES dictionaries, and tested it on a couple of text
>> > > files from the console - no problem.
>> > > 
>> > > When I start it from LyX, I get the message "Spellchecker has no
>> > > dictionaries"
>> > 
>> > So, the dictionaries are not found.
>> > 
>> > The hunspell backend is better prepared for this situation, though.
>> > You can open the message pane (in View menu) and enable debug messages
>> > for "Files used by LyX". Then make sure you've enabled the Hunspell 
>> > checker in preferences. Now you can start the spell check and you'll see
>> > the files/directories LyX is looking for dictionaries in message pane.
>> > 
>> > > Strange: I configured Hunspell in LyX and did an strace. In the strace
>> > > output I found:
>> > > 
>> > > open("/usr/lib64/libhunspell-1.3.so.0", O_RDONLY|O_CLOEXEC) = 3
>> > > read(3, 
>> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\224\0\0\0\0\0\0"..., 
>> > > 832) = 832
>> > > fstat(3, {st_mode=S_IFREG|0755, st_size=985236, ...}) = 0
>> > > mmap(NULL, 2431520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
>> > > 0) = 0x7ff13f128000
>> > > mprotect(0x7ff13f176000, 2093056, PROT_NONE) = 0
>> > > mmap(0x7ff13f375000, 20480, PROT_READ|PROT_WRITE, 
>> > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d000) = 0x7ff13f375000
>> > > close(3)                                = 0
>> > > 
>> > > open("/usr/lib64/libaspell.so.15", O_RDONLY|O_CLOEXEC) = 3
>> > > read(3, 
>> > > "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\215\2\0\0\0\0\0"..., 
>> > > 832) = 832
>> > > fstat(3, {st_mode=S_IFREG|0755, st_size=750528, ...}) = 0
>> > > mmap(NULL, 2878072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
>> > > 0) = 0x7ff13ee68000
>> > > mprotect(0x7ff13ef19000, 2093056, PROT_NONE) = 0
>> > > mmap(0x7ff13f118000, 28672, PROT_READ|PROT_WRITE, 
>> > > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb0000) = 0x7ff13f118000
>> > > mmap(0x7ff13f11f000, 31352, PROT_READ|PROT_WRITE, 
>> > > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff13f11f000
>> > > close(3)                                = 0
>> > > 
>> > > Why is aspell called after hunspell?
>> > 
>> > You're using LyX with backend support for more than one spell checker.
>> > Every spell checker comes with it's own shared library.
>> > These open calls are made on program startup to resolve the library 
>> > function addresses.
>> > Your strace output doesn't indicate any function call...
>> > 
>> > > No other hunspell directory or file is opened after this. Several
>> > > aspell/enchant directories *are* opened. 
>> > 
>> > Where? What is an enchant directory?
>> > 
>> > 
>> > Stephan
>> > 
>> > 
>> 
>> 
> 
> 


   

Reply via email to